Java Or C++

Welcome. Please Login, Register, Or Activate! 
type your username and password to login
Date: November 25, 2009, 12:31 AM
432134 members and 299103 Topics
Latest Member: advardSweargo
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Java Or C++
Pages: (1) (2) Go Down Send this topic Notify of replies
Author Topic: Java Or C++  (Read 1504 views)
J UNIT (m)
Java Or C++
« on: March 04, 2008, 08:07 AM »

which is better to work with.


* Winter.jpg (103.07 KB, 800x600 )
SayoMarvel (m)
Re: Java Or C++
« #1 on: March 04, 2008, 09:51 AM »

Java is better. I've started working on c++ and even the way the language is written is disgusting.
Example:
C++   cout>>"i am a boy";
JAVA   System.out.println("I am a boy");

which is easier to memorize?

Java supports multi-threading in its standard libraries while c++ does not (though you can do that with some third-party libraries).

Talk of the GUI toolkits, plugable look and feel, e.t.c.
Talk of mobile application  develoment, distributed softwares, java made it easier.
I can say it any where that JAVA is better than C++.
SayoMarvel (m)
Re: Java Or C++
« #2 on: March 04, 2008, 09:54 AM »

let me not 4get to tell u dat u shuldn't have added that useless high resolution picture becos it made the page slower.
candylips (m)
Re: Java Or C++
« #3 on: March 04, 2008, 10:19 AM »

It depends on what you are trying to do. All languagues have their advantages and disadvantages
ETL_Dude
Re: Java Or C++
« #4 on: March 04, 2008, 11:12 AM »

I concur with Sandylips, Depends on what you hope to achieve and how , Also, existing applications will play a big role,
after all said and done, all applications have their pros and cons,
SayoMarvel , a lot more constructive criticism would do and less vitriolic statements would suit our eyes,  Grin

cheers,
ThePhantom (m)
Re: Java Or C++
« #5 on: March 04, 2008, 11:15 AM »

I agree with candylips. It depends on what you are trying to develop. I like using Java for web base applets and I use C++ for desktop programs.
Dual Core
Re: Java Or C++
« #6 on: March 04, 2008, 01:57 PM »

i see  programming languages as different roads leading to one jungle. i can say i love the java lang cUz tht's what i waz brought up with, but dude, i go where the money goes its all about rapid app development. so if java gets me there first, java be it. if c++ will get me there first, c++ be it. nothing new in all languages, once u can use one OO language i think u can use other OO languages all ya need is getting the methods/functions and their corresponding syntax and implementation.

but all plus all, much respect to Java.
kambo (m)
Re: Java Or C++
« #7 on: March 04, 2008, 05:28 PM »

i'd advice  u stick with C++ rather than java,the complexity u'll overcome will aid u in mastering other languages.
java is simpler, bECAUSE IT HIDES SO MUCH from than C++ would care. to . C++ lets u see things as they are,
and gives so many options that when u thru with learning it and when u master it,u'd be more versatile. infact u'd be worth 2 java programmers any day.
look at this.
java says
// System.out.println  --- u type 18 character before u print any thing
on the other hand
        C says,
                    cout --- 4 character. if your writing a large program that will require 300 print outs,
u'd appreciate writing 'cout' than the long 'System.out.println' ,
java is bloated.
why?
because it is trying to SHEILD u from complexity, and in the process it makes u too ignorant of what's really going on
.C++ will not sheild u too much so u REALLY know the machine .the choice is urs.
simplicity that leaves u 80% more ignorant while u call urself a programmer
or
learning the nitty gritty the hard way and
being in your league.
besides C++ is the OOP language for systems programming ,the other option is C, and ADA but ada isnt so popular,
with C++ u can write OS code and embedded systems. go for the best ,go for C++.
kambo (m)
Re: Java Or C++
« #8 on: March 04, 2008, 05:28 PM »

i'd advice  u stick with C++ rather than java,the complexity u'll overcome will aid u in mastering other languages.
java is simpler, bECAUSE IT HIDES SO MUCH from than C++ would care. to . C++ lets u see things as they are,
and gives so many options that when u thru with learning it and when u master it,u'd be more versatile. infact u'd be worth 2 java programmers any day.
look at this.
java says
// System.out.println  --- u type 18 character before u print any thing
on the other hand
       C says,
                   cout --- 4 character. if your writing a large program that will require 300 print outs,
