Re:F# Pipeline Operator in JavaScript with Babel
by bjoli on Wednesday February 05, 2020 @02:52AM
(#22244828)
Yeah! As a hobbyI much around with scheme (mostly), Smalltalk (a couple of times a year) and factor (maintaining some old tools I wrote in it).
The result is that if I whine, I whine about the choice of language, not about how a particular part of a language sucks. Extensibility like that should be built in, and then probably mostly discouraged. If you really need to scratch an itch, you will be able to do so without resorting to what usually ends up as ugly, non-composable hacks.
Re:F# Pipeline Operator in JavaScript with Babel
by TomMarius on Tuesday February 04, 2020 @01:05PM
(#22238798)
It's worth saying that mostly the same companies are building WebAssembly as a solution to this problem.
Ironically, JavaScript has the extensibility mechanisms and object-oriented features inspired by Smalltalk that could allow for pretty much the same thing. However, most of the community doesn't seem to even realize that this is a possibility.