Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Cthulhu_
82 days ago
|
parent
|
context
|
favorite
| on:
Has_not_been_viewed_much
There's a rule of thumb somewhere that booleans should always be named / represent something positive, so "enabled" instead of "disabled", "visible" instead of "hidden", and "has_been_viewed_much" instead of "has_not_been_viewed_much".
see e.g.
https://codehealth.dev/prefer-positive-booleans/
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
see e.g. https://codehealth.dev/prefer-positive-booleans/