LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Blogs > Lone Wolf
User Name
Password

Notices


Rate this Entry

Java programming.

Posted 02-07-2011 at 08:50 AM by lupusarcanus

I've been considering learning it. Lots of great info, cross-platform and popular. What is to not like about that?
Posted in Uncategorized
Views 8511 Comments 3
« Prev     Main     Next »
Total Comments 3

Comments

  1. Old Comment
    Quote:
    What is to not like about that?
    Well, about the cross-platform thing...C/C++ can be cross-platform as well. The only main difference with Java is that you don't need to recompile your code for each OS/platform, which is convenient, but of course there's the JVM overhead which affects both load time and runtime speed.

    Another thing is that AFAIK pointer arithmetic isn't really taught in Java (I take it memory management/"garbage collection" is done automatically by the JVM? ).

    I suppose it wouldn't be too hard to transition to something like C++ from Java, though, seeing as how Java is totally object-oriented (I believe even basic data types, e.g. int, char, float, etc. are considered objects with members). Don't quote me on that, though, as I've never programmed in Java myself.

    Either way, I think it's cool that you're learning a programming language at all...are you learning online, or are you planning on taking courses in school? (You had mentioned this in that ancient tome-of-a-thread called "What are you doing now?". )
    Posted 02-07-2011 at 03:08 PM by MrCode MrCode is offline
  2. Old Comment
    Java = software patent encumbered. (for all practical purposes, unless your a good friend of Larry Ellison.)

    I have lived on the Texas coast for a bit of time, and I have yet to hear of Oklahoma having a real hurricane that made it that far.
    Posted 02-07-2011 at 05:28 PM by peonuser peonuser is offline
    Updated 02-07-2011 at 05:32 PM by peonuser
  3. Old Comment
    Quote:
    Originally Posted by MrCode View Comment
    Another thing is that AFAIK pointer arithmetic isn't really taught in Java (I take it memory management/"garbage collection" is done automatically by the JVM? ).
    There isn't any pointer arithmetic in Java, but that's becasue it's not needed. And yes, it deos have a garbage collector, so you can completely forget about memory management.

    Quote:
    Originally Posted by MrCode View Comment
    I suppose it wouldn't be too hard to transition to something like C++ from Java, though, seeing as how Java is totally object-oriented (I believe even basic data types, e.g. int, char, float, etc. are considered objects with members). Don't quote me on that, though, as I've never programmed in Java myself.
    Basic types in Java are not objects and don't have members.
    Posted 05-02-2011 at 03:22 PM by MTK358 MTK358 is offline
 

  



All times are GMT -5. The time now is 10:50 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration