Email or username:

Password:

Forgot your password?
Top-level
Jonathan

@darius whenever my coworker does some unsafe bit twiddling in c# it makes me feel uncomfortable, even though it generally far easier to understand than the surrounding code.

2 comments
Darius Kazemi

@jonbro Been thinking about this since you posted it. In our coding guidelines at work our literal first principle is "Clarity, not cleverness", which I love. I think bit twiddling in C# is clever but not clear. I think using the DOM API and vanilla JS vs React's way of doing things is often clear and sort of the non-clever way of doing things. Like my complaint about React is that it's overly clever, like you are always bit twiddling

Jonathan

@darius clarity, not cleverness is a really good guideline for any kind of design, not just code. I need to keep that saying in mind.

Go Up