Code comments should explain why, never what—and be a last resort.
I reviewed comments AI added to my code. The useful ones captured decisions, traps and contracts the code alone could not express.

Code comments should explain why, never what—and be a last resort.
I reviewed comments AI added to my code. The useful ones captured decisions, traps and contracts the code alone could not express.
#Laravel tip most people skip: `sole()`.
`sole()` throws `MultipleRecordsFoundException` for more than one match and `RecordsNotFoundException` for none. Collections have it too, so `$collection->sole(fn ($item) => $item->active)` behaves the same way in memory.
PHP 8.6 adds a time duration class with helpers for math. It got a quick mention in my video, and I think it'll make a lot of our code easier to read.
https://www.phparch.com/2026/09/stop-writing-php-like-this-8-6-fixes-it/
Accidentally deleted a worktree folder? SmartGit has your back 💡
Check out this quick breakdown on mastering worktree & keeping your environment pristine.
🚀 Try #SmartGit for FREE: www.smartgit.dev/download/
Watch the full video here: youtu.be/TJ_6nToEfJs
La IA escribe código. La habilidad clave será saber qué código eliminar. 🧠
Mi reflexión sobre #CleanCode 👇
lnkd.in/p/e2A-T8JE
#PHPC tip: I keep reaching for match(true) when an if/elseif ladder exists only to pick a value.
Every arm is a boolean condition, and the first true wins. It uses strict comparison, and it throws an error when nothing matches unless you give it a default.
Tiny Kotlin rule, big payoff: model impossible states out of your types. A sealed hierarchy often beats a Boolean plus nullable fields—and makes every when branch easier to reason about. #Kotlin #SoftwareDesign #CleanCode
Now that people are beginning to understand me, they are seeing how they have BUILT problems into their technical projects.
WE MUST RETURN to the Zen of Programming
www.goodreads.com/en/book/show... #cleancode
We are not doing enough PRE-production before we let code out of the sandbox for 💰
Please trace it to root source on the file management level
I’m finding … assembly language code errors appearing …
Like random /n/n/ in code
Feels like a mismatch like the issue I found troubleshooting Mortis’ first build
This is why we NEED #cleancode practices @github.com
I think we broke the software. And maybe we need to think smaller to solve it. If you want to read more, here the link:
#Architecture #CleanCode #Engineering #Enterprise #Forgejo #Kubernetes #Nginx #Podman #Quality #Scaling #SelfHosting #Simplicity #Software #Testing
🤔 I've been wondering... why do I forget my own AI-generated code so fast? I reviewed it carefully. I approved it. Then a couple of PRs later, it's a stranger. Clean code is the only thing that survives cognitive overload, because you will re-read that code. Make it easy. #CleanCode #AI #DevTips
Self-healing tests: what they are, how they magically heal, and whether you can build your own.
On the BrowserStack podcast with David Burns. Plus TDD, clean code, and where AI helps - and where it frightens.
www.youtube.com/watch?v=D3LN...
#AITesting #TDD #CleanCode #SoftwareTesting #TestAutomation
The real Software Engineer is the one who understands the business so thoroughly that they are capable of automating it.
readsofamaleno.substack.com/p/domain-dri...
#DomainDrivenDesign #SoftwareArchitecture #SoftwareEngineering #Backend #DDD #CleanCode #SoftwareDesign #Microservices #Dev
And future me is not accepting any apologies.
🚀 Follow for your daily dose of developer jokes!
#DevLife #CodeHumor #Programming #SoftwareEngineering #CleanCode
Exacto, el ejemplo de la página muestra cómo un `if (isValid) return foo();` evita el flag `let ok = false; … ok = true; if (ok) …`. En JS, usar guard clauses reduce el scope de la variable y evita errores de estado compartido. #cleanCode
Does your team fight over CSS formatting?
You can standardize your code easily with one tool.
1/5
A developer's true value in the AI era isn't auditing code, but designing the architecture that validates it. Don't read AI-generated code: surround it with unit tests so rigorous that failure becomes impossible. Inspired by Robert C. Martin (Uncle Bob).
#SoftwareDevelopment #AI #CleanCode
"El verdadero Ingeniero de Software es aquel que entiende tanto del negocio que es capaz de automatizarlo."
readsofamaleno.substack.com/p/domain-dri...
#SoftwareArchitecture #DomainDrivenDesign #SoftwareEngineering #CleanCode #BackendDevelopment #TechLeadership #SoftwareDesign
"In 2004 I wrote an article subtitled 'Nine benefits of making your methods shorter;' I could probably add another dozen today."
medium.com/@jlangr/1980... #softwareengineering #softwarearchitecture #clearcode #cleancode #classic
🚀 24 Flutter & Dart hacks. How many do you know? Check them all 👉 leancode.co/blog/flutter...
We’ve collected practical patterns from our daily work at LeanCode to help you write less boilerplate, keep your code cleaner, and catch mistakes earlier.