Chapter 6Yesod

Yesod may be one of the fastest web frameworks in existence,[38] but that’s not the only reason it’s worth learning. Yesod is written in Haskell, a language that is as expressive as many dynamic languages but which has a static type system that makes Java’s or C++’s look like a toy. This rich type system is used over and over again in Yesod to create safe code that is resilient to programmer error and hostile attack.

If you’ve heard of Haskell before, you might think that a web framework in Haskell would be like the game Magic the Gathering,[39] full of complexity and arcane rules that take many hours to master. Don’t let the mystique intimidate you. Yesod is Set,[40] a fast-paced card game that is inspired by weighty concepts ...

Get Seven Web Frameworks in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.