Simplifying doesn't have to mean fewer lines. LGTM.
this post was submitted on 11 Sep 2023
207 points (95.2% liked)
Programmer Humor
32410 readers
1 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
Yeah, too simple is sometimes bad too. I had to refactor for better readability and it added 3k lines. But it was easier for everyone to understand the code. :)
I pray that all those extra lines are comments.
Removed unreadable // Added /* */ on their own lines with fancy design above and below comments
Some of them, yes.
ctrl+P > format.
Git explodes.
If GitHub's UI isn't saying "infinity files changed" you're not trying hard enough.
By simply I thought you meant delete the project.
Ahh, yes, tracked eight hours of refactoring today…
I've done worse
Pov: you find an image of a coconut in your code and try to remove it