586
With PieMixin (lemmy.world)
submitted 11 months ago by mod_pp@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] sxan@midwest.social 4 points 11 months ago

A good sense of "code smell" is one of the most valuable programming skills. I think your "probably" is justified: if you're doing X, you should look twice at how you're doing it. Maybe it's right, but usually it's not, so it's worth a pause and a thought.

[-] dzervas@lemmy.world 1 points 11 months ago

huh, you’re right! I’m trained on a different kind of code. In C# in particular, which I use mostly to do sneaky stuff (patch/inject runtime code to, um, “fix” it) and when I see a project that it’s too clean it smells

I also see python code (I code regular stuff in it) that could be written much more cleanly using monkey-patching

this post was submitted on 28 Nov 2023
586 points (97.7% liked)

Programmer Humor

32360 readers
583 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS