+ 5

Golden rule

What is the golden rule in programming?

16th Nov 2021, 11:30 AM
Zura Papiashvili
Zura Papiashvili - avatar
10 Respuestas
+ 19
Answer: If it works, don’t touch it.
16th Nov 2021, 11:31 AM
Zura Papiashvili
Zura Papiashvili - avatar
+ 8
Comment the line which produces error
17th Nov 2021, 5:59 PM
Carlos
Carlos - avatar
+ 8
Brain first
18th Nov 2021, 9:59 AM
Oma Falk
Oma Falk - avatar
+ 6
Keep it simple stupid :)
16th Nov 2021, 12:23 PM
Kamen Studentov
Kamen Studentov - avatar
+ 4
Keep your source code easy to Understand. The goal of the source code is to explain future programmers or maintainers what the code actually does.
18th Nov 2021, 3:54 AM
NEZ
NEZ - avatar
+ 4
it will always take more time than you expected. if something might get go wrong, it will. 10% of your code will produce 90% of problem don't bring the changes into the working code at the end of the day. Leave it till next morning. spend long time to write couple of lines of code to make it work? Be so kind, write above this code two more lines of comment explaining yourself what have you done. Review your code after a while. Simple is better. Always keep old code in case you want to come back.
18th Nov 2021, 5:31 AM
Shadoff
Shadoff - avatar
+ 3
I whould think the golden rule is to remember that the computer you coding on is not smart at all and only outputs what you tell it to. So if you run into a problem don't get mad review your code because you might have missed something small.
18th Nov 2021, 3:59 AM
Christof John Engelbrecht
Christof John Engelbrecht - avatar
+ 2
Keep it readable
18th Nov 2021, 10:59 AM
Anne-Cathrin Brenner
Anne-Cathrin Brenner - avatar
+ 1
KISS : KEEP IT SIMPLE STUPID
17th Nov 2021, 12:36 AM
Zakaria AKTOUF
Zakaria AKTOUF - avatar
+ 1
Always check your code before running its output.😁
17th Nov 2021, 9:22 AM
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika)
𝓐𝓷𝓼𝓱𝓲𝓴𝓪 (Anshika) - avatar