What is the bad way of programing? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the bad way of programing?

11th Oct 2017, 12:03 PM
Akshay Krishna
Akshay Krishna - avatar
3 Answers
+ 7
Some thoughts: 1. Copying code examples/snippets and using them without understanding them. 2. Not leaving any whitespace as it makes your code too difficult to read and maintain. 3. Not including comments as it makes it both difficult for yourself or others to revisit your code. 4. Not testing as you go. 5. Insufficient testing before go-live. 6. Not keeping a version history. 7. Poor (meaningless) variable names.
11th Oct 2017, 12:18 PM
Duncan
Duncan - avatar
+ 2
without using comments
11th Oct 2017, 1:10 PM
prashant vyas
prashant vyas - avatar
+ 1
not following the ettiquete of writing program. - comments - tabs / spaces - naming convention - and copying without understanding.
11th Oct 2017, 2:15 PM
Arl Kheem Rey B. Galario
Arl Kheem Rey B. Galario - avatar