News for hackers. Stuff that matters.
Re:Scheme in Scheme on WASM in the Browser by lamerose on Friday December 15, 2023 @05:05PM (#38659394)
Not a fan of Python, but it isn't too bad pedagogically speaking. JS on the other hand... I hope WASM can one day kill it, leave it obsolete, and have it forcefully deprecated like Flash.
Re:Scheme in Scheme on WASM in the Browser by d-lisp on Monday December 18, 2023 @05:02AM (#38680800)
Can you explain what you find bad about js ? I use typescript and I am honestly finding it awesome; and I am the type of person that coded in lisp for a long time.

We have lambdas, flexible structures, FP methods (map, filter, reduce...), can express recursion easily, we have ternary operators, array and object destructuring (const {a,b,...rest}=init()). We have a nice way to deal with asynchronicity. We have some kind of class system. And thanks to typescript we have a really great and expressive type system that's very cool and eases the job a lot.