Logo
Explore Help
Sign In
lib/exercises-in-programming-style
1
0
Fork 0
You've already forked exercises-in-programming-style
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
c602dd9df3f4b516505456f13f3e55de02635431
exercises-in-programming-style/23-passive-aggressive
History
Crista Lopes c602dd9df3 More clean up
2013-11-30 19:20:09 -08:00
..
README.md
OK, so explaining the passive aggressive style with monadic exceptions in a language that already has exceptions does not work. Back to regular exceptions in style 23. I left the monadic version as an academically interesting variation. In the process of returning to basic exceptions, I needed to clarify the tantrum style a little better too.
2013-11-30 19:05:07 -08:00
tf-23-monadic.py
OK, so explaining the passive aggressive style with monadic exceptions in a language that already has exceptions does not work. Back to regular exceptions in style 23. I left the monadic version as an academically interesting variation. In the process of returning to basic exceptions, I needed to clarify the tantrum style a little better too.
2013-11-30 19:05:07 -08:00
tf-23.py
More clean up
2013-11-30 19:20:09 -08:00

README.md

Style #23

Constraints:

  • Every single procedure and function checks the sanity of its arguments and refuses to continue when the arguments are unreasonable, throwing an exception

  • When calling out other functions, core program functions don't check for errors

  • Exception handling occurs only at the top level of a function call chain

Possible names:

  • Passive aggressive
Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 78ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API