Java Matters

Dec. 3, 2001
I love programming languages. They're fun. I've worked everything from Algol, APL, Lisp, and Visual Basic to Forth. C got a lot of use, but it lacked production-grade, object-oriented features. After playing with Smalltalk, I was hooked on OOPs...

I love programming languages. They're fun. I've worked everything from Algol, APL, Lisp, and Visual Basic to Forth. C got a lot of use, but it lacked production-grade, object-oriented features. After playing with Smalltalk, I was hooked on OOPs (object-oriented programming languages). When C++ first came along, I thought I had it made.

C++ is definitely a workhorse. But its runtimes can be quite large, and it inherits a lot of baggage from C. On the positive side, C++ gives you objects, and it supports multiple inheritance and templates.

But Java is where the action is. As a language, Java is rather elegant. It also includes features like multitasking that many other languages leave to APIs. On the surface, Java is C and C++ like, but it's really a new language. Moreover, it's a programming system.

For starters, Java's a simple OOP. But it eliminates many of the implementation complexities of C and C++. It hides pointers, has automatic garbage collection, and has neat features such as multiple interfaces.

Java goes beyond C++: it has a framework and is highly portable. But there's a price. Java gets rather big and complex, especially with its built-in frameworks and class definitions.

Java is a fun language. Like Basic, it's easy to get started with. You can use as much or as little of the language and Java Virtual Machine (JVM) as you need. Like C and C++, Java also is a production language. With it you can churn out production code that not only looks good, but also works over the long run.

Java takes up where C and C++ stop. It provides a much cleaner system that targets Internet and portable applications. With its underlying JVM and class libraries, Java lets users be more productive, and it provides a base for more robust applications. It also makes interfacing with other Java applications easier.

The fun has always been in the building. Java just lets you build with better things. If you're really into languages, dig a little deeper. The JVM and its associated Java bytecode semantics are there for the reading. Get under the hood, see what's really there, and use it. Enjoy.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!