Thread: What language did they make Java in?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    going from C++ to java, I have to say I do like the GC, but only because it allows me to be lazy. I do believe, however, that it's a terrible habit to get into, and even worse to teach to fresh programmers... no matter what you think, that memory has to be taken care of. somebody has to do it. I personally would rather do it myself.

    As far as java's forced OOP, from a learning programmer's point of view, System.out.print() is the same as printf(), so the learning still doesn't take place. Just because you tell a new programmer they're using a class doesn't mean they now know how to write an OOP--that's a big point of using classes--you can use it without knowing how it works.

    and as far as I'm concerned, just because you use cout or System.out.println in your program doesn't make your program OO. for example, a simple hello world program (see below). I wouldn't consider that an OOP. and it's a good point for how OOP isn't always the best way to go. if anything, C++ tells you when it's a good time to use OOP and when it's not.

    Code:
    #include<iostream>
    int main()
    {
        std::cout<<"Hello World";
        return 0;
    }
    Last edited by major_small; 07-01-2005 at 09:37 PM.
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's up with Java programmers, anyway?
    By Sebastiani in forum A Brief History of Cprogramming.com
    Replies: 76
    Last Post: 06-11-2009, 06:17 AM
  2. Java for real-time applications
    By zacs7 in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 08-26-2008, 06:34 AM
  3. Why C Matters
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 136
    Last Post: 01-16-2008, 09:09 AM
  4. Replies: 38
    Last Post: 08-12-2004, 11:11 PM
  5. C/C++ Vs Java
    By Spectrum48k in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 10-21-2002, 09:06 PM