Ask HN: Learning about Type Systems
Hi,
I've been a Python / Javascript programmer for a long time and just last week started learning OCaml after listening to a podcast. OCaml has been great and I'm really loving the strong typing and bugs the compiler spews out before runtime. On HN I've repeatedly read people debating about Type systems and comparing them in different languages. I would love to advance my knowledge on the area! Are there any beginner books on Type Systems that helped you in the grokking the subject?
Thanks!
7 comments
[ 3.8 ms ] story [ 27.9 ms ] threadI guess you just have to try out different approaches (and mixed ones, Dart and ActionScript come to mind) and gradually understand benefits of each way.
http://programmers.stackexchange.com/questions/16/do-dynamic...
Check out Software Foundations. It's a pretty gentle bridge from programming into the theory side. You do programming exercises in Coq. If you already know basic OCaml, the programming side of Coq will seem very familiar. I can't recommend SF highly enough.
gkuan's recommendations are good regular books. They might be a little more than you're looking for.
http://www.cis.upenn.edu/~bcpierce/tapl/