0

Which one is better?

A)Fixing a code B)Rewriting a code

29th Oct 2018, 10:42 AM
Martin Tembo
Martin Tembo - avatar
3 Respuestas
+ 2
rewriting the code is better minimizes errors,as when u fix the code the errors would be doubled
1st Nov 2018, 8:13 AM
Hiruni Liyanage
Hiruni Liyanage - avatar
+ 3
nonono find the logic first before coding, it's faster. if you mean by rewriting is rewrite a better code yourself not simply copy paste yes its a good practice, its like reverse engineering without tool. but in real development reinventing the wheel isnt a good practice fixing is also a good way to learn, as people say learning by mistake
29th Oct 2018, 10:55 AM
Taste
Taste - avatar
+ 2
Pretty much what I do is write the code. It will be extremely sloppy at first. Fixing the code generally happens as I experience errors. Then, I rewrite it completely to make it look neat.
30th Oct 2018, 5:10 PM
Daniel Cooper
Daniel Cooper - avatar