5 ms·
I mean, you could use jq[0], if dynamically typed functional languages are your thing. It's probably not a bad idea, actually, since jq is so simple... (It's
by cryptonector 9y ago
I mean, you could use jq[0], if dynamically typed functional languages are your thing. It's probably not a bad idea, actually, since jq is so simple... (It's also quite accessible in terms of implementation, so it's probably a good platform for an entry-level CS language implementation course, but then, too, homoiconic languages such as LISP are even more accessible for such courses. Also, jq is fundamentally limited in that it does not and cannot have closures of indefinite extent, nor functions as first-class types whose values can be stored in objects of any kind -- so it's not really appropriate beyond an entry-level class.)
But I do think the Haskell family of languages is fantastic, and something to teach more, at least to math and CS majors.
[0] https://stedolan.github.io/jq https://stedolan.github.io/jq
- sitkack 9y agoI think implementing a Lisp in Lua would be a great problem to learn functional programming with.