The 2 Biggest Mistakes I Made When Learning to Code
61–70 of 90 posts
Re: The 2 Biggest Mistakes I Made When Learning to Code
#62Great insight. Every time someone says, "I want to learn to code." They should have a project/task in mind and just go. The stack that Suneel lays out is a good foundation for web dev, but as he admits, he like many others invested more time than was necessary in books/documentation/tutorials. More people need to just jump in. If you get to a point that you want a feature from jQuery, look it up and implement it, but…
Re: The 2 Biggest Mistakes I Made When Learning to Code
#63Earlier quoted context omitted.
What was the order of learning for loop, function and class? Did those proceed architecture, algorithms, data structures, etc...? Personally, the challenge of learning the more base knowledge and gaining a deeper understanding of computer science is that until you are really good at making things, you honestly cannot tell the difference.
We can certainly agree to disagree, but I don't think that being "really good at making things" is a pre-requisite to understanding some of the principles underlying said "things". In many ways they are related-yet-distinct disciplines (Computer Science vs. Software Engineering). I readily admit that I may suffer from some bias in this regard, since I find more abstract topics to be a lot of fun. There are many roads…
I was focused on my own experience and the experience I've had with the majority. Generalization and such.
Re: The 2 Biggest Mistakes I Made When Learning to Code
#6410 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.
Re: The 2 Biggest Mistakes I Made When Learning to Code
#65Step 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,…
Also, 1/2 a downgrade for the lame, childish example.
Re: The 2 Biggest Mistakes I Made When Learning to Code
#66I've been in the industry about 9 years, and coding since I was a child. My parents caught me staying up late with a flashlight under the covers as a teenager reading books on C instead of nudie mags. My first program with an event-driven UI ran on a NeXT Color Station. This is not to brag, it's to say I've been doing this basically since I could decide what to do, and I still have a lot to learn about coding, computer science and software engineering.
So you've made your third biggest mistake; you've vastly underestimated what you are in for. You have never "learned" to program, you are "learning." Every year will ask you to acquire new skills and use new models and learn new domains.
Re: The 2 Biggest Mistakes I Made When Learning to Code
#67Step 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,…
10 PRINT "chicks"
20 GOTO 10
:)
Re: The 2 Biggest Mistakes I Made When Learning to Code
#68If you have been starting to write code and study code for a year, you are still learning to code. You have not learned to code, you are not even a journeyman yet. I've been in the industry about 9 years, and coding since I was a child. My parents caught me staying up late with a flashlight under the covers as a teenager reading books on C instead of nudie mags. My first program with an event-driven UI ran on a NeXT…
Re: The 2 Biggest Mistakes I Made When Learning to Code
#69I think the problem is a lot of people jump in, start coding and then never go back and learn about the nuances of a language. Case in point was myself when I was learning Javascript. Sure, I could get the JS to do what I wanted, but it was clunky, used a lot of memory and was slow. Fast forward a few years and I've gone back and read Crockford's books several times, and with more studying, I've gotten much better at…
You make some valid points. However, had you not taken the road you did, the material you read much later on probably wouldn't have made much sense and probably could have made you turn away from it all right at the start, right? You get excited when you see results right away. Once you do enough things that begin to make you wonder, "Gee, there's gotta be a way to do this faster or more efficiently." When your curio…
Re: The 2 Biggest Mistakes I Made When Learning to Code
#70If you have been starting to write code and study code for a year, you are still learning to code. You have not learned to code, you are not even a journeyman yet. I've been in the industry about 9 years, and coding since I was a child. My parents caught me staying up late with a flashlight under the covers as a teenager reading books on C instead of nudie mags. My first program with an event-driven UI ran on a NeXT…