Saturday 22 January 2011

C++ vs Java

C++ is one of the most hardcore, awesome languages to have graced the computer world. It's raw power and speed combined with excellent OOP support, which makes it one of the best. But recently I've turned my eye to java. Java is alot of the things C++ isn't; it's slow, with automatic memory management, forced OOP and alot of other things that make it very different. I have, however been finding it to be very productive since I started programming in it.

I started out by making a (not so) simple program to check my mail and tell me if it's found anything. I was blown away at speed and ease in which I completed it. All the restrictions sucked, but my code looked plain awesome, which, coupled with it's short length in comparison to doing it in C++, had me hooked.

After completing a few more projects, I have come to the conclusion that Java certainly has it's place in my toolbox. I still enjoy coding in C++, and I prefer to do my work in that if it's not going to drag it out, but my old view (perhaps caused by ignorance) that Java was plain retared has definetly changed. 

14 comments:

  1. C++ is much more powerful, java's good for smalltime projects or so I hear, maybe I'll take a java course next semester

    ReplyDelete
  2. Hey man, if you will be posting some code check this out:

    http://alexgorbatchev.com/SyntaxHighlighter/

    Great tool to post some clean and readable code. I'm using it ;)

    ReplyDelete
  3. I always found C++ way more complicated

    http://thisemptybook.blogspot.com/

    ReplyDelete
  4. I'm kinda new to CS... but I know I'm gonna love majoring in it.

    Following :D

    ReplyDelete
  5. I like C++ way more
    Nice blog here

    viewed and followed!

    check out my blogs :

    http://killuvogel.blogspot.com/
    http://killusmusiclair.blogspot.com/
    http://killunewsflash.blogspot.com/

    ReplyDelete
  6. I plan on learning C or Java, always useful

    ReplyDelete
  7. I'm still learning how to code.

    ReplyDelete
  8. Oh boy, I remember my C16 with BASIC V3.5, I later downgraded to BASIC V2.0 with the C64 - but had finally the immense amount of 64kB RAM available at my disposal, muahahaha. Jolly good times. Nowadays, this would only store a single small .jpg

    ReplyDelete
  9. I can't use neither. :(

    Following and supporting. :)

    ReplyDelete
  10. I like java because it runs Runescape LOL

    ReplyDelete
  11. I always wonder why we need some many languages. Surely there must be a way to create a language to replace all others

    ReplyDelete