Lua

Homepage

Source

A month into Ruby, and six months into Kaarme, I realize my practice of declaring instance variables inside class definitions:

class Student
    @name="Beethoven"
end

class Freshman
    @name="Mozart"
end

Since @var is supposed to be an instance variable, and @@var a class variable, I was surprised to find that Freshman's declaration changed all Student objects' names to Mozart.

Lua is very simple and minimalist compared to Python and Ruby. I'm going to look into it.