4 ms·
Haskell code for that looks quite nice as well - however, it's less about a language per se but rather about availability of libraries and how mature / well-bui
by PeterisP 9y ago
Haskell code for that looks quite nice as well - however, it's less about a language per se but rather about availability of libraries and how mature / well-built their API is.
For quite a few FP languages the ecosystem is there and you can do all these problem domains nicely, they just tend to be skipped in tutorials as they rely on non-core third party libraries (sometimes with multiple nice but very different alternatives). Perhaps a "batteries-included" stance of Ruby(+Rails) and Python would simplify that, but it's more of a political issue.
- oblio 9y ago> It's less about a language per se but rather about availability of libraries and how mature / well-built their API is. In the real world, those matter just as much as the language. They usually matter even more :) Look at what Rust is doing - I think at least half of their effort is spent towards building up a large collection of high quality, well maintained (i.e. feature requests implemented, bugs fixed quickly) and well documented libraries.
- vbezhenar 9y agoI agree. For me what matters most is language implementation (compiler/VM quality, GC quality, etc) and important libraries (and whether they are good). Language itself is not very important. I can write boilerplate, but I can't write GC implementation. So while I don't like Go language, for example, its implementation is very good and I can live with it.
- perlgeek 9y ago> Haskell code for that looks quite nice as well - however, it's less about a language per se but rather about availability of libraries and how mature / well-built their API is. That might be the case, but you simply never see tutorials for writing a CRUD-like web application in Haskell. Maybe they exist, but they don't seem to show up very often here or on reddit or whatever.
- dllthomas 9y agohttps://www.yesodweb.com/book https://www.yesodweb.com/book http://haskell-servant.readthedocs.io/en/stable/tutorial/ http://haskell-servant.readthedocs.io/en/stable/tutorial/ http://happstack.com/docs/crashcourse/index.html http://happstack.com/docs/crashcourse/index.html