Programming class

Sep 20, 2007 10:13


I hope to audit a Python class, or at least some type of introductory programming class, in the evenings and weekends. Do you know any you can recommend?

How about flashcards? Do those help for learning the vocabulary and rules of a computer language?

For years, I have gone back and forth on the issue of learning a programming language. At first, I ( Read more... )

Leave a comment

elizilla September 20 2007, 15:11:04 UTC
Matt, flash cards are not useful IMHO. What you need from a programming language, is the habit of mind that allows you to break a task down into individual steps, and figure out what order to do them in. The real heart of programming is theoretical. The commands and syntax are just a means to an end. Once you have a grasp of the theory, you can learn any language pretty quickly, at least well enough to look up the commands you need and get along in it.

Reply

matt_arnold September 20 2007, 15:25:48 UTC
Thanks, I see. The theoretical heart presents no problem though. I think I already have the habit of mind that turns things into flowcharts. But when it comes to any specific programming language, I just keep forgetting the commands and syntax. So I look at the text, and it's a block of gibberish, so I hit a wall because I feel like I have to look up all the tabs, words, and punctuation all over again. I guess my experience has been the inverse of yours.

I've been considering giving myself some practice by transforming this decision tree that I wrote into Python using this page.

Reply

wormquartet September 20 2007, 17:57:12 UTC
What he said.

-=ShoEboX=-

Reply

matt_arnold September 20 2007, 18:54:49 UTC
In any given learning session, it's just too daunting to relearn all the terminology I've forgotten since the last one. Ever had that experience?

When I attempt to read a piece of code, or want to figure out what punctuation error is causing my code to not run, it makes sense to look something up on the web. But that doesn't help if, during the interval since the last time I studied, I have forgotten the meaning of the words used in the help file.

I have a concept clearly in my mind, which is the thing between the parenthesis. I remember more or less what it is for. I just can't remember if the word for it is "parameter" or "argument". So I'm not sure what the help file is referring to by those words.

My solution is to create flashcard sets in Quizlet.com for Python programming using the glossaries of the chapters in "How To Think Like A Python Programmer". I've also made a set of most of the keywords and punctuation. Once the difference between the word "parameter" and the word "argument", the word "method" and the word "function ( ... )

Reply

elizilla September 20 2007, 19:36:03 UTC
This is what comments are for. Write lots and lots of them, telling yourself exactly what this piece of code does. Then when you go back to it, you'll have a good, detailed description. Plus the very act of writing the comments helps you cement it in your mind. You can't have too many comments.

Reply

elizilla September 20 2007, 20:55:21 UTC
I just took a quick look at that link. A couple comments...

Been programming for three decades. Pretty good at it. Had you asked me five minutes ago what the difference between a parameter and an argument is, I woulda waffled. Why? Those terms are used interchangeably. Whether that's right or wrong doesn't matter. It's how it is. You'll need to know what people mean even if they use the terminology incorrectly.

Since you've associated those two words you probably already know how argum^H^H^H^H^Hthings are passed to functions/methods/subroutines. Move on.

Don't get too hung up on how things are described in any particular document; particularly something you found "on the web". Conventions are different between languages, and even between documents describing the same language. And "found on the web" documents almost universally suck.

The one you linked to? Very dense. That it mentions how important the distinction between argument and parameter is in the fucking preface should not be seen as an indicator for how quickly you're ( ... )

Reply


Leave a comment

Up