DEV Community

Discussion on: Tips on naming boolean variables - Cleaner Code

Collapse
 
manishrawat4u profile image
manishrawat4u

How about naming something which really cannot be smaller? Like an option for
Generate file when user logs in everytime

Collapse
 
liutkin profile image
Volodymyr Liutkin

“when user logs in everytime” isn’t the part of assertion but rather a descriptive requirement. The assertion here is something like fileShouldBeGenerated.