Comparison between Python and "Ruby"
bjorn at roguewave.com
Fri Nov 5 18:57:14 CET 1999
> Neel Krishnaswami wrote:
> > Python (and Ruby, for that matter) remind me more of Smalltalk than
> > anything else -- ie, they have extensive libraries, a
> community with a
> > love of elegance but not of purity[*], and a greater focus
> on practical
> > applications than on academic research.
> Isn't the Smalltalk community pretty enamored of purity? I
> mean "if" is
> an object that takes messages, right?
> Paul Prescod
Almost. A comparison creates a boolean object that takes ifTrue: and
ifFalse: (and whileTrue: etc.) messages. Quite elegant...
More information about the Python-list