• 29 Posts
  • 835 Comments
Joined 2 years ago
cake
Cake day: July 4th, 2023

help-circle









  • Okay then. I agree on 1, writing code is just part of it. Most of it is the logic, research, and knowledge. I had challenges that were like 90% research and logic and only the last 10% are the actual coding.

    2, sure, I often did too, but not all jobs or projects are like that and plenty of highly skilled programmers are working daily on new code.

    3, debate-able, but as I have done it I can say that the code is pretty readable and accurate. My review can be much faster than writing it from scratch. Just like reading a page from a book is faster than writing one, even if you already know exactly what you will write.



  • My philosophy is that anyone familiar with the code shouldn’t need the comments to understand it, and anyone who isn’t should be able to with the comments.

    This means that I have semi long names like “this_variable_varies” would be about the max name size I would use. But I also use plenty of small functions and I use comments to explain big chunks of code with just a simple goal and method description.

    I sometimes find my code a bit overly verbose, but I know I would rather see that then some code that I need to de-obfuscate mentally.