this post was submitted on 23 Jan 2025
532 points (98.2% liked)
Programmer Humor
33705 readers
330 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
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This makes sense, most of that explanation in the screenshot reeks of novices working with something they don't understand.
Copying and pasting a current example and changing the names... yep.
Instead of making it worse you could extract it to a new file. Make an interface. Write a unit test. Anything.
The guy wonders why the file is 15k lines long and then describes exactly why.
Right? Like my dude, bare minimum at least write down those steps in a text document so you can reference it the next time you have to add something. Bonus points for putting it on some shared internal wiki or whatever Microsoft uses.
Or write a tool that can do all these steps for you, reliably!