You only "need" spaces where they are part of keywords (ie. make
_object
_sphere) and as separators between expressions / etc. They are not necessary as part of expressions, between commas in a function call or even after the ":" (multiple statements per line) token. I find it makes your code a lot more readable if you do use them as such though, as do many other people I'm willing to guess.
Still it is up to personal preference; some people like to use them whereever there are brackets as well (ie.
green = rgb( 0, 128, 0 )) but I never write code like that. It may improve readability a bit, but it's inefficient to write. So in conclusion, you do as it best suits you
If other people are to read your code you should agree on a style that everyone will use to make all code equally readable to all involved parties.
"Why do programmers get Halloween and Christmas mixed up?" Because Oct(31) = Dec(25)