stoufa / smalltalk-conditionals-in-python

Emulating Smalltalk's Conditionals in Python

Repository from Github https://github.comstoufa/smalltalk-conditionals-in-pythonRepository from Github https://github.comstoufa/smalltalk-conditionals-in-python

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

About

Emulating Smalltalk's Conditionals in Python


Languages

Language:Python 100.0%