You cannot tell at a glance whether code is “clean” or not, yet most developers seem to attribute more value to code that’s pleasing to look at rather than code that is consistent, readable and understandable. We’ll discuss some of the shortcomings with some commonly accepted indicators of “clean” code, as well as some principles to follow for truly cleaner (and maintainable!) codebases, regardless of language.

Learn that comments are not a crime, a_rose() by any other name might not smell as sweet, and HungarianNotationStr might not be as outdated as you might think (though we can pretty it up a bit). We’re not re-etching the laws in stone, but we’ll discover some pretty good best practices.

Comments

Comments are closed.

Joseph Leedy at 14:25 on 4 Nov 2023

Good talk, but it didn’t provide any new information or groundbreaking insights.

Good walk through on some good practices in PHP. Kept the pace going and talk entertaining. Lots of good takeaways.

TJ Draper at 14:50 on 4 Nov 2023

Entertaining, lots of good reenforcement here on good practices. One quibble, I had a hard time telling when code samples were being presented as good or bad patterns to follow or not to follow.

Joseph Thayne at 15:35 on 4 Nov 2023

Great ideas. Love the rule of three for DRY.

Mark Junghanns at 15:43 on 4 Nov 2023

Excellent talk!

Larry Garfield at 15:44 on 4 Nov 2023

Good content, and I agree with 90% of it, even if it's not ground breaking. Unfortunately the unreadable code on slides undermined the points. A talk like this thrives on good examples, and I couldn't tell if the examples were good or not.

Ariane Dupaix at 15:47 on 4 Nov 2023

A nice reminder that concise doesn't mean its good code. Great notes to keep the our code in a better format for everyone.

Ben Batschelet at 15:59 on 4 Nov 2023

Liked the content a lot, and the slide deck was really well designed. Talking about code having entropy was definitely revelatory for me.

Tadeh Hakopian at 16:38 on 4 Nov 2023

A useful lesson on keeping code actually clean and useful.