#clean-code — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #clean-code, aggregated by home.social.
-
Favour composition over inheritance. Instead of deep class hierarchies, build objects by combining smaller, focused components. Easier to test, modify, and reason about. #DesignPatterns #CleanCode
-
Favour composition over inheritance. Instead of deep class hierarchies, build objects by combining smaller, focused components. Easier to test, modify, and reason about. #DesignPatterns #CleanCode
-
The Single Responsibility Principle isn't just about classes - apply it to functions, modules, and even variables. Each should have one clear reason to change. Makes debugging and testing much easier. #CleanCode
-
The Single Responsibility Principle isn't just about classes - apply it to functions, modules, and even variables. Each should have one clear reason to change. Makes debugging and testing much easier. #CleanCode
-
🚨 Breaking news: "Coder admits popular coding principles are not magical!" 🪄 Daniel, the self-taught programming oracle, discovers Clean Code is just "advice" from those pesky senior engineers. 📚 Oh, the audacity! 😂
https://devz.cl/posts/solid-never-felt-solid/ #BreakingNews #CoderConfession #CleanCode #SoftwareDevelopment #TechHumor #SeniorEngineers #HackerNews #ngated -
🚨 Breaking news: "Coder admits popular coding principles are not magical!" 🪄 Daniel, the self-taught programming oracle, discovers Clean Code is just "advice" from those pesky senior engineers. 📚 Oh, the audacity! 😂
https://devz.cl/posts/solid-never-felt-solid/ #BreakingNews #CoderConfession #CleanCode #SoftwareDevelopment #TechHumor #SeniorEngineers #HackerNews #ngated -
Less boilerplate sounds great. But are you trading it for hidden complexity? #PatternMatching adds power—and surprising pitfalls. @cayhorstmann dives into where it actually pays off.
Sharpen your mental model before production: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
Less boilerplate sounds great. But are you trading it for hidden complexity? #PatternMatching adds power—and surprising pitfalls. @cayhorstmann dives into where it actually pays off.
Sharpen your mental model before production: https://javapro.io/2026/03/24/effective-pattern-matching-2026-edition/
-
Viele Teams verlieren Zeit, weil Daten überall validiert werden. Birgit Kratz analysiert, wie du Validierung an die Grenzen legst & illegale Zustände verhinderst. Ergebnis: weniger Runtime-Fehler. Sieh dir die Umsetzung im Code an: https://javapro.io/de/datenorientierte-programmierung-mit-java/
#Java #CleanCode #DevOps -
Viele Teams verlieren Zeit, weil Daten überall validiert werden. Birgit Kratz analysiert, wie du Validierung an die Grenzen legst & illegale Zustände verhinderst. Ergebnis: weniger Runtime-Fehler. Sieh dir die Umsetzung im Code an: https://javapro.io/de/datenorientierte-programmierung-mit-java/
#Java #CleanCode #DevOps -
Guten Morgen! ☕
Kleine Erinnerung an alle, die heute „mal eben schnell“ ein Script schreiben wollen: Dein zukünftiges Ich liest diesen Code in 6 Monaten und wird dich verfluchen.
Schreib einen Kommentar. Nur einen. Dein Ich von morgen schickt dir dann Kekse statt Hassmails. 🍪
-
Guten Morgen! ☕
Kleine Erinnerung an alle, die heute „mal eben schnell“ ein Script schreiben wollen: Dein zukünftiges Ich liest diesen Code in 6 Monaten und wird dich verfluchen.
Schreib einen Kommentar. Nur einen. Dein Ich von morgen schickt dir dann Kekse statt Hassmails. 🍪
-
Micromanagte Teams hören nicht auf zu arbeiten. Sie arbeiten nur heimlich.
Bugs werden unter dem Radar gefixt, Refactorings versteckt, Probleme nicht mehr angesprochen. Wer kontrolliert statt vertraut, killt den Flow und merkt es nicht mal.
-
Micromanagte Teams hören nicht auf zu arbeiten. Sie arbeiten nur heimlich.
Bugs werden unter dem Radar gefixt, Refactorings versteckt, Probleme nicht mehr angesprochen. Wer kontrolliert statt vertraut, killt den Flow und merkt es nicht mal.
-
LLMs now writes 41% of all code and code churn is set to double in 2026.
66% of developers say LLMs output is "almost right."
Translation: good enough to merge, broken enough to need rework. LLM doesn't produce less work, it just shifts it downstream, into review and maintenance.
Source: https://dev.to/code-board/ai-writes-41-of-code-now-but-code-churn-is-doubling-in-2026-372f
-
LLMs now writes 41% of all code and code churn is set to double in 2026.
66% of developers say LLMs output is "almost right."
Translation: good enough to merge, broken enough to need rework. LLM doesn't produce less work, it just shifts it downstream, into review and maintenance.
Source: https://dev.to/code-board/ai-writes-41-of-code-now-but-code-churn-is-doubling-in-2026-372f
-
„Refactoring-Sprint nach dem Release" ist die größte Lüge der Softwareentwicklung. Der kommt nie. Sobald er ansteht, killt ihn der nächste Prio-1-Task.
Tech Debt baust du im Ticket ab, nicht im Event. Boy Scout Rule statt technischer Insolvenz.
-
„Refactoring-Sprint nach dem Release" ist die größte Lüge der Softwareentwicklung. Der kommt nie. Sobald er ansteht, killt ihn der nächste Prio-1-Task.
Tech Debt baust du im Ticket ab, nicht im Event. Boy Scout Rule statt technischer Insolvenz.
-
Writing code gets cheaper with #AI. Understanding architecture does not. That’s why teams drown in systems nobody fully understands. Sven Reinck shows how dependency visualization can make large codebases navigable again: https://javapro.io/2026/06/10/beyond-uml-clean-software-architecture-in-the-age-of-ai%e2%80%91generated-code/
-
Writing code gets cheaper with #AI. Understanding architecture does not. That’s why teams drown in systems nobody fully understands. Sven Reinck shows how dependency visualization can make large codebases navigable again: https://javapro.io/2026/06/10/beyond-uml-clean-software-architecture-in-the-age-of-ai%e2%80%91generated-code/
-
Quick C# Tip: Stop using as followed by a null check. Modern C# pattern matching is your best friend! Use if (obj is MyType myVar) instead. It safely casts and assigns in one single, readable line. Less boilerplate, more elegance. 🧼✨ #dotnet #csharp #cleancode
-
Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
Learn how with Mihaela Gheorghe-Roman: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
Learn how with Mihaela Gheorghe-Roman: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Use Obsidian with Markdown notes, YAML metadata, and direct AI file access to build a Second Brain with LLMs that gives your tools persistent project context. https://hackernoon.com/ai-coding-tip-020-create-a-second-brain #cleancode
-
Use Obsidian with Markdown notes, YAML metadata, and direct AI file access to build a Second Brain with LLMs that gives your tools persistent project context. https://hackernoon.com/ai-coding-tip-020-create-a-second-brain #cleancode
-
Core features only. No bloated code.
[✓] Samsung Smart Switch support
[✓] Xiaomi backup extraction
[✓] iOS Manifest parsing
[✓] Direct local data control
[✓] Fast indexing & searchJust the tools you need to access your own history. 📱⚙️
Explore the build: https://keepita.com/#Keepita #FeatureList #ProductivityTools #Android #iOS #DataManagement #IndieDev #BuildInPublic #CleanCode
-
Microsoft is gaslighting your workflow. Forced AI in VS Code is creating massive technical debt and breaking your flow across every machine you own. It’s time to reclaim the kernel of your craft. 🛠️💻
-
Microsoft is gaslighting your workflow. Forced AI in VS Code is creating massive technical debt and breaking your flow across every machine you own. It’s time to reclaim the kernel of your craft. 🛠️💻
-
Файл вырос до 800 строк и это была моя вина…
На каждом ревью найдётся кто‑то, кто спросит: «Зачем четыре файла, если это один пайплайн?» А затем, давайте объясню!
https://habr.com/ru/articles/1033218/
#python #file_size #aiogram #LOC #architectureascode #refactor #cleancode #code_quality
-
𝐁𝐮𝐢𝐥𝐝𝐢𝐧𝐠 𝐓𝐫𝐮𝐬𝐭
At 𝐖𝐞𝐛𝐁𝐨𝐨𝐬𝐭𝐏𝐫𝐨𝐬, we believe the web should be fast, accessible, and beautiful for everyone. 🌐
We don't just build websites; we build digital experiences that help small businesses compete with the giants. From clean code to responsive design, we’re here to help you grow your digital footprint the right way.
𝐏𝐫𝐨𝐮𝐝 𝐭𝐨 𝐛𝐞 𝐩𝐚𝐫𝐭 𝐨𝐟 𝐭𝐡𝐞 #𝐅𝐞𝐝𝐢𝐯𝐞𝐫𝐬𝐞!
#SmallBiz #WebDevelopment #WebBoostPros #DigitalGrowth #CleanCode
-
Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.
This technique connects directly to clean code principles and software maintainability.
#CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering
-
Magic Numbers reduce code readability by hiding business rules in literal values. Replace Magic Number with Named Constant systematically improves code quality through self-documenting constants.
This technique connects directly to clean code principles and software maintainability.
#CleanCode #Refactoring #Java #MagicNumbers #SoftwareEngineering
-
There is ASCII Art and there is a View-Finder showing the document space in miniature. How very German of me... #deutschland
FOSS, single-file, vanilla, save with CTRL + S. This is designed to make single file webpages/programs in absolute position or VW. The keyboard is like Vi. 20 levels per project. #VanillaJS #Minimalism #WebPerformance #Lightweight #SingleFile #NoBloat #FastWeb #ZeroDependencies #CleanCode #OfflineFirst #Efficiency #100DaysOfCode #GreenComputing #LowTech #WebStandards
-
Long if/else chains, repeated checks, unnecessary casts—classic #Java overhead. #Java25 adds #PatternMatching in switch, #RecordPatterns & guards, reducing boilerplate & improving type safety.
Mihaela Gheorghe-Roman explains: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
Long if/else chains, repeated checks, unnecessary casts—classic #Java overhead. #Java25 adds #PatternMatching in switch, #RecordPatterns & guards, reducing boilerplate & improving type safety.
Mihaela Gheorghe-Roman explains: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/ -
“Clever” code is overrated. Simple, understandable code wins.
Junichi Ito explains this clearly—I translated his article to English 👇 -
Tiefe Vererbung, Seiteneffekte, schwer testbarer Code = klassische OOP-Schmerzen. Birgit Kratz zeigt, wie Records + Pattern Matching Fehlerklassen eliminieren. Weniger Bugs, weniger Debugging.
Hol dir exakte Beispiele für stabileren Code: https://javapro.io/de/datenorientierte-programmierung-mit-java/
#Java #CleanCode -
Tiefe Vererbung, Seiteneffekte, schwer testbarer Code = klassische OOP-Schmerzen. Birgit Kratz zeigt, wie Records + Pattern Matching Fehlerklassen eliminieren. Weniger Bugs, weniger Debugging.
Hol dir exakte Beispiele für stabileren Code: https://javapro.io/de/datenorientierte-programmierung-mit-java/
#Java #CleanCode -
Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
Learn how with Mihaela Gheorghe-Roman: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/#CleanCode #PatternMatching #JDK25 OpenJDK
-
Still writing instanceof + casts + nested conditionals? That’s legacy #Java. With #Java25, pattern matching simplifies type checks, switch logic, and data extraction.
Learn how with Mihaela Gheorghe-Roman: https://javapro.io/2026/04/28/pattern-matching-in-java-25-writing-cleaner-safer-faster-code/#CleanCode #PatternMatching #JDK25 OpenJDK
-
Most developers write code. The best ones write code that nobody has to fix at 2am.
What's the worst "2am call" moment you've had as a developer?
Drop it in the comments — let's collect the horror stories. 👇
Comment "CLEAN" below and I'll DM you Utilizor's internal Code Quality Checklist — the exact one we use before every client delivery.
#SoftwareDevelopment #CleanCode #WebDevelopment #Utilizor #DeveloperLife #CodeQuality #TechFounders #Programming -
🚪 Where privacy meets poetry in pure HTML.
I crafted a tracker-free corner of the web: no ads, no bloat, no surveillance. Just 5 trusted European sources for knowledge & privacy, with built-in listen/copy/save tools.
You’re a guest here. Never a product.
🔗 https://www.doors.mom/doors-eu.html
#DigitalPrivacy #CleanCode #OpenWeb #PrivacyByDesign #Eu #security
🤍🧊🪷🦋🌊🐟🌳🌸🍷🌷🍃 -
🚪 Where privacy meets poetry in pure HTML.
I crafted a tracker-free corner of the web: no ads, no bloat, no surveillance. Just 5 trusted European sources for knowledge & privacy, with built-in listen/copy/save tools.
You’re a guest here. Never a product.
🔗 https://www.doors.mom/doors-eu.html
#DigitalPrivacy #CleanCode #OpenWeb #PrivacyByDesign #Eu #security
🤍🧊🪷🦋🌊🐟🌳🌸🍷🌷🍃 -
Want fewer rewrites and faster test reviews? Learn how SOLID guides beginners toward clean #PageObjectModel in #Java—with concrete refactoring examples.
Read Savi Grover’s article: https://javapro.io/2026/01/06/learning-java-automation-the-solid-way-a-beginners-guide-to-learn-page-object-model-with-java-solid-principles/
#Java #AutomationTesting #Maintainability #JAVAPRO #CleanCode
-
Want fewer rewrites and faster test reviews? Learn how SOLID guides beginners toward clean #PageObjectModel in #Java—with concrete refactoring examples.
Read Savi Grover’s article: https://javapro.io/2026/01/06/learning-java-automation-the-solid-way-a-beginners-guide-to-learn-page-object-model-with-java-solid-principles/
#Java #AutomationTesting #Maintainability #JAVAPRO #CleanCode
-
Behold, the Nanopass Framework: the IKEA toolkit for compiler construction. 🛠️ Just add a pinch of domain-specific seasoning and voilà, a compiler with enough "intermediate representations" to make your head spin! 🎡 Who knew compiler creation needed to be this... "clean"? 😏
https://nanopass.org/ #NanopassFramework #CompilerConstruction #IntermediateRepresentations #CleanCode #DomainSpecific #HackerNews #ngated -
#JPA is not a silver bullet — but it doesn’t have to be a bottleneck either. Julius Mischok shows when to tune JPA, when to use projections, and when plain SQL is the better choice.
Read the full piece: https://javapro.io/2025/12/31/high-speed-jpa/
-
From Java Coder to Software Engineer: The 2025 Skill Stack for Senior Devs
#Algorithms #AWS #Caching #CICD #CleanCode #CloudComputing #DataStructures #DevOps #docker #DomainDrivenDesign #EnterpriseJava #GitHubActions #Grafana #InfrastructureasCode #Java #Java2025 #JavaCareerPath #JavaInterview #Javajobs #JavaVirtualThreads #JVM #Kafka #Kuberne...
-
Optimizing Git for AI Workflows
The introduction of AI in coding has disrupted traditional Git workflows, leading to issues like lost uncommitted work, cluttered branches, and anxiety over stashing. To address this, the concept of a "Mirror Branch" is proposed—a personal workspace for developers to freely commit messy outputs, logs, and drafts without the pressure of maintaining a clean history. This method allows for exploration and experimentation while keeping the feature branch uncluttered. By separating the messy process from clean code promotion, developers can maintain context and memory of their problem-solving journey, thus enhancing productivity and reducing mental overhead without losing valuable insights along the way.https://roofman.me/2026/04/09/optimizing-git-for-ai-workflows/
-
A new Blog section is now live on:
🔹 https://stackcompassguide.dev/blog.html
It contains articles about keeping architecture simple, avoiding overengineering, and recognizing common software anti patterns, based on real world decisions and tradeoffs. I will keep adding more over time.
If you are figuring out what to use and why, this might help or maybe even inspire you. 😉
I would really appreciate any feedback.#programming #softwaredevelopment #cleancode #softwarearchitecture #devops #refactoring
-
The fourth article in the Architectural Decisions series is out now ✅
This time, it’s about why simplicity often wins over unnecessarily complex architecture in practice. Why it’s better to start simple, avoid premature optimization, and when it actually makes sense to introduce complexity.
If you’re dealing with system architecture or thinking about better technical decisions, it might give you a new perspective, maybe help, maybe inspire. 😉
🔹 https://mortylen.hashnode.dev/why-simple-architecture-wins
#programming #cleancode #softwarearchitecture #softwaredevelopment #decision #refactoring #devops
-
ApproveJ 1.6.0 is here 🚀
✨ Inline Value Updates update approved value in your test source
📸 Enhanced Visual Feedback with diff
🤖 AI Assisted Reviews👉 https://approvej.org
🔗 Full Changelog: https://lnkd.in/eyTtdR_3#ApproveJ #Java #SoftwareTesting #OpenSource #VisualTesting #IntelliJ #DX #CleanCode
-
Have you ever found yourself in a situation where you wanted to do things “the right way”… only to end up complicating your life? 🤔
In a new article from the Architectural Decisions series, I explore how good intentions lead to overengineering.
If you’re building things “just in case,” you might be creating problems that don’t even exist yet.
I hope this article helps and inspires you.
🔹 https://mortylen.hashnode.dev/when-good-intentions-become-a-problem-overengineering
#programming #cleancode #softwarearchitecture #softwaredevelopment #decision #overengineering