MLUG: Re: [MLUG] good intro to programming for a teenager?
Re: [MLUG] good intro to programming for a teenager?
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do you debug Javascript?  Seriously, it's always been a pain in
the neck to debug it.

Firefox has some quite nice Javascript debugging and tracing tools. Unfortunatley just because your program is proved to be technically correct in Firefox does not mean it will work in other browsers. Still you can do some pretty cool stuff if you bother trying. I suggest taking a peak at openrico.org as a good place to get started. Learn to add behaviors to HTML/XML documents.

This was my favorite thing about Python when I was learning it: On error, it dumps a full stack trace. You know right where things started to go wrong.


No kidding. I had to rewrite some Perl today and it really was frustrating me because it gives you so little debugging information by default. (It's quoted printable module was quite easy to find and use though.)

What does your son want to make the computer do?  I got started
programming by trying to show off to myself: It's a short path from "I
wonder if I can't make my webpage show what CD I'm listening to." to
downloading the source for the CD player program I was using and
learning enough C++ to make it happen.  This kind of experimentation
taught me a lot more than the syntax of a certain language, it taught
me about how computers work.

I think this motivation is important. With the Internet, you can learn
*anything* about a Linux system.  Seriously.  Down to the source code.
Down to the arguments on the developer's mailing lists.  When I
realized I can make the computer do *anything I could think of*, I was
hooked.

Find out what your son wants to make the computer do. Build a robot? Write a game? a web service?


I totally agree. One of the biggest differences between a good programmer and a bad programmer is simply interest and motivation. If you're not interested and motivated you will get very little coding done. I really got started programming just because it was something to do and I had a few itches to scratch. With every problem I solved I thought of new problems I could solve.. so a decade and a half later I'm plugging away at a huge list of ideas I've built up. :)

--
Michael <EMAIL:PROTECTED>
http://kavlon.org


_______________________________________________ members mailing list EMAIL:PROTECTED http://mlug.missouri.edu/mailman/listinfo/members