View Single Post
  #2   Spotlight this post!  
Unread 08-01-2011, 01:11
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Clojure and Scala

I don't know the implementation details for Clojure and Scala, but often languages that are implemented on top of a Java VM use advanced features like reflection***.

The Java system provided for FRC is a "Java Micro Edition" version of Java (Java ME) that doesn't support reflection.

*** Reflection is an interesting feature that allows you do things like:
  1. ask "hey object, what fields do you have"
  2. given that info, get or set field values.
  3. similarly discover and call methods on an object

In Java Standard Edition (Java SE) the reflection classes are in the java.lang.reflect package.
Reply With Quote