Telling college kids to learn javascript first is a terrible idea. Teach them a static language first. Anybody who knows what they're doing in a static language will have no trouble picking up non-static languages like javascript.
Universities finally realize that Java is a bad intro programming language
41–50 of 132 posts
Re: Universities finally realize that Java is a bad intro programming language
#42I'm not sure I'd consider a decision to move from Java to JavaScript an improvement. They are going from a bloated syntax to a bad-habit goldmine. Why not go Java -> Python instead?
Agreed. Java was my intro language, and probably my favorite (those are probably related); conversely, I still haven't gotten the hang of Python, and it's one of my least favorite languages, but I still recognize that Python is a massively better first language than Javascript of all things.
Re: Universities finally realize that Java is a bad intro programming language
#43I'm not sure I'd consider a decision to move from Java to JavaScript an improvement. They are going from a bloated syntax to a bad-habit goldmine. Why not go Java -> Python instead?
Because you only need a browser. When you're just a beginner, setting up an environment can be extremely painful.
Re: Universities finally realize that Java is a bad intro programming language
#44I'm showing my age here, but in my first year of CS we used Pascal and COBOL. My second year was the first year they taught Java, and back then it seemed incredibly easy and powerful by comparison!
First programming language my school taught was C++.
Re: Universities finally realize that Java is a bad intro programming language
#45I'm not sure I'd consider a decision to move from Java to JavaScript an improvement. They are going from a bloated syntax to a bad-habit goldmine. Why not go Java -> Python instead?
I agree. Although JS is a powerful language, it is not suitable to teach in an introductory environment. How about C? It makes the student grasps not only logical constructs but also introduce a portion of computer organisation and architecture.
Re: Universities finally realize that Java is a bad intro programming language
#46I don't see moving to JS helping with that problem much, though. If anything prototypal OO is more confusing without that foundation, and loosey-goosey nothing's-really-defined-for-real-until-runtime languages might be fast to get started in but will quickly lead students into a big ol' swamp of WTF.
I'd think a semester of C as an intro, despite its warts, would make everything that followed much clearer. But maybe it'd turn off too many students because everything they'd do in that semester'd be kinda boring.
Re: Universities finally realize that Java is a bad intro programming language
#47Re: Universities finally realize that Java is a bad intro programming language
#48"Harshest language" seems extreme, and I could name a bunch of languages that would be much harsher :)
Re: Universities finally realize that Java is a bad intro programming language
#49The thing that seems to get skipped in these discusses is that curriculum is hugely important. I believe it's more important than language choice, though a good language for teaching certainly helps.
My own teaching is very much influenced by How to Design Programs. I think this paper is pretty good: http://www.ccs.neu.edu/racket/pubs/jfp2004-fffk.pdf
Re: Universities finally realize that Java is a bad intro programming language
#50I'm not sure I'd consider a decision to move from Java to JavaScript an improvement. They are going from a bloated syntax to a bad-habit goldmine. Why not go Java -> Python instead?
Because you only need a browser. When you're just a beginner, setting up an environment can be extremely painful.
Javascript might have its hassles, but even when you get to dealing with npm it's still more of a self contained thing.