/smalltalk-conditionals-in-python

Emulating Smalltalk's Conditionals in Python

Primary LanguagePython

smalltalk-conditionals-in-python

Emulating Smalltalk's Conditionals in Python

Influenced by the talk of Sandi Metz Nothing is Something, I started thinking how to apply these rules on Python. Like Ruby, Python also contains the keyword if, so how to transform its conditional syntax to a nicer Object-oriented message-sending syntax ?


  If you found this helpful, consider helping me by sending some Bitcoins to the following address. Thank you 😊

15m4Prjz4WLSsCgBcZTa62cUetiwo6sZKg