Why is there no Smalltalk-like IDE for Ruby?

T

Timothy Goddard

Note that in Ruby a 'constant' is not actually constant. This is
perfectly legal code if you fill in the class contents:

class ClassA
...
end

class ClassB
...
end

def switch_classes
ClassA, ClassB = ClassB, ClassA
end

Good luck getting an IDE to track the state of this. Ruby is simply too
dynamic a language to be modelled effectively without executing it.
 
L

llothar

Timothy said:
Note that in Ruby a 'constant' is not actually constant. This is
perfectly legal code if you fill in the class contents:

class ClassA
...
end

class ClassB
...
end

def switch_classes
ClassA, ClassB = ClassB, ClassA
end

Good luck getting an IDE to track the state of this. Ruby is simply too
dynamic a language to be modelled effectively without executing it.

Well this belongs to the things i would forbid by style guides in an
Smalltalk-like-Ruby.
It's not that much a problem if it is done in existing library code
where everything the IDE must know is that it needs to do a "require
'library' "
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top