Commit b6fbc698 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Update coding_principles.md

parent e8045696
...@@ -122,4 +122,12 @@ have to remember to change the others, or, like the alien computers, your progra ...@@ -122,4 +122,12 @@ have to remember to change the others, or, like the alien computers, your progra
to its knees by a contradiction. It isn't a question of whether you'll remember: it's a question of when to its knees by a contradiction. It isn't a question of whether you'll remember: it's a question of when
you'll forget. you'll forget.
(The Progmatic Programmer: Tip 11) (The Progmatic Programmer: Tip 11)
\ No newline at end of file
## 30. asserts
If It Can't Happen, Use Assertions to Ensure That It Won't
Don't use assertions in place of real error handling. Assertions check for things that should never
happen.
(The Progmatic Programmer: Tip 33)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment