Joined: 6/20/2004
Posts: 292
Location: United Kingdom
Due to a conversation in IRC, I decided to post a topic to try and solve the ultimate question... Which Programming Language... C++ or Java. I vote for C++, but I don't really know too much about either. I'd post a Poll but I don't know how to, if it's possible. Edit: Removed Counts
Active player (308)
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
NO!!! THESE ARE THE PROGRAMMING LANGUAGES OF THE FUTURE! EMOTICON l33t
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself. It rests on the conviction that you — by your choices, effort and actions — have made yourself into the kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success." - Onkar Ghate
Bisqwit wrote:
Drama, too long, didn't read, lol.
Joined: 11/22/2004
Posts: 1468
Location: Rotterdam, The Netherlands
Gee, well, that depends. On http://www.freechess.org/, it's possible to play chess online without having any client installed, thanks to Java. That would not be possible with C++. This also ensures it is possible to do this on any operating system, as long as it supports Java. That said, I prefer running C++ programs (or well, of any non-interpreted language -- I don't care if it's C++ or C or SmallTalk or Fortran) for my daily business. The only exception right now is Eclipse, an IDE written in Java. EDIT: don't take this as a vote for C++. Voting is evil. You should just discuss things instead.
Joined: 6/20/2004
Posts: 292
Location: United Kingdom
Don't worry, I wasn't going to class it as a vote for C++. I only added the fake poll for a bit of fun.
Player (36)
Joined: 9/11/2004
Posts: 2623
C++ > Java
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Active player (308)
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
l33t pwnz any language
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself. It rests on the conviction that you — by your choices, effort and actions — have made yourself into the kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success." - Onkar Ghate
Bisqwit wrote:
Drama, too long, didn't read, lol.
Tub
Joined: 6/25/2005
Posts: 1377
I love C++ because it's rough and dangerous. With java, you screw up, it gives you an exception. With C++, you screw up, you'll get the punishment you deserve! All languages should be like C++ to stop stupid programmers from ever attempting to code. Also, you can't get chicks by bragging with your java skills.
m00
Player (36)
Joined: 9/11/2004
Posts: 2623
Tub, whatever planet you're from, I would like to go there.
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Active player (433)
Joined: 4/21/2004
Posts: 3517
Location: Stockholm, Sweden
He is from planet Germany.
Nitrogenesis wrote:
Guys I come from the DidyKnogRacist communite, and you are all wrong, tihs is the run of the mileniun and everyone who says otherwise dosnt know any bater! I found this run vary ease to masturbate too!!!! Don't fuck with me, I know this game so that mean I'm always right!StupedfackincommunityTASVideoz!!!!!!
Arc wrote:
I enjoyed this movie in which hands firmly gripping a shaft lead to balls deep in multiple holes.
natt wrote:
I don't want to get involved in this discussion, but as a point of fact C# is literally the first goddamn thing on that fucking page you linked did you even fucking read it
Cooljay wrote:
Mayor Haggar and Cody are such nice people for the community. Metro City's hospitals reached an all time new record of incoming patients due to their great efforts :P
Tub
Joined: 6/25/2005
Posts: 1377
OmnipotentEntity wrote:
Tub, whatever planet you're from, I would like to go there.
That's my happy place. You can't come here. It's mine.
m00
Joined: 4/16/2005
Posts: 251
I don't like the both of them very much. C++ may be fast in the right hands, but the overhead the coder has to do does not justify it's use unless you really need to be careful about ressources of your given system. The STL at present time is fun, but so overoptimized that it can screw you over faster than you can append a missing semicolon. Other useful things are either missing or highly system dependant. Java on the other hand is an alphanumeric nightmare. The only thing I know that has even longer namespaces is DirectX. For crying out loud, printing to the standard output requires you to access the function System.out.println. In other languages a simple echo does that job. Also it (at least Java 1.4) doesn't even allow you to clean up your mess even if you wanted to. I remember reading in the documentation that every class has a destructor, but it won't necessarily get invoked when the coder wants it. If at all.
Tub wrote:
That's my happy place. You can't come here. It's mine.
Are you in a meditative state, where you block out all annoying, irritating white noise?
Player (87)
Joined: 1/15/2006
Posts: 333
Location: Bangkok, Thailand
It depends on who you are and what you're doing. If you're a company wanting to develop a stable application for all platforms as quickly as possible, Java is probably your best choice. If you're a researcher doing numerical analysis, C/C++ would obviously be faster. Is Java easier to learn to learn than C++? Certainly. I can't possibly see how this could be construed as a bad thing. The code is also easier to read, especially for those who didn't write it themselves. This makes software maintenance more cost effective, and less of a headache for the one actually doing it.
print reduce(lambda x,p:p/2*x/p+2*10**1000,range(6643,1,-2))
Post subject: Re: hey, AdmiralJonB
Player (70)
Joined: 8/24/2004
Posts: 2562
Location: Sweden
pirate_sephiroth wrote:
NO!!! THESE ARE THE PROGRAMMING LANGUAGES OF THE FUTURE! EMOTICON l33t
Personally I like whitespace. ;) http://compsoc.dur.ac.uk/whitespace/ Brainfuck is also a funny one! http://en.wikipedia.org/wiki/Brainfuck
upthorn
He/Him
Emulator Coder, Active player (388)
Joined: 3/24/2006
Posts: 1802
primorial#soup wrote:
If you're a company wanting to develop a stable application for all platforms as quickly as possible, Java is probably your best choice.
Hahahahahaha. Java is sluggish and unstable on every system I've tried it on. Unless you suggest they don't require the JRE, in which case Java ceases to be "write once run anywhere".
How fleeting are all human passions compared with the massive continuity of ducks.
Post subject: Re: hey, AdmiralJonB
Player (87)
Joined: 1/15/2006
Posts: 333
Location: Bangkok, Thailand
Highness wrote:
Brainfuck is also a funny one! http://en.wikipedia.org/wiki/Brainfuck
This is, in fact, nothing but a Turing machine.
print reduce(lambda x,p:p/2*x/p+2*10**1000,range(6643,1,-2))
Joined: 4/16/2005
Posts: 251
Aren't all programming languages more or less?
upthorn
He/Him
Emulator Coder, Active player (388)
Joined: 3/24/2006
Posts: 1802
Gorash wrote:
Aren't all programming languages more or less?
No. Any program which is interactive cannot run correctly on a turing machine. They require predefined inputs.
How fleeting are all human passions compared with the massive continuity of ducks.
Former player
Joined: 3/30/2004
Posts: 1354
Location: Heather's imagination
Java is horrible. Noone actually likes Java. C++ is better, but I prefer pure C. Actually, I prefer a bunch of other languages to C (Python, Kanren), but I like C well enough anyway.
someone is out there who will like you. take off your mask so they can find you faster. I support the new Nekketsu Kouha Kunio-kun.
Joined: 10/2/2005
Posts: 79
Out of the two I will take C++ any day. That being said, I use python.
nesrocks
He/Him
Player (241)
Joined: 5/1/2004
Posts: 4096
Location: Rio, Brazil
upthorn
He/Him
Emulator Coder, Active player (388)
Joined: 3/24/2006
Posts: 1802
I always feel the need to shower after using python. And how is C better than C++? Seriously, I have no idea what everyone keeps talking about when they say C is better, and they always refuse to elaborate when asked.
How fleeting are all human passions compared with the massive continuity of ducks.
Joined: 10/2/2005
Posts: 79
upthorn wrote:
I always feel the need to shower after using python.
Why?
upthorn
He/Him
Emulator Coder, Active player (388)
Joined: 3/24/2006
Posts: 1802
Python just feels wrong in so many ways. I need to clean myself of the ichor when I'm done.
How fleeting are all human passions compared with the massive continuity of ducks.
Editor, Active player (296)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
The only advantage in C over C++ is that it has a longer history and thus a larger number of operating systems it is supported on. Programmingwise, I'd prefer C++ over C any time. Especially because it is backward-compatible in all that matters. As for C++ vs Java, I agree with Warp's columns regarding the issue: * http://iki.fi/warp/grrr/java.html -- Why I hate Java * http://iki.fi/warp/grrr/java2.html -- Java considered harmful (for programming C++)
Player (80)
Joined: 3/11/2005
Posts: 352
Location: Oregon
As for Java vs. C++, it depends. C++ is excellent if you have enough experience with it not to get killed by the many, many gotchas, but Java is nice to cut your teeth on. I'd probably say C++, just not as a first language.
ideamagnate| .seen aqfaq <nothing happens> DK64_MASTER| .seen nesvideoagent * DK64_MASTER slaps forehead