|
|
|
|
|
by bitwize
5028 days ago
|
|
Step 1 in learning to code: 10 PRINT "COCKS" 20 GOTO 10 Step 2 in learning to code: 10 INPUT "How many cocks do you want",C 20 FOR I = 1 TO C 30 PRINT "8===========D" 40 NEXT I I'm not recommending that your first steps into programming be in BASIC, or involve cocks. (On both accounts I would recommend the exact inverse.) But this is how a million programmers got started: useless programs that amused us. Never, ever, ever underestimate a useless program, especially for beginners. The author of this article seemed to want to focus on building a prototype for his Web startup. And that's fine, as a long-term goal. But if you're brand new to the world of programming it's probably a good idea to start with the basics, like printing or drawing stuff on the screen, doing some simple (or, later mor complicated) mathematics, or munging or transforming data in interesting ways. This helps keep the budding programmer focused on the patterns and "shape" of their language, which knowledge they can then later direct to a specific purpose like Web or smartphone apps. |
|
Also, 1/2 a downgrade for the lame, childish example.