As someone who’s never really had to use JS for anything, man is it a messy language. I use Python mostly which has its issues, but if at least has the capability of being pretty robust if you care.
I do wish that Java wasn’t the zeitgeist and the scheme style language was used instead…
JS has moved in the functional language direction for at least the last decade modern JS is more scheme-like than Java-like tbh. the class abstraction doesn’t even work the same way in JS than it does in say java or C#
Oh I know, it’s just the syntax part that would be nice. Lisp syntax is great for highly functional stuff whereas it feels kinda forced in JS.
Like I said I mostly use Python, so “functional” to me is a comprehension statement (which I think is great syntax), but that type of thing just flows better with syntax specifically designed for it.
As someone who’s never really had to use JS for anything, man is it a messy language. I use Python mostly which has its issues, but if at least has the capability of being pretty robust if you care.
I do wish that Java wasn’t the zeitgeist and the scheme style language was used instead…
JS has moved in the functional language direction for at least the last decade modern JS is more scheme-like than Java-like tbh. the class abstraction doesn’t even work the same way in JS than it does in say java or C#
Oh I know, it’s just the syntax part that would be nice. Lisp syntax is great for highly functional stuff whereas it feels kinda forced in JS.
Like I said I mostly use Python, so “functional” to me is a comprehension statement (which I think is great syntax), but that type of thing just flows better with syntax specifically designed for it.