Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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,357 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