re: # 5 Tips for better code readability VIEW POST

FULL DISCUSSION
 

In the naming convention, whenever I use boolean variable I prefer to prefix is, has, can. For example

const isPerson : boolean = true;
const hasAge : boolean = true;
const canDance : boolean = true;

 
code of conduct - report abuse