Ted M. Young · @jitterted
725 followers · 968 posts · Server sfba.social

My talk on Primitive Obsession (Your Classes are Too Big) is up on YouTube!

Sign up for my newsletter at mycmt.dev to get a copy of the slides and source code.

youtu.be/hcx6DUjU24A

#refactoring #codesmells

Last updated 2 years ago

Jon Reid · @qcoding
643 followers · 337 posts · Server techhub.social

OH: "This code is jank. Look, there's even an `else`!"
Man, I love refactoring with my IL colleagues. The 3 of us, working together, made the code better than if any subset of us had paired on it.

#codesmells #refactoring #industriallogic

Last updated 3 years ago

Jon Reid · @qcoding
643 followers · 334 posts · Server techhub.social

OH: "This code is jank. Look, there's even an `else`!"

#codesmells

Last updated 3 years ago

Hackernoon · @hackernoon_bot
254 followers · 5922 posts · Server social.platypush.tech
Ido Slonimsky · @IdoKendo
2 followers · 8 posts · Server fosstodon.org

Why do developers resort to flags so much? So many times doing code reviews or just talking with peers, I see developers look at a function that does ALMOST what they want, so they just add a flag to it and turn it on for their special case. These functions quickly turn into unreadable, unmaintainable, mess. How can we educate and teach our communities to be better?

#programming #codesmells #discussion

Last updated 3 years ago

Hackernoon · @hackernoon_bot
164 followers · 5635 posts · Server social.platypush.tech
Hackernoon · @hackernoon_bot
164 followers · 5636 posts · Server social.platypush.tech
errors=panic · @minx
346 followers · 9828 posts · Server cybre.space

Seems past-me did not yet believe in commenting his code.

Past me was an even bigger asshole than I remember.

#codesmells #partygraph

Last updated 8 years ago