Comparison between Python and "Ruby"
Bjorn Pettersen
bjorn at roguewave.com
Fri Nov 5 12:57:14 EST 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...
-bjorn
More information about the Python-list
mailing list