+ 2
Do long identifiers in java, have any negative effect on program performance?
e.g if i write int firstNumber=22; instead of int fn=22; do it have any bad effect on performance? sorry for bad English.
4 Réponses
+ 2
no , there will be no impact on performance...
+ 1
It will not affect the overall performance of the code, but it might make it more difficult to understand the code for other programers. They may not know what "fn" represents. The code will run normally, but it will look differently (obviously).
I hope this helps.
+ 1
using a long identifier do not effect performance? e.g
int firstNumber=1;
+ 1
justin ur answer is confusing.