4 ms·
A Collection of Exercises for Learning Erlang (Or Any Other Language)
- parley 15y agoPersonally, I've always liked creating a simple web server as a nice step in learning a language/stdlib. Some concurrency, some I/O, some string parsing, etc. Obviously it's not the first thing one does, but I find it a nice package to put together that actually achieves something real.
- diab0lic 15y agoThats a fantastic idea for a decent sized project that will expose you to many aspects of the language and tools commonly used with the language. I'm going to include that one in the list.
- minikomi 15y agoI've been wanting to do this for a while (and should do it myself, i know) but if you had an example to use as reference I'd greatly appreciate it.
- signa11 15y agocouple of days back i started with writing a TFTP client+server program in erlang. the protocol is 'trivial' enough (to not get bogged down in complicated fsm's etc.) and still provides sufficient 'meat' to exercise core language features etc. it is still going on, but is definitely great fun...
- gtani 15y agoThis could be a long list: SPOJ, topCoder, ICFP, google and Facebook etc comps, Language specific: 4clojure.org, blow your mind etc http://www.haskell.org/haskellwiki/Blow_your_mind http://www.haskell.org/haskellwiki/Blow_your_mind
- SkyMarshal 15y agoYou could include Project Euler in that list as well. http://projecteuler.net/ http://projecteuler.net/
- onetimepad 15y agoThe really tough part of picking a new language is learning the idioms. If I handed you a book describing the French grammar and an English to French dictionary and told you to write some short stories, you might be able to put together something parseable by a Frenchman but you wouldn't be writing French. I don't pretend to have a good answer except reading and modifying other people's code seems to help.
- lelele 15y agoThis is my favorite: http://www.knowing.net/index.php/2006/06/16/15-exercises-to-know-a-programming-language-part-1/ http://www.knowing.net/index.php/2006/06/16/15-exercises-to-...