What is the most frustrating programming style you've encountered?

Posted by JaredPar on Stack Overflow See other posts from Stack Overflow or by JaredPar
Published on 2008-10-26T08:08:51Z Indexed on 2011/01/15 16:53 UTC
Read the original article Hit count: 145

Filed under:
|

When it comes to coding style I'm a pretty relaxed programmer. I'm not firmly dug into a particular coding style. I'd prefer a consistent overall style in a large code base but I'm not going to sweat every little detail of how the code is formatted.

Still there are some coding styles that drive me crazy. No matter what I can't look at examples of these styles without reaching for a VIM buffer to "fix" the "problem". I can't help it. It's not even wrong, I just can't look at it for some reason.

For instance the following comment style almost completely prevents me from actually being able to read the code.

if (someConditional) 
// Comment goes here
{
  other code
}

What's the most frustrating style you've encountered?

© Stack Overflow or respective owner

Related posts about coding-style

Related posts about polls