https://github.com/stoufa/smalltalk-conditionals-in-python
Emulating Smalltalk's Conditionals in Python
https://github.com/stoufa/smalltalk-conditionals-in-python
conditional-statements oop-principles python smalltalk
Last synced: 2 months ago
JSON representation
Emulating Smalltalk's Conditionals in Python
- Host: GitHub
- URL: https://github.com/stoufa/smalltalk-conditionals-in-python
- Owner: stoufa
- Created: 2018-04-16T14:05:09.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-14T15:28:59.000Z (about 5 years ago)
- Last Synced: 2025-02-16T10:42:16.164Z (4 months ago)
- Topics: conditional-statements, oop-principles, python, smalltalk
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# smalltalk-conditionals-in-python
Emulating Smalltalk's Conditionals in Python
Influenced by the talk of Sandi Metz [Nothing is Something](https://www.youtube.com/watch?v=OMPfEXIlTVE), 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