How do you know if the logic used in a program is good? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do you know if the logic used in a program is good?

As a programmer how do you write the best logic for your code. For whatever idea of project you want to program, are there rules/guidelines that must be followed for coming up with good code for that project?

27th Nov 2020, 2:28 AM
Logos
Logos - avatar
1 Answer
+ 5
for algorithms you want to look at the time complexity if it would run quickly and efficiently. for rules and guidelines of good codes you should learn about design patterns to structure your codes to keep them clean and fast.
27th Nov 2020, 5:14 AM
Shen Bapiro
Shen Bapiro - avatar