3 ms·
If I were teaching high school students I'd probably start with HTML and Javascript. I think Javascript is a great intro language, you can start really simple
by mikeryan 17y ago
If I were teaching high school students I'd probably start with HTML and Javascript.
I think Javascript is a great intro language, you can start really simple (alert("hello!")) and dive deeper into some pretty complex programming without leaving Firefox/Firebug. Plus webapps are very accessible for High School students.
For CS students its really hard. Dynamic languages are nice because it simplifies much of the work you deal with in Java and C. But eventually you'll need to know what static typing is and how to allocate memory. I like starting simply and building on that base as opposed to diving in the deep end.
My college's first programming language was C++. Spent the first few weeks understanding bits and bytes and core programming concepts w/o even writing much code. It seemed overly complex for an intro, but maybe it was poor instruction.
- ippisl 17y agoTeaching static typing with dynamic languages is possible. just use something like Cython to annotate python code with types.