From: Wojtek on
Ken wrote :
>> I think he has the handicap of knowing how professional Java code
>> looks like.
>>
>> You don't seem to have that "problem".
>
> I do not have that problem.

Well you can make your code look like anything. You can put each
element of Java on a separate line. You can use reverse indenting. Heck
you can make every second or third character a capital character.

And as long as you are the only one looking at your code, that's fine.

However if your code ever gets out into the general Java developer
community then you will get criticism. Conventions exist for a reason.
They make it a lot easier for other developers to read, understand, and
modify your code.

If you post code here (or any other language forum), and if you have
some non-conventional way of writing that code, then you will get
"pointers" from other developers. The vast majority of which DO follow
conventions.

It is not slavery to Sun, but rather ease of maintenance for which
coding conventions were developed.

So if you want to "break" the rules, feel free. But expect people to
correct your usage of the language.

And some will simply ignore you and your code because it is too much
trouble to decipher. Remember, the help you get here is entirely
voluntary, done by people who happen to be good at the language and who
also have enough community spirit to take time away from other pursuits
to try to help total strangers.

--
Wojtek :-)