This week's book giveaway is in the Android forum.
We're giving away four copies of Learning Java by Building Android Games and have Jean-Marcel Belmont on-line!
See this thread for details.
Win a copy of Learning Java by Building Android Games this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

I don't know what it is, but so far this is easy.  RSS feed

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the second of my required posts for my Java class, I might as well mention one of the reasons why I like Java.

I've tried C++ (as Programming Fundamentals 1) and it was an incredibly complicated and difficult language. Prior to that I practiced a little bit of Java here and there and so far I've been reminded of what I noticed before; Java is a simple and easy language. I've been told it's not as powerful as C++ but I think that it's versatility more than makes up for any lack of power. I haven't delved into Java enough to know if maybe it does have the ability to build some really powerful programs but I have seen enough to know it's the language I want to focus on.
 
Ranch Hand
Posts: 996
9
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that you can assume that with java you may build powerful system (since there are such java powered by systems out of there) but don't underestimate java enviroment complexity just because its syntax (and sematics, i think )
is by far easier.
 
Bartender
Posts: 689
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tend to agree that programming in Java is much easier than programming in C++. This isn't necessarily down to the language syntax, but more the IDE environment. I've worked on one C++ application and many Java applications, all using Eclipse as the IDE. Things such as tab-completion, ctrl-click and syntax error highlighting all just work with Java projects, but were much more of a struggle to get working with C++.

On top of this, the compiler errors from gcc were often much less readable than the compiler errors from javac.

Now I admit I've never programmed C++ in visual studio and I hear that gives a much better experience, but if you're targeting and developing on Linux then it isn't an option.
 
Claude Moore
Ranch Hand
Posts: 996
9
IBM DB2 Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as i know, visual studio c++ at the very end compiles your code to .net framework, so i can't see any advantage over using c#.Maybe with c++ in vstudio you may write unmanaged code more easily, but that's a niche programming.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!