Re:Programming Languages Going Above and Beyond
by c_crank on Thursday June 29, 2023 @03:00PM
(#36525161)
JavaScript has never been and probably never will achieve any sort of purity due to the design decisions made in its debut. Frameworks can only paper over that so much.
[ Parent
| on HN ]
Re:Programming Languages Going Above and Beyond
by valenterry on Thursday June 29, 2023 @03:25PM
(#36525500)
I mean, there are fp-ts and ts-effect. Sure, internally they do nasty things, but at least as a user I think it's possible to write pf or at least mostly pf code. (without commenting on whether that is a good idea or not)
Re:Programming Languages Going Above and Beyond
by eyelidlessness on Thursday June 29, 2023 @11:34PM
(#36530221)
You can actually type JS to be incredibly more strict than TS does if you have the motivation. It still won’t be impossible to reach runtime errors, but it can be very close to “you really have to try and mean it”.