Re:All Programming Is Web Programming (2009)
by 0x737368 on Monday June 14, 2021 @05:35AM
(#27500788)
What's wrong with JS syntax? Seems pretty modern and adequate for what it needs to do
Re:All Programming Is Web Programming (2009)
by PedroBatista on Monday June 14, 2021 @05:45AM
(#27500841)
Maybe what it needed to do, but not what people do with it now. There are entirely “enterprise” systems coded in that thing. It’s an human problem, original JS syntax was fine imho.
Re:All Programming Is Web Programming (2009)
by 0x737368 on Monday June 14, 2021 @06:06AM
(#27500941)
Personally, I think that the original JS syntax is absolutely horrendous and is in no small part responsible for the bad reputation JS is still shaking off. Modern JS in comparison is an absolute dream.
Re:All Programming Is Web Programming (2009)
by elevenoh on Monday June 14, 2021 @06:43AM
(#27501119)
I don't think js was ever all that bad, little ambitious however. But modern JS now checks off nearly all my boxes.
Re:All Programming Is Web Programming (2009)
by smitty1e on Monday June 14, 2021 @11:02AM
(#27503410)
I find in hard to know where things begin and where I am executing in a JS codebase/library.
This may have more to do with the async nature thereof than the syntax specifics.
Re:All Programming Is Web Programming (2009)
by NtrllyIntrstd on Monday June 14, 2021 @07:02AM
(#27501209)
I still find it unfortunate that the guy who invented JS originally wanted to make a lisp but was told to make it more like the C family. Would've been interesting to have lisp run the web. A lot of things might be different today.
JavaScript has pride of place in browsers for now. But as WebAssembly gains traction, I look forward to avoiding the ungainly JS syntax in favor of pretty much anything else.