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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
codeBoy7868yWelcome dear to devrant...
You might need to benefit from the clean code rules
Check this post on hashnode :
https://hashnode.com/post/...
Would like to hear your comment -
@codeBoy omg, thank you very much. That was really helpful and clarifying! Gonna use this as my guide from now on
-
@codeBoy Yes, I read them all. At least until the one that says "To be continued...". I think it is the Part 3
-
@codeBoy thanks mate!
Already committed to most of the guidelines but this is very handy!
I will present this to my colleagues.
@gustornado thanks for your rant too 😉
Related Rants
Today I discovered what slowed my productivity the most: variable naming.
In a project I was naming many variables 'dirname' in different parts of the my code, but it represented 3 things: only the name of the directory, relative path + directory, and absolute path + directory.
I wasted to much time just figuring out which was which everytime until I finally decided to organize variables names better and see the wonders of the world. Result:
- dirname: only the name
- reldirname: relative path + dir
- absdirname: absolute path + dir
Such simple solution, yet took me years to actually see the benefits, my god
(First devRant post btw :3)
undefined
coding
productivity