Wednesday, February 10, 2010

True or False: Isn't Java just stripped down C++ with some internet junk in it?

Why didn't they just leave it C++ and add a few libraries? And is it interpetive or compiled? I feel like java is a big confusing mess - just blowing off some steam. I love plain old C, by the way. And javascript is okay too. But OO stuff is overrated in IMO. What do you think?True or False: Isn't Java just stripped down C++ with some internet junk in it?
how about this: C sucked .. C++ sucked a bit less ... java is so bloated that I call it the cobol of the '90s.





I've studied and used dozens of alternative languages...They each had their places, though some no longer have much use.





C++'s little brother javascript (no relation to java) is a great language


Perl 6 looks like it's going to be a real contender


Python, Ruby, and others are the legacy of C.





Java is an offshoot that it is probably best left to fester along with VB and COBOL.





and OO really helps.. especially if you have an ';Object Engineer'; who controls the team's objects!


Whew! I feel better now!True or False: Isn't Java just stripped down C++ with some internet junk in it?
I disagree. Java is quite different from C++. I believe it's interpreted bytecode. If you think OO programming is overrated, try creating a large software project entirely in C and then tell me OO is overrated.
java's a lot more user friendly than C++
Object-Oriented Programming is designed with certain objectives in mind. There are some problems which can be solved a lot more efficiently and reliably with an OOP approach, and the languages invented for the purpose reflect this need. You will have to study quite a bit of theory before you can make an informed and educated statement about the usefulness (or lack thereof) of a certain theoretical concept such as OOP.





Until you have a firm grasp on the theory behind it, please refrain from making inane assertions pertaining to the suitability of such constructs.
But java has one MAJOR feature that C++ does't: portability. Sure C++ compiles to machine code, but good luck finding your win32 libs on a linux box...





Java runs on any OS that runs the VM (since its interpreted), this is a huge difference.





Also OOP has a lot to do with organization; with a huge project (100k+ lines of code), nobody wants one gigantic DLL with a gazillion functions in it. These days, we take large projects like that and break it down into modules (classes), to make it more manageable.
false
Nah, Java is pretty nice once you've been in the programming game for a while. It completely gets rid of pointers and is referred to as a managed language. It is compiled into bytecode (for minimum size) and is then interpreted at run time by your installed java VM. Getting rid of pointers makes your life MUCH easier.

No comments:

Post a Comment