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 
2 posters
AuthorMessage
Henk




Posts : 953
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
TheSelfImprover

TheSelfImprover


Posts : 2610
Join date : 2020-11-18

Rules for bad programmers Empty
PostSubject: Re: Rules for bad programmers   Rules for bad programmers EmptySat Aug 26, 2023 7:14 pm

One strong trend I'm seeing in young devs that enables me to run rings around them when there's a halfway complex process to develop: they're too lazy to write classes.

They'll write any amount of awkward code that's difficult to understand, maintain, and even get right in the first place in preference to writing a class.

This situation should be the other way around: in some cases, object oriented programming didn't exist in mainstream development when I was their age.
Back to top Go down
 
Rules for bad programmers
Back to top 
Page 1 of 1
 Similar topics
-
» The NNUE split programmers are in
» Why do programmers care only about elo and not about faster mating?
» MuZero: Mastering Go, chess, shogi and Atari without rules

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