Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Proposition for programming tutorials (You decide!)
#20
(08-05-2011, 11:40 AM)noob007 Wrote:
(08-04-2011, 02:52 PM)CoderRyne Wrote: You see, Java is incredibly fast, powerful, efficient, professional, and simple enough to use to make a great game or pretty much anything that you want to make. Not to mention, unlike other languages such as C++, Java was built so that it is cross-platformed by default! You don't need to recompile your programs on Windows, Mac, Linux, etc, every time you want to update your program. When I first started Java, I promise to you that I wrote the slowest, dumbest programs that the world has ever seen. What was I doing wrong though?

C++ is actually more cross-platform than Java. The Java programming language was made only to work on the Java platform, while C++ can run on virtually any software platform.

(Let me respond to your post in a way that (almost) everyone here can understand).

Regardless, Java is installed on almost every computer in the world. Almost every C++ program has been written as Windows OS-specific, so what does that tell you about "C++'s more cross-platform" capabilities? Yes, I will say that C++ can work perfectly fine cross-platformed, but it's a total pain in setting your programs up that way. All I know is, I wouldn't want to recompile my programs and individually test them on every system that I coded my program to run on for every little update I make. This is what drives a lot of C++ programmers away from making their programs completely cross-platformed.

Java, as long as you have it installed and updated, will create almost no work for a platform-independent programmer. The only work they need to do (from my experiences) when writing a program that is by default meant to work on every OS with the most recent version of Java installed on it, is in the case that they are writing custom controls (controls in simple terms, for those who do not know, are buttons, "drop down menus", scrollbars, "textboxes", etc) in a control code library such as Swing.

For example, if I set the background color of my Button on Windows to (0, 0, 200, 150), my button will be a rather transparent shade of blue. If I then go ahead and decide to set the foreground (text) color of the same button while coding on a Windows OS to white, and then I put my program on my Mac OS, when I run my button program on the Mac, it will look awful. Since Mac's control backgrounds are mostly all a light whitish-light grayish color by default and since they cannot easily be tampered with, the control will not be a transparent shade of blue. That means that the "white foreground" I had mentioned earlier will barely show up, and the text on the button will barely be visible. This is definitely a good, yet small example of one of the few examples that I can think of in which Java doesn't work right "cross-platformed". This isn't a bug in the program, but it was for sure a design flaw from Java's makers.

Anyway, before I get too into this response, I think I will stop there. You get the point, right? I really don't care to argue with you about which language is better in this forum thread in particular; you could PM me if you would like to discuss this further, or wait until Jacob makes the new forum. Thank you for your comment though!
-CoderRyne
Ryne Thiel
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)