ASP.NET Programming Tips - Tip #1

by agrace 26. September 2010 09:20

Google Cannot Solve your Coding Problems

Using GoogleStop and think before you do this. Googling for code samples is usually the final step when designing solutions. Start by defining the problem; if you can't define the problem, how can you solve it? Then, and only then, start working on a black-box solution of your own; identify the basic inputs, general logic (phrase it in a single sentence - this is the black box), and outputs of this black box. Even if you're not artistically inclined, always opt to take pencil to paper - it will help.

Finally, with a clearer perception of what it is you need to do, use Google to focus in on relevant code samples. Doing this in reverse order leads us to try and re-imagine the problem to fit somebody else's solution. I imagine 80/90% of programmers, myself included, are guilty of this everyday form of insanity.



Comments (1) -

Christopher Neetz
Christopher Neetz United States
9/28/2011 5:00:24 PM #

I read this from @IrishChieftain and cracked up laughing, so true.  I don't know how many times I have had to grabbed code thinking it was the solution to my problem based on the title of a post, and then looking into it and realizing it has nothing to do with my problems.

Pingbacks and trackbacks (5)+