ProDeo
Would you like to react to this message? Create an account in a few clicks or log in to continue.
ProDeo

Computer Chess
 
HomeHome  CalendarCalendar  Latest imagesLatest images  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Post new topic   Reply to topic
 

 Rules for bad programmers

Go down 
AuthorMessage
Henk




Posts : 914
Join date : 2020-11-17

Rules for bad programmers Empty
PostSubject: Rules for bad programmers   Rules for bad programmers EmptyWed Mar 22, 2023 9:12 am

Simplify:
- Remove as many parameters as possible
- Remove as many properties from a class as possible

Don't repeat yourself

Use as many immutable datatypes as possible. Efficiency is only for good programmers. Not for bad programmers.
Only use simple names for you are lazy and you always make typing errors.

Create only short methods for you are too stupid to understand long methods. Not to talk about making changes in long methods.
Make conditional expressions as short as possible for you hardly ever understand them or they give you unexpected results.
Back to top Go down
 
Rules for bad programmers
Back to top 
Page 1 of 1
 Similar topics
-
» MuZero: Mastering Go, chess, shogi and Atari without rules
» The NNUE split programmers are in
» Why do programmers care only about elo and not about faster mating?

Permissions in this forum:You can reply to topics in this forum
ProDeo :: Programmer Corner-
Post new topic   Reply to topicJump to: