🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Java and CivilGrrl

Published October 20, 1999
Advertisement
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.
Previous Entry page doings
Next Entry Housekeeping
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement