You should be using a standardized code formatter in an IDE to take care of the bracket and spacing issues, etc there's no sense in putting a bunch of effort worrying about something like that. You can take a room full of 10 developers and debate until the end of time whether a bracket should be on the same line or next line, its personal preference and the most important thing is to use a formatter to standardize for your company, you will never get everyone to agree and its a pointless argument. Of course the naming is important but its really a fairly simple concept, just to always use descriptive names, in your example using x as a variable name is an example of NOT doing this
I second that notion. I've always been irrationally anti-IDE, but in the past few weeks I've been using Pharo Smalltalk for some personal projects and I've realized how much a good IDE can do for you. You should let your IDE handle trivial issues like directory structure, file formatting, etc.
When I write Smalltalk, I ignore formatting and indentation. I just write code. When I'm done, I hit Command+r and the editor formats everything for me. This is just one of a billion tiny bureaucratic issues that the Pharo environment handles for me.
(Offtopic: makes me wonder why we don't build programming environments from the IDE down instead of building them from the language up. Our current approach doesn't seem to be working very well, IMO.)
I agree, I use what I consider to be a great IDE for the language I work in, it does variable suggestion, everything and its great because it makes me write code faster and not cut corners