MHN

Best practice for naming a Boolean variable or method

4 points by yllow·4252 days ago·Show in HN

I have read about flag is a trap. But sometimes using a Boolean is unavoidable. What is the best practice for the naming convention , to make it meaningful to read yet not confusing?

Add a comment on Hacker News →
0 of 3 comments