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
-
iceb1175317di believe code can be written like a prose, essays or novels.
Anybody can read it and understand like they read articles.
Apparently someone famous also thought the same.
Then I found out he stopped believing in this idea in his later years :( -
shovethisrant6010317dFor me, when I come back to code that I wrote a long time ago, the comments help me get back into it almost instantly.
-
omamiirii25316dIm beginner in coding
How can I write a clean code
Its somthing that happens in years? -
awesomeest1220315d@omamiirii
From someone who has a bad habit of writing code that only they understand easily ... i advise you to start off with proper formatting and structure, variables in english that make sense to other people as to what they stand for.
I write great code that I understand easily and well... but since i taught myself for nearly 25yrs (since before i was 7) and havent needed to work with others, my habits are a pain in the ass to break. -
PepeTheFrog1233308dMe: "So I created these modular and dynamic libs, tried my best to document them and make it as easy as possible to understand. You guys can reuse it in your own projects. I gave you peer reviewer rights so we can improve it over time."
Fucknugget dev: **proceeds to commit a 100 condition if branch hell directly on master for different string values because it fits their use case somehow**
Me: **sigh** "here goes forking again... you fucks never learn."
And yeah before you ask, asking management to force minimal standards does not work. I get served inclusivity and tolerance bullshit to mask mediocrity.
Fuck I'm tired of working for nothing.
Related Rants
Ah.. the beauty of clean code.
I wrote a very cleanly written program two years ago. Proper variable names, not too many, right naming, right design pattern,.. Now I come back to it and I am able to instantly figure out the code again. It only took me half a minute.
The importance of clean code... that's something the industry needs to understand more. Well, then there's the money issue. lol
rant
rewarding
clean code
beautiful