Why Java as a First Language?

Posted by dsimcha on Programmers See other posts from Programmers or by dsimcha
Published on 2011-03-17T03:59:19Z Indexed on 2011/03/17 8:17 UTC
Read the original article Hit count: 251

Filed under:
|
|
|
|

Why is Java so popular as a first language to teach beginners? To me it seems like a terrible choice:

  1. It's statically typed. Static typing isn't useful unless you care a lot about either performance or scaling to large projects.

  2. It requires tons of boilerplate to get the simplest code up and running. Try explaining "Hello, world" to someone who's never programmed before.

  3. It only handles the middle levels of abstraction well and is single-paradigm, thus leaving out a lot of important concepts. You can't program at a very low level (pointers, manual memory management) or a very high level, (metaprogramming, macros) in it.

  4. In general, Java's biggest strength (i.e. the reason people use it despite the shortcomings of the language per se) is its libraries and tool support, which is probably the least important attribute for a beginner language. In fact, while useful in the real world these may negatives from a pedagogical perspective as they can discourage learning to write code from scratch.

© Programmers or respective owner

Related posts about learning

Related posts about java