I believe that response is an example of what psychiatrists term "deflection"
The point is that the kids programming in Kojo *are* using Scala. It maybe a subset, a DSL, call it what you will, but the type-checking, function composition, parsing, etc. rules are all pure Scala. It's then totally possible (and a very natural progression) for the more advanced students to then break out and use a wider range of built-in scala constructs and libraries. 2010/8/29 Cédric Beust ♔ <[email protected]> > > > On Sun, Aug 29, 2010 at 9:37 AM, Kevin Wright <[email protected]>wrote: > >> Go on then... create the DSL in Java >> >> it must be possible to write the following fragment, in a .java file, so >> that it compiles and is checked by the compiler and continues to look like >> native syntax: >> >> repeat(4) { >> forward(100); >> right(90); >> } >> >> as a concession, I don't expect you to make it work without semicolons, as >> the Scala version does. >> > > You're missing the point. > > The fact that it's implemented as a DSL in Scala is a neat technical trick > that you can't pull off in Java, but Kojo users don't care how you implement > it and they certainly don't get more enlightened in Scala because of this > trick. > > Saying that Kojo teaches you Scala is like saying that programming in Java > teaches you C++ because the JVM is written in C++. > > -- > Cédric > > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<javaposse%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > -- Kevin Wright mail/google talk: [email protected] wave: [email protected] skype: kev.lee.wright twitter: @thecoda -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
