DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
11 Monitoring and Observability Tools for 2023
Learn more
  1. DZone
  2. Coding
  3. Java
  4. Java Isn’t The Problem

Java Isn’t The Problem

Alistair Doolwind user avatar by
Alistair Doolwind
·
Jun. 16, 08 · Interview
Like (0)
Save
Tweet
Share
19.97K Views

Join the DZone community and get the full member experience.

Join For Free

[img_assist|nid=3535|title=|desc=|link=none|align=right|width=150|height=170]Quite a few people recently have been blaming Java for part of the downfall in current computer science (CS) graduates. While I don’t particularly like java, I’d like to go to its defence to say that teaching Java is not the real reason that a lot of CS graduates are no good these days. I know this is a touchy subject for some people so I apologise in advance if I’ve offended anyone.

It’s not about Language

To jump straight into it, the first language that students learn doesn’t have a lot to do with how good they will end up. Most of the “core languages” (Java, C#, C/C++, VB.NET etc) that you see being taught at universities allow the teaching of the core programming principles:

  • Low Level - sequence, conditions and loops
  • Mid level - functions, objects and recursion
  • Hi Level - Modular design, design patterns, API creation
  • High level optimizations - orders of complexity and algorithmic optimization

These principles cover a large amount of “learning to program” and you can teach all of them in any of the languages listed above. So what things are missing from some of these languages (particularly, Java)?

  • Pointers
  • Low level optimizations
  • How operations map down to machine code

The important point here is that these are a small subset of the skills required to program and they don’t require the first language that is taught to students to be C/C++ (or equivalent). Teaching these languages early on is definitely required; however they can easily fit outside the scope of the core introduction courses. The extra bonus from not teaching C/C++ as the first language is that it forces students to learn at least two languages during their first steps into programming and this is a good thing.

So what is the problem with CS graduates?

1. Lack of Passion

Basically it comes down to the fact that lecturers aren’t getting students passionate about programming. One of the key qualities I look for in a great programmer is their love for programming. I’ve found that the best way to get passionate about something is for someone to pass their passion on to you. The best way of doing this is through teaching. I had this very problem while at university and thankfully during my course I did some Microsoft training where our teacher’s passion was passed on to me.

It seems that lecturers are confusing fun with enjoyment/passion. Something doesn’t need to be fun for people to be passionate about it and trying to make courses “more fun” and less boring is not the right approach. The ability to create something has an almost primal feeling of enjoyment and power. Lecturers need to tap into this and get students excited and passionate about what they are creating even if it is hard work.

2. Lack of algorithms and Mathematics

One area that could easily be seen as boring is algorithms and mathematics. If not taught correctly this can certainly be true. However these are a core part of learning to program. The fact that they are language independent proves that Java is not to blame, and that they are more important than mere language choice. With a solid understanding of algorithms and mathematics, programmers can write good code in almost any language.

If algorithms and mathematics are being dropped because lecturers think they are too boring, they need to find someone that can make them exciting! To give an example, I was taught matrix math both at high school and at university. At high school I understood it straight away and had no issues with its use. At university we spent just as long learning it, however it was so convoluted that it almost confused me into forgetting what I had initially learnt. The way in which it was taught was both dry and boring, but also counter-intuitive to the average student that doesn’t have a PHD in mathematics. Any subject matter can be boring if taught badly, lecturers need to stop blaming the content and start looking at their teaching styles.

Conclusion

So the problem at the moment isn’t java but instead the courses and those creating them. I don’t think it matters what language you teach. Without creating passion, teaching core algorithms and mathematics students are never going to be good programmers.

From http://www.doolwind.com/blog

Java (programming language)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Spring Boot vs Eclipse Micro Profile: Resident Set Size (RSS) and Time to First Request (TFR) Comparative
  • Create a REST API in C# Using ChatGPT
  • 10 Best Ways to Level Up as a Developer
  • Multi-Cloud Integration

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: