DEV Community

Discussion on: The Power of Variable Names

Collapse
 
adillaumam profile image
Ahmad Adillaumam

First, thanks for the comment. I can agree with your first argument. pointsRecord does not fully represent maximumNumberOfPointsInModernOlympics. I will learn more about it. Regarding the m_ prefix, it is not recommended to use prefixes but in certain situations such as in the organization, prefixes may be needed and used with name conventions. I included an explanation of prefixes in the name convention section. I just realized that I'm converting C++ syntax to Javascript carelessly. At first, I meant it for intermezzo, but it seems misguided and misunderstood. Maybe I need to delete it or add a note. Thanks again for the comment, I appreciate it, and it helped me :)