I'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.
Universities finally realize that Java is a bad intro programming language
51–60 of 132 posts
Re: Universities finally realize that Java is a bad intro programming language
#52No one ever wrote a book called "Java: The Good Parts" (glad I don't write Java (or JavaScript) on a regular basis anymore)
Re: Universities finally realize that Java is a bad intro programming language
#53In fact, F5-ability, and widespread real-world applicability are the biggest selling points of Javascript-as-an-intro-language, given that there's essentially no standard library to speak of, so every exercise becomes unique to the environment -- either window, or Node's APIs.
As others have said, perhaps Python strikes a better balance between approachability (not too much boilerplate), dogma (indentation), lenience (dynamic typing), standard environment (a featureful standard library), and rapid iterability (interpreted from source). Not sure why it's not more widespread in these settings.
Re: Universities finally realize that Java is a bad intro programming language
#54Re: Universities finally realize that Java is a bad intro programming language
#55Re: Universities finally realize that Java is a bad intro programming language
#56Re: Universities finally realize that Java is a bad intro programming language
#57I'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
#58I'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.
Besides, everyone in a CS program these days gets a shell account, right? I mean, login from home using whatever SSH client is hip on Windows these days and then it's just a matter of doing:
javac YOURFILE
java YOURFILE
(making sure that your class path is set up to your cwd). You don't even have to use vi/vim, nano is available on most any linux/unix distro.No complex environment to set up at all, although even setting up a Java IDE is not that hard (my friend's HS students do it with little problem).
Re: Universities finally realize that Java is a bad intro programming language
#59So much of web development comes across as formidable voodoo because of how many languages/frameworks are needed to even get anything to show up.
Re: Universities finally realize that Java is a bad intro programming language
#60I get why people think learning C first makes more sense as it builds strong fundamentals, but it encourages people to think a certain way that doesn't really apply to newer languages. I think you can really see that when you look at courses that teach both C and C++, where too much time is spent on doing things in C and not really learning how to work idiomatically with C++. If you compare C to a Lisp, I feel like the latter is far more applicable to modern everyday programming than the former, especially with the resurgence of functional programming.