rory sawyer

It's OK to compare floating-points for equality

lisyarus blog
Challenging the Single-Responsibility Principle | Kiss & Solid

The SRP is one of the most prominent software engineering principles — and one of the most misapplied. Here's a more practical way to think about where code belongs.

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).

#CodingBestPractices #PowerFX #LowCode

Seer - Build AI Workflows, Not Code

Visual workflow builder with AI assistance. Self-hostable, fine-grained control, rich integrations. Build complex automations without writing code.

Seer
How Twitch Tamed a Million Lines of TypeScript - Josh Ribakoff

🎉 Ah, the age-old debate resurrected! Why explain *what* the code does when you could just write clearer code to begin with? 🤔 But hey, let's reignite the flames with this groundbreaking revelation: maybe, just maybe, #comments should state the obvious too. 🔥 Because we all need more #verbose hand-holding, right? 🙄
https://www.hillelwayne.com/post/what-comments/ #codeclarity #programmingdebate #codingbestpractices #HackerNews #ngated
Maybe Comments SHOULD Explain 'What'

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

Hillel Wayne
The Compiler Is Your Best Friend, Stop Lying to It - Daniel Beskin's Blog

The compiler is a powerful tool, yet many developers have a painful relationship with it. Can we do better?