Interesting to see your opinion on how commenting shouldn't be mandatory. I specifically go the extra mile to ensure my code is readable for everyone, by naming my variables and functions to be as self-explanatory as possible and breaking down long expressions to store chunks in variables. This is why I was feeling confused as to what more I could add to explain my code better, though I must admit there are still considerable complex portions in some of my projects that would appreciate similar simplification.
- Posts
- 33
- Comments
- 37
- Joined
- 2 yr. ago
- Posts
- 33
- Comments
- 37
- Joined
- 2 yr. ago
Science Memes @mander.xyz Benzene appreciation post
memes @lemmy.world If any job needs to be replaced by AI, it sure would be of the executives first
memes @lemmy.world Been here for a year, haven't regretted it ever
Science Memes @mander.xyz So would he call this a win or a loss?
memes @lemmy.world Seems like I wont be able to even own tbe content I create
Lemmy Shitpost @lemmy.world What does your booger feel like rn?
memes @lemmy.world Those guys back in 1700s probably had nothing left to lose
Science Memes @mander.xyz Somehow metal with zip zap moves rocks without touching and this isn't fiction?
Lemmy Shitpost @lemmy.world What I thought some abbreviations/emoticons meant vs what they actually meant
Books @lemmy.ml Romance novels for a beginner with no "impure love drama"
Free and Open Source Software @beehaw.org What domain name to choose for an open source website where I could ask for personal donations?
Privacy @lemmy.ml Why do password managers charge for TOTP code generation?
Selfhosted @lemmy.world Where to find guide on self hosting for a complete beginner?
I was just referring to my original question i.e. how I should write comments in my code to explain its working if I have already done so in the code itself