Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

why to learn C and C++ when we have JAVA


  • Please log in to reply

#1
Geeks King

Geeks King

    Member

  • Member
  • PipPip
  • 13 posts
why to learn C and C++ when we have JAVA?
  • 0

Advertisements


#2
Geeks King

Geeks King

    Member

  • Topic Starter
  • Member
  • PipPip
  • 13 posts
why to learn C and C++ when we have JAVA?
  • 0

#3
Babbzzz

Babbzzz

    Writing Staff

  • Member
  • PipPipPip
  • 234 posts
Hello Geeks King :)

It's a good question.

C is usually the best first time language. It has a lot of basic functions that help you understand and build up your logic. This is a key reason why C is taught in schools. C as a first language just makes you a better coder I've always thought. C is the base for most modern high level languages, learn C, you can learn anything!

There are probably other reasons as well. Let's see what the others think. :)

But JAVA is easier to debug than C.
  • 0

#4
Spike

Spike

    nOoB

  • Member
  • PipPipPipPip
  • 1,355 posts
Hey there Geeks King,

Before going ahead and making statements of why to learn C++ over Java, it should be clear that both languages are independent and a choice of using one over the other is entirely project dependent.

There are a ton of pros and cons to both languages and why each language may be be favored over the other and again as I mentioned its entire based on your requirements and what will be more appropriate for the case. So if you do some searching you'll find a few main differences but here are two to why I personally prefer C++ over Java.

1. C++ runs in native executable machine code; where as Java runs in a virtual machine. There are some cases where you would want your application to run outside of a virtual environment. Also to mention Java based on C++, was also written in C and C++.
2. C++ allows for explicit memory management; where Java has an automatic garbage collection. I personally think this would be the most appealing aspect to why to choose C++ over Java, having full control over memory instead of depending on a hopefully proper working garbage collector.

Those are just 2 reasons I can think of right now and I am sure there are plenty others for and against. Also keep in mind Java would be considered a very high level language as is C++, but C++ also works on a very low level; What I mean is Windows, Mac and Linux kernels were all written in C/C++ and some Assembly.

If you looking for a reason to learn C++ over Java, my opinion would be to learn both! I think learning C++ will also give you a little more of an appreciation to a language such as Java.

Peace Out Posted Image
  • 0

#5
Geeks King

Geeks King

    Member

  • Topic Starter
  • Member
  • PipPip
  • 13 posts
Thank you Babbzzz i know understand why to learn c
  • 0

#6
Babbzzz

Babbzzz

    Writing Staff

  • Member
  • PipPipPip
  • 234 posts
Don't mention it! :)
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP