Re:Structure and Interpretation of Computer Programs – JavaS...
by b0rsuk on Wednesday December 18, 2019 @01:54PM
(#21827983)
I do enjoy "Professor Frisby's Mostly Adequate Guide to Functional Programming", which uses JS examples extensively. Despite the fact my last job was mostly JS, I had to look up functions all the time and stretch my brain muscles. Modern JS is different than "keep it the same" JS. But... converting a book to a different programming language rubs me the wrong way. I miss an opportunity to see another language, too. It's not even some very arcane language. If it really was a knee-jerk reaction, I'd have said:
"Learn less edition", or "2D remake"
So please stop with that strawman.
Re:Structure and Interpretation of Computer Programs – JavaS...
by ahuth on Wednesday December 18, 2019 @04:13PM
(#21829543)
Adapting a book for another language doesn't really make you miss an opportunity, though, right? The original is still freely available for you to look at and see another language.
Re:Structure and Interpretation of Computer Programs – JavaS...
by Buttons840 on Wednesday December 18, 2019 @02:01PM
(#21828048)
It's not an attempt to get internet points. It's an expression of frustration that one of the most important platforms of our time has first class support for only one language, and the only reason that language is used is because of its monopoly on the platform. Were it no for that monopoly it would rarely be used.
I'm just glad JS is as good as it is, considering it didn't have to be good. It could have been even worse and still would have succeeded due to its monopoly.
Re:Structure and Interpretation of Computer Programs – JavaS...
by TurkishPoptart on Wednesday December 18, 2019 @02:07PM
(#21828125)
But WebAssembly was just made a new standard by W3, which, correct me if I'm wrong, will allow browsers to natively support literally any other language the developers choose.
Re:Structure and Interpretation of Computer Programs – JavaS...
by Buttons840 on Wednesday December 18, 2019 @02:18PM
(#21828244)
Yes, but only if those languages do not interact with the platform (the platform being "webpages"). DOM manipulation requires JavaScript. So, it is still the case that JavaScript is the only language with first class support.
Re:Structure and Interpretation of Computer Programs – JavaS...
by mpfundstein on Wednesday December 18, 2019 @04:57PM
(#21829898)
Afaik when I write react , 100% of real(!) dom manipulation is already abstracted away.
So why wouldn’t that work with webAsm?
It adds zero value to any discussion. It's nothing more than a desperate attempt to gain some internet points.
It's a popular language and it has flaws, but that doesn't automatically make it worthy of the amount of hate it receives here. This type of discussion has more in common with /r/iamverysmart than it does with valuable discourse that HN used to be known for.