News for hackers. Stuff that matters.
Re:For modern development, Javascript is just something you ... by Touche on Tuesday October 29, 2013 @11:05AM (#6634638)
Better at being both a functional and object oriented language?
Re:For modern development, Javascript is just something you ... by dragonwriter on Tuesday October 29, 2013 @12:23PM (#6635338)
> Better at being both a functional and object oriented language?

Well that's both subjective and ambiguous (subjective in the evaluation of quality in each area, and ambiguous because the meaning of "better at a and b" can be interpreted in a number of ways, such as max by min(a,b), max by average(a,b), etc.

But, given that, I'd say that several of the listed languages are better at "being both a functional and object oriented language" than JavaScript, including Scala and Ruby.

Re:For modern development, Javascript is just something you ... by Touche on Tuesday October 29, 2013 @12:35PM (#6635472)
So where's all the functional Ruby code? I've never seen any.
Re:For modern development, Javascript is just something you ... by dragonwriter on Tuesday October 29, 2013 @01:31PM (#6635940)
> So where's all the functional Ruby code?

All over. Various functional approaches are basic core Ruby programming techniques.

Its not a great FP language because it lacks functional purity (like most Lisps, and, more to the immediate point, like JS) and the main Ruby implementations lack TCO (as, again, do many Lisps and, again, JS.)

But there's certainly a lot Ruby code using functional style.

Re:For modern development, Javascript is just something you ... by lucian1900 on Tuesday October 29, 2013 @11:20AM (#6634741)
Better than JavaScript anyway, pretty much all of them.
Re:For modern development, Javascript is just something you ... by Touche on Tuesday October 29, 2013 @12:09PM (#6635207)
I didn't ask which are "better", I asked which are better at being both functional and object oriented at the same time. I can accept Lua, but the others I really need a good argument for.
Re:For modern development, Javascript is just something you ... by lucian1900 on Thursday October 31, 2013 @05:26AM (#6645877)
They are all better at both than JavaScript. There is no feature that JavaScript has that the other languages don't, often in very similar shapes. The reverse is mostly not true.