| Sign In/My Account | View Cart |
| Article: |
Technologies to Watch: A Look at Four That May Challenge Javas Development Dominance | |
| Subject: | What decade was that? | |
| Date: | 2005-10-20 19:28:23 | |
| From: | perrin | |
|
Response to: What decade was that?
|
||
| I'll tell you what surprises me the most is that Java people are looking so eagerly at Ruby and Java-specific inventions like Groovy when Python (in the form of Jython) has been available to them for so long. I would have expected Python to be a very natural fit, and Jython would make it easy to jump back to Java if you needed to access some existing Java code. Any thoughts on why Python didn't capture the hearts of the Java community the way Ruby now is? | ||
Showing messages 1 through 7 of 7.
class MyClass:
def say_hello(self, some_name):
print 'Hello', some_name
m = MyClass()
m.say_hello('bob')
class Fixnum
# Redefine +
def +(other)
"Addition is now obsolete"
end
end
puts 5 + 2