Challenging the Single-Responsibility Principle
https://kiss-and-solid.com/blog/keep-it-simple
#HackerNews #Challenging #the #Single-Responsibility #Principle #softwaredevelopment #programming #principles #designpatterns #codingbestpractices
Challenging the Single-Responsibility Principle
https://kiss-and-solid.com/blog/keep-it-simple
#HackerNews #Challenging #the #Single-Responsibility #Principle #softwaredevelopment #programming #principles #designpatterns #codingbestpractices
Power FX: UserDefinedFunctions() The ability to write reusable functions inside your Canvas App is the biggest code-cleanup tool we have. Stop copying-and-pasting the same complex "If/Else" logic into 20 different buttons. Write it once. Call it everywhere. DRY (Don't Repeat Yourself).
Pre-commit lint checks: Vibe coding's kryptonite
https://www.getseer.dev/blogs/pre-commit-linting-vibe-coding
#HackerNews #PreCommitLinting #VibeCoding #DeveloperTools #CodingBestPractices #TechNews
How Twitch tamed a million lines of TypeScript
https://www.joshribakoff.com/blog/lint-snapshots/
#HackerNews #Twitch #TypeScript #Linting #TechBlog #SoftwareDevelopment #CodingBestPractices
People say “Comments should explain why, not what.” I feel like starting a flame war today so I’m going to argue that comments should explain ‘what’ too. Please don’t use this as justification to write bad code, okay? Okay. First of all, why shouldn’t comments explain ‘what’? If you need comments to explain what’s going on, it suggests your code is unclear. If I write //weight, radius, price w = 10, r = 9, p = 1 That’s not as clear as saying
The Compiler Is Your Best Friend, Stop Lying to It
https://blog.daniel-beskin.com/2025-12-22-the-compiler-is-your-best-friend-stop-lying-to-it
#HackerNews #TheCompilerIsYourBestFriend #StopLyingToIt #CodingBestPractices #DeveloperTips #ProgrammingInsights
Stop hardcoding GUIDs in your flows! 😫
If you are referencing a specific record ID in a Power Automate flow, it will break the moment you move it to Production. Use Environment Variables. This is day-one stuff, but I still see Seniors making this mistake.
💡 Strong software is built on proven principles
🔹 SOLID – maintainable & extensible
🔹 DRY – eliminate repetition
🔹 KISS – simplicity over cleverness
🔹 YAGNI – build only what’s required
🔹 Separation of Concerns – clear boundaries
🔹 Fail Fast – validate early
🔹 Tell, Don’t Ask – encapsulate behavior
🚀 Design deliberately. Deliver reliably.
#SoftwareEngineering #CodingBestPractices #CleanCode #DevTips