Tag Archives: matrix

Can you teach me how to program?

12 Jun
Random Hackers by jpbader@flickr

Random Hackers by jpbader@flickr

There’s one short answer to this question, and one long. The short is: “No.” The long, well, that will take some elaboration. I was recently collecting some introductory material on programming for the new students who are arriving this fall and these are my top five ideas on how to learn how to program.

Work hard
Programming is highly practical. Your job is to transform words of English (or any other spoken language) into a language that the computer understands. The tricky part is that the computer has, compared to human beings, very limited interpretation skills. Surely, artificial intelligence is growing steadily, but it is far from ready to understand syntactical misspellings and so forth that you eventually will make as a programmer. Practicing, learning-by-doing, is the key to understand the wonders of programming. One awesome thing is that once you’ve passed the first barrier, the other is just next door and then there’s a world of possibilities.

Connect with reality
Find things around which you can relate to. While I was working as a Java supervisor I tried everything from apples to CD-racks. Those are tangible, things you have in your house, but most importantly things you already know. Ask someone for help if you have a hard time imagining what, for example, a heap looks like.

Love errors
I think the first thing we should teach people who are new to programming what a stack trace is. Irrespective of what programming language you’re using, there’s a huge chance the answer to what’s going wrong is in the stack trace, or error output. Be prepared to fail, and to learn from your mistakes.

Don’t read a book
Well, do that too, but there are few books to my knowledge that suits students with absolutely no programming knowledge. The best book I’ve found is called “How to think like a computer scientist” by Allen B. Downey as he starts at a more conceptual level and then slowly moves into the Java programming language. Most importantly, however, start filling out that blank white sheet with some code!

Learn from others
Work two and two. Find a friend who’s also new to programming and sit down together. Attack a problem, discuss, test, fail, discuss again, and change. Read other people’s code. There are plenty of open source projects out there where the code is freely available. Inevitably some of it will fly over your head, but study the details and you will soon see similarities. Once again, it will require hard work.

All of this may sound so simple when reading it. It is not. That is why I cannot teach you how to program.

Happy hacking!

What is the matrix?

24 May

The question you’ve probably heard all too many times by now. Well, maybe it surprises you to hear that this is something you’ll learn in the LAD-course, taking place in the 2nd term of the SEM-program.
LAD is the abbreviation for Logic, Algorithms & Data structures. But could also stand for:

lad2
• Long Agony Death
• Lucky Adamant Determination
• Life Affirming Decision
• Lethal Anxiety Disorder
• Likely Axiomatic Disorder
• Long Axis Delight
• Love And Despair
• Life Annihilating Destruction
• Long Awaited Date

I was cheerfully copy pasting everything that my class mates came up with as personal messages on msn. The nearer the exam we got, the more creative abbreviations they came up with.

Btw, I need to warn you all: The matrix is just a simple table with data.

I know. It’s the harsh reality.
No binary numbers in neon green.
IT is nothing like the matrix. It’s like in the real world.

Follow

Get every new post delivered to your Inbox.