2 comments

  • zahrevsky 2 days ago

    > Most Haskell tutorials on the web seem to take a language-reference-manual approach to teaching. They show you the syntax of the language, a few language constructs, and then have you construct a few simple functions at the interactive prompt. The “hard stuff” of how to write a functioning, useful program is left to the end, or sometimes omitted entirely.

    I feel like this is such an issue with lots of languages. Learning your second, third, and so on language is in some sense harder, because “Getting started” tutorials spend too much time on simple concepts, and the hard part of “How do I write X (or what do I do instead)” is usually missing.

    It recently occurred to me, that you can find exercises for almost any popular language, and I feel like it is the solution to the problem.

    > This tutorial takes a different tack. You’ll start off with command-line arguments and parsing, and progress to writing a fully-functional Scheme interpreter that implements a good-sized subset of R5RS Scheme. Along the way, you’ll learn Haskell’s I/O, mutable state, dynamic typing, error handling, and parsing features. By the time you finish, you should be fairly fluent in both Haskell and Scheme.

    There's not enough tutorials like that in the world

  • 2 days ago
    [deleted]