Questions tagged [bad-code]

28 questions
21
votes
6 answers

How do you deal with intentionally bad code?

There are many stories about intentionally bad code, not only on TheDailyWTF but also on SO. Typical cases include: Having a useless time-wasting construct (e.g. an empty loop counting to some huge value) so programmers can easily "speed up" the…
mafu
  • 313
  • 2
  • 12
16
votes
3 answers

At the end of my rope

I am a contractor to a big company. Currently, there are three developers on the project, myself included. The problem is the other 2 developers don't really get it. By "it" i mean the following: They don't understand the best practices for the…
13
votes
8 answers

Do you write bad code when under pressure?

When you are under pressure, the deadline is approaching, and a manager is breathing down your neck do you find yourself starting to write bad code? Do TDD and best practices slip by the wayside in order to get things done? What do you do in…
ysolik
  • 6,330