2 ms·
int i = 0 not code because modern compilers don't need to know about int at first. The compiler wants to now that you creat a variable the type is not importend
by nickik 16y ago
int i = 0 not code because modern compilers don't need to know about int at first. The compiler wants to now that you creat a variable the type is not importend at that moment. Thats why most new languages like go or scala have the type after the inizalisation.
- masklinn 16y ago> int i = 0 not code because modern compilers don't need to know about int at first. Where "modern" means "any non-utterly-stupid compiler built in the last 40 years or so".