u'd appreciate writing 'cout' than the long 'System.out.println' ,
java is bloated.
why?
because it is trying to SHEILD u from complexity, and in the process it makes u too ignorant of what's really going on
.C++ will not sheild u too much so u REALLY know the machine .the choice is urs.
simplicity that leaves u 80% more ignorant while u call urself a programmer
or
learning the nitty gritty the hard way and
being in your league.
besides C++ is the OOP language for systems programming ,the other option is C, and ADA but ada isnt so popular,
with C++ u can write OS code and embedded systems. go for the best ,go for C++.
J UNIT (m)
Re: Java Or C++
« #9 on: March 05, 2008, 06:38 PM »

C++  HAS IT'S ADVANTAGES BUT EVERYONE KNOWS JAVA IS EASIER TO WORK WITH, MORE UNDERSTANDABLE, AND USER FRIENDLY, YOU DONT NEED TO GO TO SCHOOL TO LEARN HOW JAVA WORKS, OR WHAT DO YOU GUYS THINK.
hollandis
Re: Java Or C++
« #10 on: March 06, 2008, 10:30 AM »

A Beginner should start with C++ ,one is bound to be discouraged ,if one commences with java
Olumide7 (m)
Re: Java Or C++
« #11 on: March 06, 2008, 01:58 PM »

A beginner should actually start with Turbo or Qbasic, C++ will break your bone if u attempt to go onto it directly. Any ways it depends on the level of expertise you wanna reach, if u wanna be a big time programmer u have to start with foundational programming languages. On the question on which one is better, I go for Java though I can work comfortably with both, but Java has some interesting features that will make one hate C++ like Java's automatic garbage collection, platform independence and my personal favourite, the ease of creating GUI's.
candylips (m)
Re: Java Or C++
« #12 on: March 06, 2008, 03:21 PM »

Learn C++ first then Java Second
J UNIT (m)
Re: Java Or C++
« #13 on: March 07, 2008, 12:41 PM »

java has bo enums, that's one advantage c++ has over java, but enum's don't matter, i stil think java is better to work with.
Zirconia (f)
Re: Java Or C++
« #14 on: March 10, 2008, 12:23 PM »

I hear that Java is the most popular today and it might be taking over in the future, I personally feel it is handy to have both on your belt.

Check out the link below:

http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Ghenghis (m)
Re: Java Or C++
« #15 on: March 10, 2008, 07:08 PM »

@kambo

1) Java now has static imports so your statement is wrong  2)cout belongs in the std namespace so could qualify it as std::cout


I personally prefer Java cause its simpler and as such you can develop apps faster, but i also recognize that i can't for instance use Java in real time scenario (where deterministic processing is required)

I don't think the C++ complexity is there 'cause Bjarne intended it to be so, its there because of compromise hence you have references,pointers,normal values.
Newer languages tend to be cleaner than their ancestors, so Java borrowed a lot form C++(syntax wise).

And the man talking about GUI ,  have you heard of MFC,BWT, GTK, WxWindows etc ,

