Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 875 Bytes

2006-02-13-top-ten-of-programming-advice-to-not-follow.markdown

File metadata and controls

7 lines (7 loc) · 875 Bytes
wordpress_id title wordpress_url layout
204
Top Ten of Programming Advice to NOT follow
post

10) Don't use exceptions
9) Use unsigned integers for values that can only be positive
8) Design classes parallel to their physical counterparts
7) Make sure your team shares a common coding standard
6) Write lots of comments
5) Use accessors or properties rather than public fields
3) Be tolerant with input and strict with output
2) Code all the corner cases immediately, cause otherwise you'll never go back and fix things
1) Design first, then code

Via Kristian's Blog