Will giving big names for class and id or variable and function result in increase in file size? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Will giving big names for class and id or variable and function result in increase in file size?

18th Nov 2018, 4:38 AM
Prathamesh Sawant
Prathamesh Sawant - avatar
2 Answers
+ 5
More you add the content greater the file size. So ladge names should not be the only reason. But there are some naming convention guidelines we should follow for better performance. Search for naming convention with preferred programming language.
18th Nov 2018, 5:26 AM
Rohan Parab
Rohan Parab - avatar
+ 2
In theory yeah, each character you write in a file is worth some bytes, so more character more bytes But if you're only talk about class or id, its not so much
18th Nov 2018, 4:49 AM
Taste
Taste - avatar