Top Ten of Programming Advice to NOT follow
Top Ten of Programming Advice to NOT follow ของคุณ Chryler
คร่าวๆมีดังนี้
10 คำแนะนำที่โปรแกรมเมอร์ไม่ควรทำตาม!!
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
4) Use the singleton pattern for variables that you KNOW you should have only one instance of
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
คร่าวๆมีดังนี้
10 คำแนะนำที่โปรแกรมเมอร์ไม่ควรทำตาม!!
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
4) Use the singleton pattern for variables that you KNOW you should have only one instance of
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
Comments