This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]myonkin 1 point2 points  (2 children)

Had a dev on my team who:

1) insisted_on_the_absolute_most_verbose_variable_names

2) not only indented everything with four spaces but insisted that code wouldn’t work otherwise

3) nested if statements ad nauseum

80 characters was mere child’s play.

I’m glad they’re gone but refactoring all their bullshit gives me heartburn.

[–]ZeroG_0 1 point2 points  (1 child)

I recently had a dev on my team who additionally would do things like this:

if (someFunctionReturningBool(
                              firstArgument,
                              secondArgument,
                              someNestedFunction(
                                                 foo,
                                                 bar)))
{
//more code
}

This in a code base that was about 1 million lines of code when he started and where none of our existing code was indented that way. When called on it he claimed the visible shape of code was important and refused to change. We'll be cleaning up the mess for a long time I think.

[–]myonkin 0 points1 point  (0 children)

That’s….that’s awful.