Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
You dislike naming variables with meaningful names? I think I would not enjoy working with you.
-
@confusedGuy-sh I still don't get it why people think it is hard to name variables in a meaningful way...
I mean you are literally in the process of declaring a variable for specific data you know it will hold.
Just call it, for what it will hold.
What the fuck is so difficult about it? ๐ -
GeaRSiX6427yIt's difficult sometimes, but don't you feel good when you get a good variable name and you're all like: "fuck yea a dog could read this and itdt make sense"
-
cjbatz13587yWriting clean, easy to read and maintain code is an art form that you only learn to appreciate after years of team development
-
cjbatz13587y@CodeMonkeyG If you write clean code using good variable, method, and class names you will only need code comments to explain why you do something that seems odd or unusual. If another developer needs comments to understand your code, it is poorly written.
Edit : Sorry, didn't see the /s -
@cjbatz please help me explain this to my coworkers. Apparently I'm not a real engineer based on the fact that I don't use comments even though my code reads like an instructional manual.
-
cjbatz13586y@CodeMonkeyG perhaps show them articles/blog posts by industry leaders explaining all of this and ask them to explain why they are using comments in this way. Also, choose your battles wisely
Related Rants
Naming variables with meaningful names
rant
wk109