Re:Comparing JavaScript, CoffeeScript & ClojureScript
by swannodette on Thursday January 26, 2012 @03:45PM
(#3515911)
Glad you think so. Thanks stevelosh. I avoided taking the extra step since I was writing for people of varying levels of familiarity with JavaScript, CoffeeScript, and ClojureScript.
But perhaps I'm a bit old school - I explained something with a minor flaw to leave something for the reader to solve :)
Re:Comparing JavaScript, CoffeeScript & ClojureScript
by iamgilesbowkett on Thursday January 26, 2012 @05:51PM
(#3516335)
As a busy person who finds your ideas interesting but has no time for riddles, I would really appreciate it if you could at least drop some hints here.
When you end up writing switches on types in your protocol implementation ... it fails to demonstrate any particular advantage over switching on types in a simple function.