Novice programmers create a lot of garbage code. Recently I refactored the code of a novice and reduced it by more than 10 times (360KB --> 30KB)! The most important rule for a novice would be to express the solution to a problem in as little code as possible. He should always ask himself "do I really need to write this line of code, can I combine those repeating sections to make it a function". All that code has to be debugged, reviewed, tested and maintained by yours truly.
Dear novice, treat code as something smelly and ugly, which is especially true for the code you produce and try to minimize it, remember how perfection is achieved. It is not your fault. If you follow my advice, you will soon become much better.
Friday, May 10, 2019
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment