On Tuesday, October 8, 2013 10:19:07 PM UTC+3, Laurent PETIT wrote: > > > > > 2013/10/8 Greg Bowyer <gbo...@fastmail.co.uk <javascript:>> > >> js> Array(16).join("wat" - 1) + " Batman!" >> "NaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaNNaN Batman!" >> js> >> >> > One of the many reasons we're using Clojurescript and not raw javascript > :-) >
ClojureScript is an improvement, no doubt about that! But javascript idiosyncrasies does leak through on occasion: http://cljsfiddle.net/fiddle/jonase.batman > > >> On Tuesday, October 8, 2013 6:07:47 AM UTC-7, Laurent PETIT wrote: >>> >>> 2013/10/8 Robert Day <rober...@gmail.com> >>> >>> >>>> On 08/10/13 13:49, Nando Breiter wrote: >>>> >>>>> >>>>> >>>>> >>>>> If you try and add 10 to "Hello" in a typed language, you get an >>>>> error. If you try to do the same in a dynamic language, you get an error. >>>>> >>>> >>>> Not necessarily... >>>> >>>> $ perl >>>> print 10 + "Hello", "\n" >>>> >>>> >>>> ^D >>>> 10 >>>> $ >>>> >>>> >>> Then don't use Perl :-p >>> >> -- >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clo...@googlegroups.com<javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+u...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.