Hacker News new | ask | show | jobs
by ctrlkctrls 55 days ago
Spot the non-programmer in the room :) The two negatives apply to different things. One is how they feel about the mental health situation and the other is the mental health situation so it reads just fine. Of course it could be reworded but was it really that hard to parse?
2 comments

Programmer in the room, meet bikeshedding senior UI/UX designer in the room
I guess code quality/readability doesn't matter to some developers. To each their own. Since OP is promoting their substack Id assume they would avoid turning off readers with their poor sentence structure.
Sure, it parses, the same way !isNotEnabled compiles. Doesn't mean I'd want to read it in a PR. You should read the book 'Clean Code' by Uncle Bob if you haven't already.

The sentence may be valid but it has poor readability. That was my point.

It's !believes(!isSerious(mentalHealth)) which is both poor code and writing.

'I think mental health is a serious concern' would be preferred.

Both are true. It's a less than desirable structure, but it's not going to lose somebody used to writing code. You simplify the expression when you find something like this, but to simplify it you had to understand it first.