A friendlier, sugarier lambda -- a proposal for Ruby-like blocks in python

jmdeschamps at gmail.com jmdeschamps at gmail.com
Mon Oct 16 17:49:45 EDT 2006


Bruno Desthuilliers wrote:
> Kay Schluehr wrote:
> > Bruno Desthuilliers wrote:
> >
> >> Just for the record : Ruby's code-blocks (closures, really) come from
> >> Smalltalk, which is still the OneTrueObjectLanguage(tm).
> >
> > IsTheOneTrueObjectLanguage(tm)ReallyCamelCased?
> >
> ThatsAGoodQuestion.
>
> DoYouMeanIsTheIdentifierTheOneTrueObjectLanguage(tm)CamelCasedOrIsTheObjectObjectBoundToIdentifierTheOneTrueObjectLanguage(tm)CamelCasedOrYetSomethingElse?
>
> --
> bruno desthuilliers
> python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
> p in 'onurb at xiludom.gro'.split('@')])"
youGuysAreAllCrazyOrSomethingNicer(CrazyBeingANiceAttributeHere)(ButIDon'tKnowAboutSyncategoremasLikeParenthesisOrApostrophe)InCamelBackNotationWhichAsNothingToDoWithPolishReverseNotation)ThankYou

Jean-Marc




More information about the Python-list mailing list