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
Search - "deprived of comments"
-
That feeling you get when you write code so complicated, that a few weeks later, even with tutorial-level documentation, you don't know whats going on, so you just rewrite from scratch.
Yeah that just happened to me.
No time for deep work to re-grok what the fuck I was working toward, so I just rewrote the core of it to relearn the entire process.
Had comments, documentation, step-by-steps. Still the ability to understand and reason about it noped-the-fuck-out of the building apparently.
Might have had something to do with zero sleep three days in a row and too much red bull.
Sleep-deprived me operates on a whole different plane of existence.15 -
!rant
In my team, I am not allowed to use ANY comments except for the really lengthy classes in the backend.
Thus, the code of the whole project (a complex webapp, consisting of 20-something Django projects and various services) is basically undocumented.
The slogan sounds "good code doesn't need commenting".
Seriously, fuck this and all of the times I scratched my head wondering "what the fuck is this spaghetti about".
Have any of you encountered something like this? Usually people don't want to comment, I would do it gladly but can't even make a small inline about what complex method is exactly doing :P3