Hello,
I am thinking about teaching my students JavaScript first so that they can start creating websites and make their career, what are your thoughts?
Why not python? C needs constant memory management and JavaScript is too chaotic. Both seem to me a bit too complicated for someone just starting
The main reason to not including python is that students aren’t particularly in the CS field, they are learning it as their “augmented skill” (I don’t know what it’s called bad English). That’s why I don’t want to force them to learn CS concept which they might not even need.
I was thinking about C so that their fundamentals gets cleared but I think it will be too much for students who aren’t into CS. What do you think ?
Python allows you to focus on a single concept in isolation (building on what you’ve already learned, of course). JS has a bunch of other stuff mixed in. Like the DOM. Interacting with the DOM is necessary for any browser code. You can hide it with abstractions and boilerplate, but it’s always going to surface in error messages. Debugging JS can be quite a bit harder than other languages.
Caveat: beginner JS is many years behind me. It may not be as bad as corporate code full of react and angular and all kinds of requirements.
Idk why you are discarding python for the reason that makes python the best option. If there is a programming language that a non-programmer should know, it’s python.
If you also plan on teaching html and css, than I’d go for js first. Having your code instantly response in a visual way, is super motivating for most students.
If you just want to tech programming concepts, i’d go for python.
If you want this to be the start of a complete cs study, than you can start with CThat makes sense, I am also teaching html amd css first so I think JavaScript makes sense to teach next.
I was thinking about C because that’s the first thing I learned in the college and that’s my favorite language till this day.


