Should I learn JAVA or C#?

Should I learn JAVA or C#? Or...both of them!?

For the record, C# does not support multiple
inheritance. It is very much like Java except that it
has a few extra goodies thrown in. For my tastes, it
is not as pure as Java, but it is an improvement over
C++ and it has a few things, like operator
overloading, that would look nice in Java. Hey! Wait!
Stop! Stop the tomatoes! Please!Ugghh, operator overloading. What a nasty nasty thing that was. Why change something you have been seeing since you were in diapers to mean something else. + should alwalys be plus because we have all grown up knowing that. Imagine if you had a child and for the fun of it you taught him growing up that his left hand was his right hand,think of all the confusion he would have when he is learning how to drive and his instructor tells him to take a left. Even though he may learn that what he believes is left is now right he will always first think of his left hand as his right.

Similar Messages

  • Why learn Java Instead of C++ or...

    Why should people learn Java and use Java than C++ or other programming languages?
    Some of my personal reasons are:
    1. Java supports four look and feels without having to create them from scratch, they are already available for quick use.
    2. Java compiles fast, and runs fast. It's easy to understand. You can *.jar it into one file! No *.dll's!!!

    I like Java too (duh!), but...
    Why should people learn Java and use Java than C++ or
    other programming languages?
    Some of my personal reasons are:
    1. Java supports four look and feels without having
    to create them from scratch, they are already
    available for quick use.
    What? how is that an advantage over much of anything? OK, you could say that you can write a very complex GUI application and have it run on a number of very different applications using a common L&F or a platform-appropriate L&F.
    2. Java compiles fast, and runs fast. It's easy to
    understand. You can *.jar it into one file! No
    *.dll's!!!Before there were .DLL's and .so's there were big-ass executable files with everything linked into them. Oh wait, you can still do that on Win32 and Unix if you want to (except of course for the OS shared libraries which Java's JRE needs too).
    Chuck

  • HTML5, CSS3, Java Script- which should one learn first?

    Super beginner here. Been awhile since worked in Dreamweaver so like starting over from the beginning. Which of the three is the base one needs to start with in learning- Java, HTML or CSS3. Know each is specialized in various areas but as a starting point which should be the first to learn? Thank you....

    What Murray said.
    Definitely HTML first.
    Everything else in a webpage (CSS, JS, PHP etc) relies on HTML for structure and 'hooks' so that the page works properly.
    You'll probably find yourself learning HTML and CSS in parallel since they're so closely intertwined on modern websites.

  • What language should I learn?

    What single programming language should I learn that is most flexible? It's needs are to form the basis for MacOSX Cocoa applications, Linux command-line programs (and preferably least X11). This I ask here, for scientists likely lurk here, but don't always program in Objective C. (Though I've heard nothing but good things about it!)
    Currently, I use a variant of APL to assist as I work. When simplifying my life, around 1980, I changed to one editor: the platform-independent emacs. Now I should like to do the same with a 'general' programming language.
    Science is free, and scientists (I might suppose) support Richard Stallman's philosophy. Scientific source code needs be freely offered, written in an ISO standard language, and capable of being made platform-independent. It must easily be modified to use scientific libraries (lapack & netlib's others) and write linux, command-line programs, distributed by way of Sourceforge.
    I've been separated from other scientists for a long time. Is there a language satisfying the above scientific requirements that can also write 'modular' object-oriented applications for MacOSX, using the Aqua interface? If there are no caveats to using 'Java' for this purpose, I'll invest time in that. Have scientists or others faced this question?
    Thanks,
    Bruce
    PS. This question arose while searching for a simple little program to change images into icons:
    http://discussions.apple.com/message.jspa?messageID=7511505#7511505
    Here's the continuation of that post, that illustrates the problem, likely faced my many:
    Indeed, ... I could always use GraphicConverter.
    This topic begs the question of why we use GraphicConverter or PhotoShop to change a single color in an image. That's wasn't always supposed to be the case.
    Unix's credo: do only one thing, but do it well, and the popularity of Lotus 1-2-3, decades ago caused a great idea to emerge and gradually grow, until it became alive in developers' minds. Then it suffered a quick death, from unknown causes.
    Modular Software
    One day, a housewife becoming tired of spending a year learning and 'tuning' huge word processors to write a quick note saying she had gone to the corner market and would be back soon. The concept of modular software emerged: one would buy essentially, a text editor, then buy only those extra little modules you needed for your particular use: editing frills (as in emacs), formatting, adding images, importing & exporting formats, &c: 'personal' software. This needed a modular language; and, as it happened, C++ emerged soon. What ever happened to this idea (or the idea of using sounds for messages in addition to alarms, as in Growl), I never understood.
    Simple Software
    Many 'Google Images' have a white borders. It would be a clever idea to make background colors 'pure' (not in need of dithering when converted to a raster image). In the latter case, every GIF image could be dropped on an icon that could convert the lower-righthand pixel (the background) to a 'transparent' color. An old GIF image taken from the web could lose its background, and be ready to paste to the tiny icon in and 'Info Window'.
    Simple Modules
    Ah, but what about a Shft-Cmd-4 copy from my desktop? Mine are in JPEG format. I need to convert it to GIF. I could add a conversion module to the original little program (which could even convert to PNG). Ah, but the color of my Desktop varies or is, at least, not an 8-bit color (thank God). Then I could add a module that 'de-dithers' the color.
    Relation to Unix
    In old Unix these would be filters, something like this:
    cat image | ddthr | rfmt -png > icon
    Now I find myself using PhotoShop or GraphicConverter for finding & changing one color in an image. I'm still looking, and now becoming inclined to start programming again (which was always a mistake in the past).
    Problems with Programming
    Programming, I've avoided for two reasons: (1) two decades ago, I realized I had learned nearly a dozen text editors until I decided to use solely the platform-independent 'emacs'; and (2) I discovered it took me well over 6 months to master any programming language (more for a word processor), yet less than 6 weeks to forget it completely. (In the distant past, it was wise to choose one's language to match the project.)
    Macs
    However, I switched from Unix to Mac so I wouldn't have to think about computing any longer. Macs had always been built for such people as I, they are beautiful, and they can maintain themselves (or, a networked one can be set-up to do so).
    APL
    My preferred language is the APL variant 'J', which I use daily to test hypotheses, as I think about my research. Such a language, by the way, is great for pre-school children who can't read words yet. (Whether they'll ever be able to punctuate English correctly is another matter.)
    http://www.jsoftware.com
    Need for another Language
    However, I need eventually to convert my scientific algorithms to run in a Linux shell, using Linux's operators (such as 'filter' or 'tee') to combine the little modules.
    I'm now considering (re-)learning the platform-independent 'Java' language, and developing applications on Sourceforge. This way, scientific (ie. free) calculations could be integrated into online scientific papers and placed on other websites as well.

    Kappy,
    Sorry, I thought the question would be a common one confronting casual programmers. With such a variety of popular languages, there is likely no simple answer. I rescind the question with an apology and shall investigate my own problem myself. Sorry.
    The question was, being tired of using the wrong but kindly written MacOSX applications, is there a programming language I can learn now that will also serve me in the future?
    1. Now I need to write, for example, the program described to process photographic images, whose structures are arrays of arrays. Is there a language with such structures less bloated than C++?
    2. Old APL an object-orented language designed for quickly writing algorithms for exactly these structures (the common structures in engineering, science, and mathematics).
    3. Is there an object-oriented language for such structures, also used to write MacOSX applications, that one can learn to correctly build applications in 6 months (rather than 6 years)? This means strong typing, static type checking, automatic memory management, &c. An 'interpreter' as well would be nice!
    4. For science, it must be a high-level, very portable but standard language that can be compiled into (say) byte code for a standard virtual machine that is on all computers. For image processing on my own little Mac, it needs to be compiled all the way to Altvec-optimized machine code.
    5. Is there now such a beast? One that can be hooked at a low level with libraries (written in C or C++), and hooked at a high level to an OOUI (Aqua, in particular)?
    Sorry, I expected an engineer to say:-
    'Sure, MacOSX's compiler is based on the GCC, which contains a compiler for Java. It hooks at many levels. We use it to send code to afilliates around the Globe; and even Windows users haven't complained.
    'Several lexical analyzers have even been written (in C) for Java: so you can parse your spam as well!'
    But I don't know the above to be true.
    I was looking for reasons why Java might not be the better of the GCC languages for 'amateur programming'. I'm sorry I 'passed the buck', when I shouldn't have. This footwork I'll do myself after I can again install /Developer.
    Things I expect to be common problems never are.
    Thanks anyway.
    Bruce

  • How to learn Java!!(help me!)

    I am a beginner.I've learned Java for 6 months.But I still don't konw what is Java.Can somebody tell me how to learn Java step by step?For instance,which one should I learn first,and then what to learn next?Thank you!!!!

    I've learned Java for 6 months.But I
    still don't konw what is Java.I take it by "learned Java for 6 months" you don't mean programming with it. If you've done programming with it, you should have some idea of what you're actually doing. If not, here is a basic idea of what Java IS:
    1. Java is a virtual machine (it's kind of like a "fake" operating system running on top of your own operating system (like Windows XP).
    2. Any operating system that has a copy of the Java Runtime Environment ported to it can run Java programs. This allows Java programs to be cross-platform.
    3. Java is also the name of the language used to write programs for this virtual machine.
    4. Try clicking on the Documentation link at the left of this forum for more information about Java :P

  • Recommendations for Book on Learning Java on Mac OS X Tiger?

    Can anyone recommend a book title or two on Learning Java on Mac OS X Tiger? A generic learn-java-book is fine -- it just has to not be Windows-only. ie. the examples or included CD should at least include instructions for running the examples on a JAVA IDE available for other platforms such as Mac OS X (e.g. Eclipse).
    Thanks in advance,
    ...ben
    PS. Wish Dave Mark had a Java version of his classic: Learn C on the Macintosh
    PB G4 15 1.67 GHz, iBook SE 0.47 GHz Mac OS X (10.4.3)
    PB G4 15 1.67 GHz, iBook SE 0.47 GHz   Mac OS X (10.4.3)  

    Just download eclipse and do sun's java tutorials. They're very well written and cover pretty much anything you need to do with Java.
    http://java.sun.com/learning/tutorial/index.html
    cheers,
    /john patton/

  • Learning JAVA

    Hello!
    I'm in the process of learning JAVA. I'm really new to it so i was wondering; is there any websites, programs, tutorials, books etc that i should read to be able to learn it better?
    Cheers,
    owg123

    They 're very hard to find as warnerja posted, but nevertheless I've managed to find a few over the years.
    [Sun's basic Java tutorial|http://java.sun.com/docs/books/tutorial/]
    [Sun's New To Java Center|http://java.sun.com/learning/new2java/index.html]
    Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    jGuru
    A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch
    To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    [Yawmarks List|http://forums.devshed.com/java-help-9/resources-for-learning-java-249225.html]
    [The Java Developers Almanac|http://www.amazon.com/exec/obidos/tg/detail/-/0201752808?v=glance]
    [http://javaalmanac.com|http://javaalmanac.com]
    Bruce Eckel's [Thinking in Java(Available online.)|http://mindview.net/Books/DownloadSites]
    Joshua Bloch's [Effective Java|http://www.amazon.com/Effective-Java-2nd-Joshua-Bloch/dp/0321356683]
    Bert Bates and Kathy Sierra's [Head First Java|http://www.amazon.com/exec/obidos/tg/detail/-/0596004656?v=glance ]
    James Gosling's [The Java Programming Language|http://www.bookpool.com/sm/0321349806]
    Gosling is the creator of Java. It doesn't get much more authoritative than this.
    Joshua Bloch and Neal Gafter [Java Puzzlers.|http://www.javapuzzlers.com/]

  • Learning Java but have problem displaying dialog

    I am learning Java by building a Platform based application. I have build the basic structure with several menu items and successfuly build two set of modules (an XML file reader and a set of initilization rouitnes. I amnow branching into a module to execute when a menu item is selected. I want to display a new window/dialog that contains a table showing the user options. However, I never get anythng displayed. The following code is from the menuitem handler. I commented out the logic I want to start working with, in an attempt to get something displayed. No Luck. I really need some help.
    public final class EditPreferences implements ActionListener {
         @Override
         public void actionPerformed(ActionEvent e) {
              JFrame frame = new JFrame("User and Project Preferences");
              JPanel panel = new JPanel();
    //          JTable table = new JTable( new PrefTableModel() );
    //          table.setRowSelectionAllowed(false);
    //          JScrollPane pane = new JScrollPane(table);
    //          table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    //          panel.add(pane);
              frame.add(panel);
              frame.setVisible(true);
    }I have been looking and reading all over the web and cannot figure this out. I think it should work, but is does not.

    If "frame" is a JFrame, as it is in your code, then (as of Java 5) frame.add(panel) is the same as frame.getContentPane().add(panel) . See Javadoc for JFrame.add . So, that's not your problem here.
    Try calling:
    frame.pack();before you call frame.setVisible. And, of course, uncomment the lines. Right now, your JFrame will still look empty, because your JPanel is empty.
    If you just want to see if a JFrame will display, you could replace the commented lines with something very simple:
    // Default layout of content pane is BorderLayout, default location is BorderLayout.CENTER
    panel.add(new JLabel("This is just a test."));

  • Learning java before jsp?

    Do I need to know Java before learning JSP?
    Also, I have a laptop that I am using at home and would like to start learning Java and JSP. Will Tomcat work on my laptop? Can I launch it from my desktop?

    It is not absolutely necessary to learn java before you learn jsp, but you must at least have programming experience. But if you want to do better, then you need to learn java.
    tomcat should run on your laptop.

  • Babie steps - self-learning java

    i'm currently going through the book "     JavaScript Programming for the Absolute Beginner by Andy Harris".
    can anyone spot my problem with the few lines below? i'm thinking it's at the "dieRoll = " line and thw way i've multiplied a variable ... not too sure though.
    <script>
    // m.j. lorente
    // Multisided Die Roller
    var dieSides = 0;
    var dieRoll = 0;
    // request variable inputs
    dieSides = (prompt("How many sides would you like your die?", ""));
    // roll the die
    dieRoll = Math.floor(math.random() * + dieSides +) +1;
    // display roll results
    alert ("You rolled a " + dieSides + " sided die and rolled" + dieRoll +);
    </script>

    Stay away from Horton, IMHO. Here are my recommendations for learning Java (you should see some overlap with jverd's suggestions):
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)
    Your First Cup of Java
    The Java� Tutorial - A practical guide for programmers
    The Java� Tutorial - Trail: Learning the Java Language
    New to Java Center
    Java Programming Notes - Fred Swartz
    How To Think Like A Computer Scientist
    Introduction to Computer Science using Java
    The Java Developers Almanac 1.4
    Object-Oriented Programming Concepts
    Object-oriented language basics
    Don't Fear the OOP
    Books:
    The Java Programming Language - 4th Edition
    Head First Java, by Bert Bates and Kathy Sierra
    Thinking in Java (Free online), by Bruce Eckel
    Core Java, by Cay Horstmann and Gary Cornell
    Effective Java, by Joshua Bloch
    http://java.sun.com/developer/Books/javaprogramming/

  • Ask : waht should i learn

    now that i think i have learnt the basic of java, i want to ask, is it recommended that i learn networking in java?? because now i dont really know swing..
    so my question is, should i learn(will i able to) learn ntworking just by knowing the basic of java??
    thanks

    Are you asking "Does neworking depend on Swing?"
    No, it doesn't.
    Learn whatever portion of Java interests you. Check out the various tutorials available on the net. Here's most of Sun's offerings:
    http://java.sun.com/developer/onlineTraining/

  • Best way to learn Java. Free resources online?

    Hello. I would like to start to learn Java but have no programming background except for Visual Basic and the basics of PHP. I started to learn about a week ago and now have a good understanding of some of the basic concepts, such as the IF, SWITCH, LOOPS, PRINTLN, ect. I am very interested in developing applications for the Blackberry and was wondering where I should start and what I should learn. Must I learn the entire Java programming language to start to develop mobile applications? Are there any free resources on the Sun Java website that would be able to help me learn?
    Thank you
    Edited by: n3xtgen on May 20, 2010 12:27 PM

    n3xtgen wrote:
    Must I learn the entire Java programming language to start to develop mobile applications?Depends on what you mean by "entire Java programming language". You should probably have a solid understanding of the language and concepts before attempting mobile development.
    The Java language itself is the same when developing for mobile devices (except you may be forced to rely on an older version of the language). But debugging/deployment/running your code becomes more complicated as soon as you target mobile devices.
    Therefore I suggest you take some time to learn "normal" Java development. It will definitely pay of in the long run.
    Are there any free resources on the Sun Java website that would be able to help me learn?There are [the tutorials|http://java.sun.com/docs/books/tutorial/]. They are pretty useful.

  • Best Training for learning Java

    I've looked online, I've watched a couple videos, I've gotten books from the library, but I'm not sure if I'm truly learning the language.
    I'm understanding a lot of the basics to Java, but where is the absolute #1 resource for learning Java? I want to be able to create some java games later on, but I'm trying to figure out where the best place to learn and understand the whole complete java language. I want to be able to understand it inside and out and I'm just having trouble finding where to learn the language.

    Encephalopathic wrote:
    Viperjts10 wrote:
    Also, I looked into the "Thinking in Java" and found it at my library, but it was published in 2000, and I'm wondering how much of java has changed, or if that book would still help me out at all if it was published almost 8 years ago. Does it still have useful information and concepts that will help you? Absolutely! Realize that you aren't going to be studying this in a vacuum. You should also be learning from online sites, the forum, and perhaps other books. If you really learn the core concepts of Java and learn them well, getting up to date with the latest bells-and-whistles will be quite easy.Not to mention that a lot of employers don't always use the latest version of Java anyway. I work for a bank, and we're still using the 1.4 JDK...

  • About learning java 3d

    hi dear,
    I am doing a java 3d learning website. I need to get some information form 3d learners. Could you help me to answer three questions below? Thank you so much.
    1)Did you have any problem in set up 3d working environment? What are they?
    2) When you learn java 3d which part do you think is the most difficult part?
    3) What information would like to see in a java 3d learn website?

    1) Du have any problem in set up 3d working environment? What are they?
    Done it many times over the last few years, so I don't, but from what I can tell a lot of people don't understand the basic Classpath stuff.
    3) When you learn java 3d which part do you think is the most difficult part?
    Learning to do things the Java3D way seems to throw a lot of people - explaining why you should only update the scene using behaviours, how the scenegraph works and so on would, I think, be very useful to a lot of people.
    Vectors, Matrices and the underlying mathematics would also be very useful, although I don't know they can ever be made simple.
    3) What information would like to see in a java 3d learn website?
    I need to know more about model and animation importing and management, but I'm probably not your typical user.
    I'd find a comprehensive set of links to tutorials would be very helpful too- there are a lot of them around the place, but I've not found anywhere that authoritatively lists all the available tutorials - maybe with a bit of information on what they cover and how up to date they are.

  • What is the best way to learn Java??????

    I am trying to learn java for a few weeks now.
    But I am struggling to find out what the possibilities in java are.
    With e.g. Visual Basic you have help topics to guide eyou through the language and all the objects, functions etc you can use.
    Now while learning java I miss the help topics. I do hava all the API documentation, but how will I know which class to use?? I also have the tutorials, but they are more about the syntax of java.
    Can somebody give me some pointers on what the best approach is for learning java. I also would like to know what is a good texteditor to build the applications.
    greetings maclli

    Here's some links that should get you started. I use them a lot:
    API Reference: http://java.sun.com/j2se/1.4.1/docs/api/index.html
    Language Specs: http://java.sun.com/docs/books/jls/second_edition/html/j.title.doc.html
    Official Tutorial: http://java.sun.com/docs/books/tutorial/index.html
    Sorry I can't recommend any good books, though. The tutorial has a lot of good information in it, and the API reference is indispensable.
    Good luck,
    Jason

Maybe you are looking for