Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ashok Kumar, Bharath
so2021
Commits
b6fbc698
Commit
b6fbc698
authored
Oct 14, 2019
by
Praetorius, Simon
Browse files
Update coding_principles.md
parent
e8045696
Changes
1
Hide whitespace changes
Inline
Side-by-side
lecture/coding_principles.md
View file @
b6fbc698
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment