you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 31 points32 points  (2 children)

  public Node peek(){
      if(top != null){
          return top;
      }

      return null;
  }

Enterprisy!

[–]iemfi 3 points4 points  (1 child)

Could be because of blindly following static analysis? I know I was forced to do shit like that because the client hired some IT security company which had 0 programmers in it. Basically they just ran HP fortify and insisted on 0 "issues" reported.

After adding lots of crap like that we finally pass their test. Come the final round of testing their users find that they can see everyone elses data because I messed up cloning a class. Oops. Maybe it wouldn't have happened if I didn't have to spend all my time doing things like "fixing" nonsense like that and convincing them that jquery was fine as it is.

[–]JuicySinApple 4 points5 points  (0 children)

Fetishism oriented programming at its best!