2DWorlds Forums
I will start learning Java. - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: Off Topic (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=5)
+--- Forum: Programming (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=30)
+--- Thread: I will start learning Java. (/showthread.php?tid=7920)

Pages: 1 2 3


RE: I will start learning Java. - Nice - 08-11-2011

(08-10-2011, 07:14 PM)Login Wrote: Saying you were gone was not needed.

Well sorry...
I'm having bad day's.
Oh and, I'm creating 2D game tutorials.


RE: I will start learning Java. - Duck - 08-11-2011

(08-11-2011, 12:42 PM)noob007 Wrote:
(08-10-2011, 07:31 PM)Login Wrote: I agree, but I feel as if Java is a good program language to learn if you want to learn one - if you learn Java, you can learn most all the other languages.

That's only true for lower-level languages like C...

And C++

Quote:Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities.



RE: I will start learning Java. - noob007 - 08-11-2011

(08-11-2011, 01:39 PM)Duck Wrote:
(08-11-2011, 12:42 PM)noob007 Wrote:
(08-10-2011, 07:31 PM)Login Wrote: I agree, but I feel as if Java is a good program language to learn if you want to learn one - if you learn Java, you can learn most all the other languages.

That's only true for lower-level languages like C...

And C++

Quote:Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities.

Ok, but basically if you know C/C++ then you can easily learn Java; the reverse isn't possible.


RE: I will start learning Java. - Duck - 08-11-2011

(08-11-2011, 02:02 PM)noob007 Wrote:
(08-11-2011, 01:39 PM)Duck Wrote:
(08-11-2011, 12:42 PM)noob007 Wrote:
(08-10-2011, 07:31 PM)Login Wrote: I agree, but I feel as if Java is a good program language to learn if you want to learn one - if you learn Java, you can learn most all the other languages.

That's only true for lower-level languages like C...

And C++

Quote:Java is a programming language originally developed by James Gosling at Sun Microsystems (which is now a subsidiary of Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities.

Ok, but basically if you know C/C++ then you can easily learn Java; the reverse isn't possible.

It still makes it easier than learning it without knowing java


RE: I will start learning Java. - CoderRyne - 08-11-2011

I don't know why you're all discouraging him from learning Java first. Java is by far one of the best languages to start off with when you first begin to program. Those of you who are saying "C++ is a better first language" should really rethink that. C++ is actually topped to be one of the worst first languages to learn, and in College, it's rare that anyone learns C++ before Java. In my college career, I've only taken a few C++ courses. Most of the courses I have taken have been in Java programming. In addition, I've recently completed all required Java programming courses, hence my going back to C++ again when the next semester begins.

C++ is way too difficult of a language to first begin with. It would be silly to stop Java for C++. If you really don't like Java (to me, it seems like you are rushing with the language too fast to begin making games [BAD IDEA]), then you should learn C. The C language only has a little over 100 basic built-in commands. With C, you can even find better tutorials online. Remember, Java is a very new language compared to C and C++. You may need to find a *RECENT* book on Java if you want to learn it properly because the language is still frequently updated. Don't read any tutorials on Java because they all suck really bad.

By the way, you shouldn't be jumping into Swing so quickly. Your code is a complete mess (from what you showed me), and you aren't setting half of what you need to set up correctly. I could fix this all for you, but then you wouldn't learn. If you really want to know how to fix it, let me know.

My point is this: Java is your best bet with getting into programming, but C is a good bet too. Whatever you do, forget about C++ for now; you know nothing about how libraries actually work yet, and as I've said, C++ is way too advanced for you right now. I regret ever learning C++ as my first language because it screwed me over for the next two years.


RE: I will start learning Java. - noob007 - 08-11-2011

But I say assembly is the best programming language to begin with.


RE: I will start learning Java. - CoderRyne - 08-11-2011

Assembly? That language might be one of the fastest, but it doesn't really do anything helpful. From what I know, Assembly is more of a language used to speed up your program. You can't actually do anything fascinating with it, and to me, I barely understand any of it. Do you code assembly?


RE: I will start learning Java. - noob007 - 08-11-2011

In my opinion assembly is one of the most useful languages - it allows you to do really low-level things, such as make an operating system.

But why I think it's a really good language to start off with is because of this:

Once you know and understand assembly, you understand how the computer and the OS work internally. That makes you a better programmer overall when you learn the higher-level languages.

And yes, I do know assembly. Though I don't use it much.


RE: I will start learning Java. - CoderRyne - 08-11-2011

(08-11-2011, 03:09 PM)noob007 Wrote: In my opinion assembly is one of the most useful languages - it allows you to do really low-level things, such as make an operating system.

But why I think it's a really good language to start off with is because of this:

Once you know and understand assembly, you understand how the computer and the OS work internally. That makes you a better programmer overall when you learn the higher-level languages.

And yes, I do know assembly. Though I don't use it much.

That was excellent input. Thank you for telling me! I will say that if a new programmer would follow your take on learning Assembly as the *first* ever language he or she would learn, then the new programmer would probably lose interest in programming in general for silly reasons such as, "this language is boring. Programming must suck..." or others. This is the reason in which most CS / programming dropouts decide to drop out at my college. I don't know if this is the same with other colleges.

To me, C would be the best language for someone to learn first because it gives them a great idea about what programming really is now days, with OOP and all. Not only is C easier to learn but it's also a lot more interesting when I compare it with Assembly.

Regardless, I would still recommend to people who want to jump right into programming like Nice to learn Java first.


RE: I will start learning Java. - noob007 - 08-11-2011

(08-11-2011, 03:23 PM)CoderRyne Wrote:
(08-11-2011, 03:09 PM)noob007 Wrote: In my opinion assembly is one of the most useful languages - it allows you to do really low-level things, such as make an operating system.

But why I think it's a really good language to start off with is because of this:

Once you know and understand assembly, you understand how the computer and the OS work internally. That makes you a better programmer overall when you learn the higher-level languages.

And yes, I do know assembly. Though I don't use it much.

That was excellent input. Thank you for telling me! I will say that if a new programmer would follow your take on learning Assembly as the *first* ever language he or she would learn, then the new programmer would probably lose interest in programming in general for silly reasons such as, "this language is boring. Programming must suck..." or others. This is the reason in which most CS / programming dropouts decide to drop out at my college. I don't know if this is the same with other colleges.

To me, C would be the best language for someone to learn first because it gives them a great idea about what programming really is now days, with OOP and all. Not only is C easier to learn but it's also a lot more interesting when I compare it with Assembly.

Regardless, I would still recommend to people who want to jump right into programming like Nice to learn Java first.

I do agree that learning assembly as a first programming language requires lots of willpower (and time). C is also a great language to learn, but if you also want OOP I would suggest C++, for C has barely any OO in it.