
Perhaps I’m missing something here but in most languages the lexer will remove whitespace such that the compiled/interpreted machine code is equivalent (i.e. executes the same at runtime). I’m not trying to be rude here, have you taken your university’s “programming languages” course (or something of the like)? You can go super in-depth on how the code you write actually gets translated to machine code and executed, but one undergrad class is enough to demystify a lot of things