I have never understood why so many say it isn't readable. Your first line is perfectly readable to me. x is a pointer to int, y is an int, z is a reference (granted it will return an error for being uninitialized). That has always confused me, some of the examples people give for being unreadable, to me, usually isn't all that hard to read.
When you are only look at it as a single line in a forum post it is still quite readable yes, but when you have been scanning and reading thousands of lines of code to find a bug or just to find out what something does for the last few hours it can easily be missed.
I have always advocated "Indent with tabs, align with spaces" as MiiNiPaa suggests, since the tabs can always be converted to spaces by picky programmers. The reverse conversion is more difficult, however, as a simple find and replace will grab the secondary indentation incorrectly.
Yeah I can see why some would consider that hard on the eyes.
Yeah it is readable, but I'm like you that isn't hard on my eyes.
Everyone has different coding styles, but I don't find it hard on my eyes personally. As for tab/spacing, I have to agree as my first IDE was Rhide (sometimes wish it was still maintained so I could still use it for nostalgia reasons) that didn't do anything for you except highlighting the keywords.
Personally I don't think anyone on here could explain there whole style because its just so many rules to adapt to. This is my style:
1 2 3 4 5 6 7 8 9 10 11 12
int number = 1;
string playerName = "Bob";
// Main method
if (number = 1)
cout << "With the number " + number + " " + playerName + " won the ticket to Adventure Island." << endl;
Lol? This <> source code format is going out of the text box.