Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I was playing with Clojure this last weekend, and so far have enjoyed it. I ran through a dozen or so project euler problems, but am now looking for something that takes longer than 10 lines of code to complete.

HN, what other projects do you do to familiarize yourself with a new language?



I found going through "Introduction to Algorithms" and porting the algorithms in the book to <new language> a great way to get used to a new language.


Okasaki's _Purely Functional Data Structures_ can be a good choice, too - depends on the language.


Write a game. ASCII Tetris or Pac Man or Space Invaders would be fine. Whether that is a simple afternoon activity or a somewhat epic undertaking might tell you something about the language.


I've been writing a couple of small games with Clojure + Swing as a way of learning Clojure, and it's been very smooth so far. I haven't even touched concurrency or macros yet but the basic language feels even more consistent and logical than Ruby.


Read some of the Clojure code, both in main and in contrib.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: