Hacker News new | ask | show | jobs
by PricelessValue 3045 days ago
So true. Haskell is great to learn about functional programming and programming language theory in general. But to get things done, it's just not as practical.
1 comments

it's pretty practical if you're building line-of-business apps, web servers, or other things you would use java for.
Yes, miss one character in a thing that looks like HTML but is actually a gigantic function call, get an incomprehensible failure message about how the meta-template macro expansion has an error.
macros/templates are usually confined to borders, databases, routes. not the business logic. Lisps are more susceptible to that.
Not even talking about business logic, just talking about page layout.

https://www.yesodweb.com

Yes, c# and Java do codegen for you too, in the same way. This is how templating in static languages work.