Jump to content
  • Advertisement
  • entries
    1212
  • comments
    1738
  • views
    1144392

Java and CivilGrrl

Sign in to follow this  
johnhattan

75 views

Still working on the Java project. I'm about halfway there. I think all of the technological issues are ironed out. It's just a matter of putting everything in place now.

All in all, my Java experience is mixed. It is certainly easier to use than C++, but the syntax, while simpler, is not as elegant. For example, the lack of overloaded operators make numeric classes not as transparent to the user.

Also, I don't know why they kept primitive types in place (int, char, boolean) while also adding class equivalents (Integer, Character, Boolean). I don't know if it was an efficiency thing, but it seems like it would've made more sense to wrap all the primitive types with objects, make all the library functions use the class equivalents, and recommend that folks avoid using the primitive types, like in Smalltalk. That way, you end up with the absurdly simple Smalltalk-style type model in which every type, from numbers to buttons, is an object.

Actually, the best thing about Java is the class library. It includes a huge library full of robust useful objects. C++ doesn't even come close for standard libraries. STL is about it.

Speaking of Java, Shelly and I updated www.civilgrrl.com, changing the project pages to use a Java-based AutoCAD viewer rather than the plug-in. The Java-viewer isn't as fast, but it doesn't require the plug-in, and it works on all platforms.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!