Jump to content
  • Advertisement
  • entries
  • comments
  • views

Taking a step forward to Java

Sign in to follow this  


C++ is a great language. It really is, and can be used in a variety of ways.

Unfortunately, it is basically like someone took a handful of paradigms and shoved them together. We've got some procedural over here, some Object-Oriented over here, some Functional over here, and oh, look, some Templates! Oh boy, will my code look like someone made a cake. Except the cake will be a mix of seven randomly-chosen flavors, which are placed here and there, with some inside the others.

Even worse, I chose Object-Oriented. Or at least, the book I learned programming from was ten years old and only had C with Classes. This would be fine in 1983, however today I'm left in the dust. With a small knowledge of C++, and a gnawing hope for something new, I set out on the path to java, littered with virtual machines, byte-code and a dash of object-oriented. Wait, about that last one, I meant that someone took the bottle of object-oriented programming out of the fridge, cut a hole in it, and poured the whole thing on Java.

I want to think that I'm taking a step forward. And in reality, I am. I'm taking a step back in C++ though. My resolution is to stop C++ coding. Of course, I'm finishing Space Invaders, and I'm going to write applications in it occasionally, however for the foreseeable future I want to forget C++. Why, you ask? Well, I want to re-learn C++.

Or, more correctly, give myself a great programming language to use (Java) in a paradigm I've dipped my toes into (Object-Oriented Programming) to create beautiful applications which utilize all of Java.

So, there you go. My opinion on me learning Java. Also, you guys should buy books form O'Reilly. I had a test, and they came through:
Sign in to follow this  

1 Comment

Recommended Comments

Doing the language dance probably isn't going to help anything, to be honest. Every language has its warts and has its potential to create ugly or "incorrect" code (incorrect by the standards of the modern day, at any rate; it's a moving target). Jumping to another language will just give you the opportunity to make different kinds of mistakes in a new language and become discouraged again.

If you were to buy a book from, say, five years ago it might be more "correct" than the one you learned from. But it might not include things from the newish C++11 standard, so it wouldn't be "correct" by modern standards. So even if you learned from that book, you would still have to un-learn some things and re-learn others.

The field of languages is always advancing and changing. What is correct today might not be correct tomorrow. The answer to this is to adapt and grow, not to revert back to zero and try again along another tack. That is just no way to make progress at all.

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!