🎉 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
Introducing F# 10 - .NET Blog

Learn about new F# 10 language features, performance upgrades, and tooling improvements shipping with .NET 10.

.NET Blog
Ah, struct embedding in Go, the "let's confuse the compiler and the developer" feature! 🤔💻 Just what the code doctor ordered: yet another way to make your simple #structs as clear as mud. 🌪️ Remember, with great power comes great responsibility... and inevitable bugs! 🐛
https://mattjhall.co.uk/posts/be-careful-with-go-struct-embedding.html #GoLang #StructEmbedding #CompilerConfusion #CodeClarity #DeveloperHumor #HackerNews #ngated
Be Careful with Go Struct Embedding - Matt Hall

The gophers nested too greedily and too deep.

🚨 Stay Ahead with CodeClarity’s EPSS! 🚨

The Exploit Prediction Scoring System predicts which vulnerabilities are likely to be exploited in the next 30 days. Focus on what matters—patch high-score issues ASAP to keep systems secure.

No guesswork—just data-driven insights to protect your org.

#cybersecurity #EPSS #VulnerabilityManagement #OpenSource #CodeClarity

🚀 BIG NEWS! We just launched our #GitHub Action on the GitHub Marketplace! 🎉

🦉 #CodeClarity makes code security effortless:

✅ Auto-scan for vulnerabilities in your CI/CD
✅ Integrates seamlessly with your workflow
✅ Lightning-fast, actionable reports

Best part? It's completely FREE and open source! 💝

🔗 GitHub Marketplace: "CodeClarity Action"
🔗 Code: https://github.com/orgs/CodeClarityCE
🔗 Website: https://codeclarity.io/

https://stackoverflow.com/a/57249968/2850957

Loved the use of toilet paper analogy for explaining the difference between null and undefined variables.

#NullVsUndefined #ToiletPaperAnalogy #CodeClarity #ProgrammingHumor #TechWisdom

What is the difference between null and undefined in JavaScript?

What is the difference between null and undefined in JavaScript?

Stack Overflow

🤯 Le Naming : Un art, une science ou autre chose ?

👉 Lorsqu'il s'agit de nommer des éléments dans le code, je privilégie les termes utilisés par les experts du domaine. Cela facilite grandement la communication avec les équipes non techniques. Plutôt que de créer de nouveaux termes, pourquoi ne pas utiliser ceux déjà établis par les experts du domaine?

La suite 🧵 👇 [1/3]

#NamingInDevelopment #CodeClarity #SoftwareEngineering #BestPractices #DevelopmentTips #TechCommunication