On 8/18/23 01:42, William Torrez Corea wrote:
*What do I need to improve my code?*1. Algorithms 2. Comments 3. Readability
[snip] I would vote for 3. Readability. Comments are going to be part of that. Maybe a smaller or larger part depending on what you are writing, but a part nonetheless. The reason for that vote is that you read the code so many more times than you write it. In fact you keep reading it while you write it, even before you forget what's in it and have to re-read it yet again to refresh your mind on how it works and what it does specifically. Then your colleagues will be reading it as well, for various reasons. So if you emphasize readability, you will help everyone out including your present and future self through the processes of both creation and maintenance. My 2 ¢ € /Lars -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
