re: [General] Java vs C++
C++ takes alot of time to learn but as counter part, it is more 'powerful' in the way that it's is not interpreted as is Java (making Java slower), but as it is more complicated for a beginner I would suggest you to go for Java, you can easily find source codes of servers coded in Java, and it will help you learning I think.
re: [General] Java vs C++
Quote:
Originally Posted by
PaulBub
C++ takes alot of time to learn but as counter part, it is more 'powerful' in the way that it's is not interpreted as is Java (making Java slower), but as it is more complicated for a beginner I would suggest you to go for Java, you can easily find source codes of servers coded in Java, and it will help you learning I think.
Oh okay thanx.
Well so java is easier to learn but slower to make ?
Also, can i create like ''anything'' with java? as they say with C++.
Like Games,OS,Internetbrowser.
Ofc it may need alot of experince java devs but is it possible?
re: [General] Java vs C++
re: [General] Java vs C++
Quote:
Originally Posted by
PaulBub
Yes you can.
Okey.
I was suposed to learn C++ but i wanna use W3schools tuts and they dun support c++ what ive seen.
So ill go for java :D Thanx.
Any more lanugege i shall learn after? to help me in the future with my coder goals.?
re: [General] Java vs C++
Notice that I never learnt Java, but if you want to learn fast, Java is a good idea. Learning C / C++ is always a good idea but keep in mind that it will take years.
re: [General] Java vs C++
Quote:
Originally Posted by
PaulBub
Notice that I never learnt Java, but if you want to learn fast, Java is a good idea. Learning C / C++ is always a good idea but keep in mind that it will take years.
I see^^
Java seems fun ^=o
hmmh, yea C++ looks kinda slow, but which of em is most effective?
re: [General] Java vs C++
It depends on what you do to optimize your code, but that's not a big deal at your level, you should try both and stick to the one you prefer, it is all up to you.
re: [General] Java vs C++
For games I recommend C++ because Java requires it's framework. C++ requires only computer. :)
re: [General] Java vs C++
Okay ;o
Well is it possible to get knowledge bout both? =o
Or will it just be confusing.
re: [General] Java vs C++
Quote:
Originally Posted by
challe1995
Okay ;o
Well is it possible to get knowledge bout both? =o
Or will it just be confusing.
Programming languages usually differ slightly from each other. I have a book at home that mixes Java & C++ throughout the whole book. It also throws in some BASIC, C, Python, and other languages. Even Ruby.
I suggest learning as many programming languages as you can at a time. It teaches you how to keep programming logic in mind, rather then the language. I'm tired of this, IT'S NOT ABOUT THE LANGUAGE, PEOPLE!
Every piece of software has a purpose, often very unique from others. For games, you might try Java over C++ simply because of the frameworks you have to work with. For beginners especially, Java is a much friendlier environment. C++ developers usually spend money (like on books and schooling) to learn efficiently. Java is very easy to download, find tutorials online, and start coding. Whereas C++ might take a bit more time & research.
To be perfectly honest, I'd suggest Flash or Flex to get started on game design. Those languages are allot more flexible then people think. Flex might be your best bet, that is, if you like desktop games ;)
Java or Flex for desktop games, Java or Flash for online games. Flex & Flash are probably more beginner friendly then Java. (Less programming & technical gibberish for the untrained mind ;)
No matter what language you choose, the practices & logic you use from one to the other should only shift slightly, which is the main part you need to learn. Syntax will come second.. Always.
Start with Java, if it's too intimidating, go with something more visual like Flash or Flex. C# & Silverlight are also good options.. Though usually performs slower than any other options I mention...
Good luck, Soldier :cool:
re: [General] Java vs C++
Quote:
Originally Posted by
s-p-n
Programming languages usually differ slightly from each other. I have a book at home that mixes Java & C++ throughout the whole book. It also throws in some BASIC, C, Python, and other languages. Even Ruby.
I suggest learning as many programming languages as you can at a time. It teaches you how to keep programming logic in mind, rather then the language. I'm tired of this, IT'S NOT ABOUT THE LANGUAGE, PEOPLE!
Every piece of software has a purpose, often very unique from others. For games, you might try Java over C++ simply because of the frameworks you have to work with. For beginners especially, Java is a much friendlier environment. C++ developers usually spend money (like on books and schooling) to learn efficiently. Java is very easy to download, find tutorials online, and start coding. Whereas C++ might take a bit more time & research.
To be perfectly honest, I'd suggest Flash or Flex to get started on game design. Those languages are allot more flexible then people think. Flex might be your best bet, that is, if you like desktop games ;)
Java or Flex for desktop games, Java or Flash for online games. Flex & Flash are probably more beginner friendly then Java. (Less programming & technical gibberish for the untrained mind ;)
No matter what language you choose, the practices & logic you use from one to the other should only shift slightly, which is the main part you need to learn. Syntax will come second.. Always.
Start with Java, if it's too intimidating, go with something more visual like Flash or Flex. C# & Silverlight are also good options.. Though usually performs slower than any other options I mention...
Good luck, Soldier :cool:
Greatest answer so far :p
Well thanx for giving me all the info and so on.
Im very thanksfull for your serious and correct answer!
I'll make yo proud sir!
re: [General] Java vs C++
Great anwser, s-p-n!
Also remember, learn whatever language you wanna lean, the right way. Not by getting good at scripting NPC's in MapleStory. Sure it gives some basic experience, but many of the basic functions will cause errors and the functions used in the scripts are defined espicially to the MS server.
I'm told by my father, which is working with software developing (Well Delphi but yeah), told me that Java is fine for smaller appications but is bad for bigger things, since Java is slower (Said earlier), but C++ is more hardware dependant. So its up the single person.
Please also bear in mind that you are not going to learn what ever language you are going to learn, in a few weeks. It takes time, but if you really want to succeed, you will learn it. The best way of learning it, in my opinion would be taking classes, or studying books on a regulair basis.
Good luck with your future learnings and projects.
re: [General] Java vs C++
Do yourself a favor and don't try to write a server in Java. A game, perhaps, though you might want to hack up how you manage objects to make sure the garbage collector doesn't cause your game to suck down memory that it doesn't need.
re: [General] Java vs C++
Well, for ms games you need to know Java.
C++ is like dead for maplestory, but I'd go for Java cause its easier.
re: [General] Java vs C++
Quote:
Originally Posted by
ihatehaxor
Well, for ms games you need to know Java.
C++ is like dead for maplestory, but I'd go for Java cause its easier.
You don't "need" to know java for anything. Don't lie.
re: [General] Java vs C++
actually yea u do.
For maplestory you do need to know Java, or else you wouldn't know what you are doing.
re: [General] Java vs C++
Quote:
Originally Posted by
ihatehaxor
actually yea u do.
For maplestory you do need to know Java, or else you wouldn't know what you are doing.
I'm afraid that most of the people that downloads and sets up a source based on java doesn't know shiz of what their doing. The tutorials on how to mod your source when MS section were open didn't describe anything about java, only about the methods that were avaiable to be used, and how people should do in order to do as they wanted the specific thing to do. Sadly.
re: [General] Java vs C++
Quote:
Originally Posted by
ihatehaxor
actually yea u do.
For maplestory you do need to know Java, or else you wouldn't know what you are doing.
Fairly certain I could make an emulator for MS without using one line of java....
re: [General] Java vs C++
Choose what you like.
An OS in Java would be more difficult...you'll need to write the interpreter as well...and Java is generally more difficult to optimize by the compiler so will often result in often unnoticeable slower performance.
Re: [General] Java vs C++
Well, I've been learning C++ lately, So I know what's it's like. C++ is more complicated. It depends on how fast you learn. I learned in 3 months because of the similar lanuages of c++ like PHP. It looks a bit similar to me I guess like their functions and else if. So i'd say that Java is much more easier since C++ is for hardcore games :P
Re: [General] Java vs C++
Quote:
Originally Posted by
johnnyrocks
It depends on how fast you learn. I learned in 3 months because of the similar lanuages of c++ like PHP.
Lol, then what are mutable variables in classes? What's the Pimpl-idiom? What is a heterogeneous array? Why should you avoid macro's? What does a dynamic_cast do more then just a regular C cast?
I'm sure you're not even half way to knowing C++ ^^, unless you program 24/7 hehe.
Re: [General] Java vs C++
i've been studying C++ for 11 months and I would still consider myself quite
"inexperienced" in the field.
C++ is the most industry standard language. Even though I have seen company's looking
for C# programmers a lot lately (for server side development)
Java is more used for small time applications (such as mobile games) rather
than grand scale projects. Java support OpenGL as well as Direct X.
The fact that garbage collection is not up to programmer in Java, hurts it
more than it helps. While it does make life easier for the programmer. It
slows down your program and (at rare times) leads to some nasty bugs in
the program
Take a look at Employment areas for Software Engineers
EA Sports
Blizzard
Bethesda Softworks
Bungie
What do you notice in all of these ? they all require that you have extensive
knowledge of C++. There's bound to be changes in the future in where
framework languages will get more recognition into the game industry.
Languages such as Java and C# are still fairly new compared to C/C++.
And in the end it's really all about preference. In my opinion nothing could
ever be too complicated for the human mind and grasping something
as C/C++ is far from impossible.
If you really love programming than you will go to any means to learn what
you love to do. Even if it does mean learning something difficult.
Re: [General] Java vs C++
C++ and java is the same shit. Just C++ is a tad bit harder.
Re: [General] Java vs C++
I personally use Java more, but I have a great deal of knowledge in C and C++ (I still like null terminated strings and the cstring library over C++'s strings though), and besides, Java can be decompiled, so it's basically entirely open source. There is no reverse engineering with Java.
Quote:
Originally Posted by Daevius
Lol, then what are mutable variables in classes? What's the Pimpl-idiom? What is a heterogeneous array? Why should you avoid macro's? What does a dynamic_cast do more then just a regular C cast?
For humor:
1. Variables that aren't immutable.
2. Variables that aren't transparent. (Their technical name.)
3. An array that isn't all messy with its memory.
4. God created the preprocessor at the same time as Satan.
5. A dynamic cast bends, so it's good for fingers, a static cast doesn't, so it's good for long bones.