4 ms·
> If you get it wrong the compiler will complain at you. With an incomprehensible error message. Beginners will of course get it wrong. I would rather put be
by platz 8y ago
> If you get it wrong the compiler will complain at you.
With an incomprehensible error message. Beginners will of course get it wrong.
I would rather put beginners on a path that makes them feel like the compiler is helping them, one of the core strengths of Haskell, rather than it just telling them No.
- weavie 8y agoI get your point. I never found Servant a huge problem - it was the framework I started learning Haskell with and I found it was a really good fit. But - I can see others may not get it at first. It is quite different from other frameworks. Also, there are other areas where Servant gets complicated, getting and setting header values, cookies, returning redirects etc.. My original point was don't get bogged down in complicated stuff. If someone just doesn't get Servant, there is always Scotty, which is much more straightforward. Servant is not a reason to feel intimidated by Haskell.