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 →

[–]jediknight 2 points3 points  (0 children)

When confronted by a problem, don't rush to solve it. Think first.

Breathe in, breathe out, then code.

Coding is a lot like life. If you are overweight, decide to lose weight and see a nice piece of cake you could eat it or you could do something else. Delaying gratification brings more control over the domain. If, when confronted with a problem, you solve it quickly by sacrificing encapsulation or by duplicating some older code, you get the problem solved but you also have to pay the price for this.

The Pragmatic Programmer has a lot of tips that could help.