top | item 3215086

Learning how to code

19 points| philipbrown | 14 years ago |cultivatus.co.uk

10 comments

order
[+] wccrawford|14 years ago|reply
Since the link isn't working, I'm going to take a guess.

1) Start coding.

2) ???

3) Profit!

Or maybe...

1) Start coding

2) Google everything you have a problem with

3) Return to step 1

That's how self-taught people learn. Okay, maybe Google wasn't around when some of us started, but we used books, magazines, and trial-and-error. Google is much faster and more reliable.

But honestly, that just isn't for everyone. Some people need a more structured environment, and that's fine. That's why classes and learn-to-program books exist.

[+] fuzzix|14 years ago|reply
"Google is much faster and more reliable"

Until our novice looks for information on PHP and mysql and thinks 'mysql_real_escape_string_honest_this_time' is a great idea.

Or until our novice decides to learn Perl:

http://news.ycombinator.com/item?id=3158276

[+] sukuriant|14 years ago|reply
Don't forget to work on a small, but still real, largish problem. Doing simple nothings in coding isn't a good way to get anywhere far.
[+] nassosdim|14 years ago|reply
Plan B seems to be true about this article!
[+] TheCapn|14 years ago|reply
I don't like the article because of the fatal flaw I see with novice programmers that this fails to address... tunnel vision.

When I say "tunnel vision" though I mean the fact that novice users don't entirely understand what code does or how it works. They're only understanding the very surface of what they're doing and without more fundamental knowledge they'll fail to understand when a different approach is better suited, or why certain things are avoided, or why their tool is not the best tool for what they're trying to accomplish (square block in circular hole type issues).

Sure its a good start just "diving right in" but its also a great way to get bad habits. The good coders, ones that have the natural talent, will figure things out regardless of their starting block. The problem is the swarms of bad programmers that come out of the wood works because "anyone can do it!"

How would I improve it? Don't gloss over the details as if they're entirely that simple. Programmers need to start simple (a calculator) and then build up iteratively so they're not overstepping their bounds. Thoughts?

[+] wikimatze|14 years ago|reply
The link is broken.
[+] Derbasti|14 years ago|reply
And the RSS feed is abbreviated. Too bad.
[+] sycr|14 years ago|reply
Why is this being up voted when the link is broken?