Thread: C#, Java, C++

  1. #1
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427

    C#, Java, C++

    Ok, I just have a small question, am I the only guy who started programming in C/C++ (as his first languages) that gets angry when he reads a book on Java, where they just love trashing C++? I mean some books spend so much time talking about how "Well C++ cannot do this, cannot do that, Java in better in this because of....." or something along those lines. Is like they fail to give credit to C++. Fail to inform the reader that Java is what it is today because of C++. Had it not been for people like Bjarne Stroustrup, java probably wouldn't be what it is today. Because as we all know a lot of it was sort of emulated into Java, and other things were just washed down and made easier, like polymorphism, etc. I mean Java is good and all, but give C++ at least SOME credit. I mean I like Java, don't get me wrong (I work using J2SE, J2EE and related technologies). A lot of what goes on behind the scenes in Java is sort of hidden to the programmer, so some people just program things without really knowing what goes on behind the curtains. Things that C/C++ clearly shows you and gives you, in my opinion a better understanding of how computers work. Which is why I think, that if you're going to be a Java programmer for example you should also learn at least C.

    This is why I think learning a little bit of C/C++ and Assembly is important. You might not earn your living working in Assembly but you sure will have a better understanding of how things work, that's for sure. After all this is said and done, then comes C#. And basically they state "It is similar in syntax to both C++ and Java and is considered by Microsoft as the natural evolution of the C and C++ languages." --http://developer.com/net/asp/article.php/1756291 .


    In my opinion, what I have seen so far, it's a really good language. And at least they give the creators of C++ SOME credit. What I really like about this language is that it retains most of the features that make C++ so good and borrows some of Java's theories. I feel like I am looking at a more modern C++, rather than a language that is claimed by some books to just be better than C++ and ignore how it came to be. A language that doesn't keep the programmer in a small box where he is limited as to what he can do. Let me clarify myself, for example Java says "You cannot use pointers, because they are hard and confusing". C# says "Here, if you want to use pointers go ahead, if not, I am giving you the means to produce all your code without the need of pointers". The same goes for polymorphism and virtual methods.

    Whoa, I really needed to let that one out. Not all Java books are like this. But there are some out there, one in particular which I am not going to mention. And some Java programmers who forget how they came to be, who they are now. I love Java and in my opinion for Client/Server applications it's the best solution out there right now. BTW, it's also a shame that C# is so tied down to a particular vendor/OS. Hopefully this might change in the future. Anyhow I think having a combo of all these technologies is a great. The more programming languages you know the better, right? After all they are all just tools that have their own uses. Situations in which each of them excel accordingly. And that is all for now folks.
    Last edited by incognito; 10-03-2004 at 11:24 AM.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    How about editing that mass of prose into a few more paragraphs?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    And done.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Ok, I just have a small question, am I the only guy who started programming in C/C++ (as his first languages) that gets angry when he reads a book on Java, where they just love trashing C++?
    No you're not. Can I have the last 10 minutes of my life back?

  5. #5
    Try working in an almost complete java minded workspace

  6. #6
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    >>No you're not. Can I have the last 10 minutes of my life back?
    Hop on a time traveling machine.


    >>>Try working in an almost complete java minded workspace
    Hehehe, I do.....
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  7. #7
    ... kermit's Avatar
    Join Date
    Jan 2003
    Posts
    1,534
    Quote Originally Posted by incognito
    Hop on a time traveling machine.

    Only if the software that makes it go is written in Java.



    ~/

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I mean Java is good and all, but give C++ at least SOME credit.
    Without C++ there probably wouldn't have been Java, but on the other hand, without C++ we would have been spared your mindless rambling. Just to keep things in perspective.
    My best code is written with the delete key.

  9. #9
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    Java applications seem to be running in a PDA.
    It's stupidly slow!!!
    Java is popular because Sun made it popular... If there weren't a company developing the Vm and APi, java would be just another banal script language...
    I wish someone would also develop a decent C++ APi.

    I did an aplication with graphics intercface to draw graphs and calculate cheapest pathsa After having about 50 vertexs in the panel, the application seemed to have crashed when placing another. I admit that the repainting algorithm wasn't the best but honestly, C++ wouldn't even blink with the panel completly full.

  10. #10
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589
    No you're not. Can I have the last 10 minutes of my life back?
    You crack me up. That was great.
    without C++ we would have been spared your mindless rambling.
    lol


    besides the great funnies...
    I think both languages serve a purpose, but with out c/c++/c# life would be unbearable. I'm sure I may get flamed from a M$ winnie for this, but if we want to trash a language openly, let start a VB sucks thread.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  11. #11
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Quote Originally Posted by xErath
    I did an aplication with graphics intercface to draw graphs and calculate cheapest pathsa After having about 50 vertexs in the panel, the application seemed to have crashed when placing another. I admit that the repainting algorithm wasn't the best but honestly, C++ wouldn't even blink with the panel completly full.
    I made a similar applications involving graphs like this modeling p2p networks. I could run over 500,000 nodes (though drawing them was kind of pointless because there are too many to make any sense of). I think your problem was with implementation, not java limitiations.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. First Java Class at college
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 24
    Last Post: 09-29-2004, 10:38 PM
  2. The Java language is being expanded
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 26
    Last Post: 06-11-2004, 09:07 PM
  3. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM
  4. C or Java as a first language
    By CorJava in forum A Brief History of Cprogramming.com
    Replies: 34
    Last Post: 10-23-2002, 05:12 PM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM