0

Can someone give an example to show why it's a bad idea to have whitespace inside brackets?

28th Jul 2016, 9:33 AM
pirate_vector
pirate_vector - avatar
2 Answers
0
It'll work fine with spaces.. But why let those spaces consume some extra byte spaces?
28th Jul 2016, 3:38 PM
Prashant Shahi
Prashant Shahi - avatar
0
spaces should probably be ignored by the interpreter unless they are inside of the strings or used for indentation, so they should not make any trouble inside of the brackets. and i don't think that saving few bytes in the brackets will make any difference, since they will only affect size of your file and probably not the execution and you waste so many bytes on indentation anyway.
29th Jul 2016, 6:50 AM
RedAnt
RedAnt - avatar