[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Scriptometer: measuring the ease of SOP (Script Oriented Programming) of programming languages

Something to consider is to what extent a language makes it easy to
integrate scripting, even if its native support isn't that great.  I'm
thinking of Java here (possibly C# also) - despite the poor scriptability
score that pure Java gets, there are a number of more scripting-friendly
language implementations that integrate very tightly with Java's object
model, including Javascript, Python, various Schemes, and BeanShell.  The
latter is actually an optionally typed scriptable version of Java itself.
All of these languages support REPLs.

All of these ought to score a lot higher on SOP tests, but since they all
support implementing and scripting of Java objects, and are typically what a
Java programmer would use to achieve scripting functionality, doesn't that
indicate that Java is actually a better language for this purpose than it
might first appear?

Languages like C don't lend themselves as well to this sort of thing, mainly
I think because they don't provide a standardized high-level object model
(not to mention garbage collection) for foreign environments to leverage.
Features like reflection and runtime class loading also help scriptability.