Unfortunately java left out some key concepts in programming for safety, i don't think C++ is ideal for starters
C is better then Java(i hate to say this , C#)

note they are all descended from the great language C
adewaleafolabi (m)
Re: Java Or C++
« #16 on: March 10, 2008, 08:31 PM »

Maybe i'll give C a shot certainly not C# i ain't into microsoft no more. Any recommendations on where to learn?
na2day? (m)
Re: Java Or C++
« #17 on: March 11, 2008, 05:26 AM »

it depends on the project at hand. there are tones of things u can use "C" that java wont be appropriate to use. "C" is alot harder though, thats why i stick with C++ only, alot easier and i remember my commands in C++ than i do in java.
javalove (m)
Re: Java Or C++
« #18 on: March 13, 2008, 04:42 PM »

Hmmm, an interesting discussion. Java has its advantages and so does C++. Who says C++ is difficult, take dat back boi, Java is easier to learn and u write less codes and get more done ina little time. C++ on the other hand is also a very very powerful language and good too. If u create desktop applications with C++, u dont have to worry about virtual machine or all dat stuff but it still depends on wat u hope to achieve.

But guy, java is sick, ill and a very powerful language too, its java alld way
J UNIT (m)
Re: Java Or C++
« #19 on: March 13, 2008, 05:46 PM »

i speak java, i eat java i breathe java, java is my life.
echowords (m)
Re: Java Or C++
« #20 on: May 03, 2008, 12:36 AM »

where is the money??
Bassie (m)
Re: Java Or C++
« #21 on: May 03, 2008, 10:21 AM »

Java is no doubt "simplier" than C++ in terms of learning curve and usage, but this simplicity does'nt dent it's Power. One of the advantages that C++ has over Java is that of Backwards compatibility(with C )- a major reason for it's complexity.It's all about what gets things done in a shorter time, n i bet u Java Pays when time's  a factor. By the Way,If Java is simple, what will we say about C#?
sbucareer (f)
Re: Java Or C++
« #22 on: May 03, 2008, 03:06 PM »

x
ebot
Re: Java Or C++
« #23 on: May 05, 2008, 06:34 PM »

Java and C++ are two statically typed languages, one derived from the other. IMHO, java is better but C++ is faster. I generally hate statically typed languages, Python, Ruby and Common Lisp are better programming languages.
logica
Re: Java Or C++
« #24 on: May 05, 2008, 11:11 PM »

python, ruby, lisp  = scripting languages => prototyping.

scripting languages r not suitable 4 real-time, real life applications, @ least not as the basis of the whole app, but may come in handy secondarily 2 enhance the user-experience (e.g javascript).
javarules (m)
Re: Java Or C++
« #25 on: May 10, 2008, 02:59 PM »

There are no super-programming-languages, we only have super-programmers, it depends on what you can do with it, see this post and you will understand what I mean http://ladokites.net/forum/index.php?topic=92.0

my 2cents
c0dec (m)
Re: Java Or C++
« #26 on: May 11, 2008, 06:40 PM »

Quote from: ebot on May 05, 2008, 06:34 PM
Java and C++ are two statically typed languages, one derived from the other. IMHO, java is better but C++ is faster. I generally hate statically typed languages, Python, Ruby and Common Lisp are better programming languages.

dynamically typed languages are a real pain in the a** to debug
sbucareer (f)
Re: Java Or C++
« #27 on: May 12, 2008, 10:02 AM »

x
Smart K. (m)
Re: Java Or C++
« #28 on: May 12, 2008, 10:41 AM »

I like the topic: "Java or C++". The question is not which one is better.

Java was developed from C++. It depends on what you want to do. U may use any language of preference. But I must point out that the way it would be meaningless, and time-wasting to use assembly language to web app (in the year 2008) so it would be unthoughtful trying to use Java for device drivers.

In fairness, Java is more modern compared to C++ but C# is more modern compared to Java. In fact, new languages (or dervied languages) borrow or leverage on features of their parents and make them better.

So, Java or C++. Whichever. Giving the fact that we dont code machines in this country, I beleive we are nearer to Java, C#, VB, etc since we mostly develop business app.

Good luck.
jennyjatt
Re: Java Or C++
« #29 on: May 12, 2008, 01:08 PM »

please do anybody have any info about Aptech or NIIT. i just want to know which is best and which is worth a life career. do they really teach? are there job offers? is it worth the money they are demanding? do Aptech or NIIT students have lots of job opportunities? please help.
logica
Re: Java Or C++
« #30 on: May 13, 2008, 12:13 AM »

@sbucareer

i don't quite understand. so if i use an acronym, a newbie cannot ask if he doesn't understand, or simply use google to find out?

let's be frank, programmers r generally autodidacts, & to develop in this area of specialization u have to be one. u have 2 develop the drive 2 learn by urself. u should not expect 2 be spoon-fed. i may sound harsh on the up and coming programmers, but the earlier they know this the better.
Bassie (m)
Re: Java Or C++
« #31 on: May 16, 2008, 06:36 PM »

Logica, i Agree totally with you.Passion is what drives one in the pursuit of knowledge, Ignorance is the greatest stimulus to learning
 Need Help, Howto Export All Email Addresses On Mdaemon Mail Server:   Php Header() Function Error  Exception In Thread "main" NoclassDefFoundError; Class Name  Page 2
Pages: (1) (2) Go Up Send Topic to Friend by E-mail Reply 


Sections: Autos/Cars (2) Jobs/Vacancies (2) (3) Career Talk Education General(2) Politics Romance Computers Phones Travel
Sports Fashion Health Religion Celebrities TV/Movies (2) Music/Radio (2) Books Webmasters Programming

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa. See also: Nairalist Classified Ads
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.