Skip to main content

Code notation for Java

Posted by gadominas on December 19, 2007 at 6:02 AM PST

I used hungarian for C and I'm still using it for Java too. IMHO hungarian isn't a perfect choice for Java due to variable/classes notation which is more distracting then usable notation layer.

According to the Linus Torvalds:
"<...>Encoding the type of a function into the name (so-called Hungarian notation) is brain damaged - the compiler knows the types anyway and can check those, and it only confuses the programmer."

What notation do you use for Java these days?

Related Topics >>