+ 2

Which one of these do you give your highest priority?

Problem solving and Good-looking code what do you prefer at your first problem solving with Good-looking code or Good-looking code with problem solving?

1st Sep 2018, 2:11 PM
Vivek Tiwari
1 Réponse
+ 2
First problem solving then good looking code because once problem solve then automatically your code become good looking. here are some tips. Good code is well-organized. Data and operations in classes fit together. There aren't extraneous dependencies between classes. It does not look like "spaghetti." Good code comments explain why things are done not what is done. The code itself explains what is done. The need for comments should be minimal. Good code uses meaningful naming conventions for all but the most transient of objects. the name of something is informative about when and how to use the object. Good code is well-tested. Tests serve as an executable specification of the code and examples of its use. Good code is not "clever". It does things in straightforward, obvious ways. Good code is developed in small, easy to read units of computation. These units are reused throughout the code. source=stack overflow.
1st Sep 2018, 4:12 PM
Maninder $ingh
Maninder $ingh - avatar