4 ms·
This is actually pretty helpful, in that my approach to programming in a new language is "Try to do X with the new language, and if I can't, read the docs until
by gabebw 15y ago
This is actually pretty helpful, in that my approach to programming in a new language is "Try to do X with the new language, and if I can't, read the docs until I can." That is, I try to actually DO something, and gather incidental knowledge along the way.
This is a really good post on how to do something useful with Haskell (plus it has IO, which is nice). One of the nice things about this approach is that the incidental knowledge can be useful, e.g. I didn't know about the "-e" flag to GHC.
- DasIch 15y agoMost of these things are basically just aliases, partial applications and/or compositions. It shows off how powerful Haskell is and it is impressive but that's pretty much it. I'd much rather see how you tweet something from Haskell, parse a configuration file with a simple syntax or something else along those lines.
- dons 15y agoThat's OK! * http://hackage.haskell.org/package/twidge http://hackage.haskell.org/package/twidge * http://hackage.haskell.org/package/ConfigFile http://hackage.haskell.org/package/ConfigFile * http://hackage.haskell.org/package/EEConfig http://hackage.haskell.org/package/EEConfig * http://hackage.haskell.org/package/dyre http://hackage.haskell.org/package/dyre