News for hackers. Stuff that matters.
Re:Luna – Visual and textual functional programming language by the_cat_kittles on Thursday June 22, 2017 @04:34PM (#14615129)
in what way is javascript a non language? i write c, python and javascript- i dont see how one is any more of a language than another? you are baselessly pretentious
Re:Luna – Visual and textual functional programming language by wdanilo on Thursday June 22, 2017 @04:50PM (#14615253)
the_cat_kittles I did not wanted to hurt your feelings. Of course it is a language. By saying it is not I just wanted to express my strong anty-JS feelings, but they are of course very subjective :)
[dead]
Re:Luna – Visual and textual functional programming language by loup-vaillant on Thursday June 22, 2017 @06:34PM (#14615835)
If I had to guess, I would point out that JavaScript was originally hacked out in 10 days, and features a number of unforgivable flaws, such as a non-transitive equality operator, weird implicit conversions, or just plain trying to make sense of quite obviously nonsensical operations.

To someone used to the mathematical rigour of typed functional languages, this is not even worth looking at. As far as I know, the success of JavaScript had nothing to do with its qualities as a language. It was timing and market forces. It was there, so people used it.

Now don't get me wrong, I don't want to disparage Brendan Eich. I couln't do a tenth of what he did in 10 days. It's just that you get what you pay for. They should have taken the time to fix JavaScript's flaws instead of marketing the hell out of it right away. (Or should have they? Maybe JavaScript would have failed if released a few months later? Damned market. Damned path dependence.)

Re:Luna – Visual and textual functional programming language by Sacho on Friday June 23, 2017 @01:21AM (#14617179)
No one is using the language Eich wrote "in 10 days" anymore, so that's a ridiculous comparison to make. You're dismissing all the effort TC39 has put into improving the language for many years.
Re:Luna – Visual and textual functional programming language by loup-vaillant on Friday June 23, 2017 @05:23AM (#14617931)
The initial design severely limits the improvements you talk about. Sure, you can add better stuff like the === operator, but the crappy old == is still there. However stellar a work TC39 has done, they cannot fix the language without breaking everything.
Re:Luna – Visual and textual functional programming language by zamalek on Friday June 23, 2017 @01:31AM (#14617207)
People are, how many times does a Javascript coder type `===` in one day?
Re:Luna – Visual and textual functional programming language by nv-vn on Thursday June 22, 2017 @08:05PM (#14616233)
I don't think anyone ever expected it to become a success, let alone a language used on everything from text editors to terminal emulators to embedded devices.
Re:Luna – Visual and textual functional programming language by the_cat_kittles on Thursday June 22, 2017 @07:03PM (#14615972)
"To someone used to the mathematical rigour of typed functional languages,

this is patently false, just check out brian lonsdorf

"As far as I know, the success of JavaScript had nothing to do with its qualities as a language. It was timing and market forces. It was there, so people used it."

i would wager this is largely true