An Interest In:
Web News this Week
- March 21, 2024
- March 20, 2024
- March 19, 2024
- March 18, 2024
- March 17, 2024
- March 16, 2024
- March 15, 2024
Some of Our Sources
View All Sources
October 15, 2021 03:50 pm GMT
Original Link: https://dev.to/terrychild/programming-platitudes-nfc
Programming Platitudes
- Computers like to start counting at zero
- A good place to start is to say "hello, world!"
- Programming is a skill, it requires practice; designing programs is an art, it requires even more practice
- Global variables will come back to haunt you
- Computers get really confused when you ask them to divide something by zero
- Make it work, then make it neat, then make it fast
- Asynchronous events means the order of things can be unpredictable
- Copy and paste is not a substitute for functions
- Humorous test messages are not so humorous when they accidentally go live
- Sometimes 32,767+ 1 = -32,768
- No system is user proof
- Infinite loops can be really bad for performance
- No comment is better than an incorrect comment
- Users reserve the right to change their mind
- You will spend way more time reading code than writing it
- Rubbish data in, well processed yet still rubbish data out
- Be weary of the prototype that just went live "as a stop gap"
- Programming ability is related to your willingness to embrace meaninglessness
- You are probably not the first to try and solve this problem
- If all else fails, call it a caching problem and reboot
- Goto 10
Original Link: https://dev.to/terrychild/programming-platitudes-nfc
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To