Re:JavaScript Isn't Scheme (2013)
by edem on Friday April 27, 2018 @02:10AM
(#16938756)
I'd suggest using Kotlin then. It has tail call optimization, and nice functional programming constructs. It can also be compiled to javascript: http://the-cogitator.com/2018/04/25/going-beyond-android-kot...
[ Parent
| on HN ]
Re:JavaScript Isn't Scheme (2013)
by chriswarbo on Friday April 27, 2018 @07:16AM
(#16939856)
> I'd suggest using Kotlin then
I gave the caveat of "whenever I'm using JS" since I only use JS when I have to, and that's not very often (as I say, I don't have much love for the language).
I think it's a bit inappropriate to throw out random suggestions like Kotlin when the discussion is about Javascript and Scheme. I spend most of my time in Haskell, which (like seemingly every language these days) can also be compiled to JS, and I'd wager is 'even more functional' than Kotlin. I didn't mention it because the discussion was about JS and Scheme ;)