<div dir="ltr"><div><div>An historical perspective: over the years there have been a number of attempts to add more traditional OO and classes to Erlang, and while many have worked they were never very long-lived. I think that that style of programming just doesn't fit well together with Erlang. There are a number of languages which mix functional and OO, for example scala, but personally I am sceptical to that. To really reap the benefits of functional programming you have to know, I mean really KNOW, that it won't be compromised somewhere else so that you can trust. If you can't trust it then what's the point, I might as while write C in a functional style.<br><br></div>The bigger and more complex and more long-lived your application becomes the more important this is. It mightn't always feel the best but in the long-run and when things scale the better it becomes. And, yes of course, you can have programming rules but I also know that breaking a rule this little one time isn't going hurt anyone. Etc.<br><br></div>Robert<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 February 2015 at 16:06, Imants Cekusins <span dir="ltr"><<a href="mailto:imantc@gmail.com" target="_blank">imantc@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">another thought:<br>
<br>
let's take JavaScript.<br>
<br>
Originally it was designed to be be used in certain ways. And what<br>
people are doing with Javascript now? Various frameworks. Run it on<br>
server, create classes, call plain vanilla funs, MVVM, templates. It<br>
looks like Javascript, but is not vanilla Js anymore..<br>
<br>
<br>
So we add a class flavour to otp. Big deal. It's still Erlang OTP.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>