Hacker News new | past | comments | ask | show | jobs | submit login

I love Python, use it for all sorts of stuff, but I remember there were some things that went over my head learning it because I didn't understand OOP, and until I saw its beauty and the important aspects of writing clean code I hated the forced indentation. Plus I wasn't using vim then, and my lazy butt still doesn't like having to manually indent two-to-four spaces, depending on the project/language.

So maybe PHP would be better--tied with XHTML, CSS, and little by little some JavaScript. However, he's 13, so I don't think doing things in C or even Perl would be too daunting. (I can't recommend pure shell stuff with no graphics to people younger than 10 (sometimes 12) or so; it's just not that interesting for them.)

So then again Perl might be a better choice if you want to do a bunch of shell stuff. Have fun explaining cat.pl to him: #!/usr/bin/perl while (<>) { print; }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: