You're right, it simply doesn't matter and when using different functions and classes it gets hard to avoid.
If you need the source code to be correctly formatted, most IDE's and programming orientated editors contain a facility to "tidy up" code into a correctly indented version.