Thread: why!?!? why, java, why!?

  1. #1
    Registered User Aran's Avatar
    Join Date
    Aug 2001
    Posts
    1,301

    why!?!? why, java, why!?

    why is java so crappy? everyone says that java is slow, clumsy, poor, and not worth the operating system it's compiled on.

    I like java. It can't be that bad.

    tell me that what i've heard is wrong, please!

  2. #2
    Registered User Commander's Avatar
    Join Date
    Sep 2001
    Posts
    801
    I tried java once...but then i saw that u have to write that public static void main and all the other crap with the right filename, I fuguerd that java was XXXXXXXX and there was no point of learning it when i can use that time to learn c.....
    [THE ABOVE WAS ONLY my OPINION]
    oh i'm sorry! i didn;t realize my fist was rushing to meet ur face!

    MSN :: [email protected] []*[]

  3. #3
    Registered User Zeeshan's Avatar
    Join Date
    Oct 2001
    Location
    London, United Kingdom
    Posts
    226
    Hi,

    An interpreted Java program would typically run at only one tenth the speed of an equivalent program using native machine instructions.
    --- Beginning Java 2 (Ivor Horton, Wrox Publications) Pg. 11

    On the other hand C/C++ are the fastest programming languages (apart from machine-level/assembly-level languages) available. You are visiting a C/C++ extremist website... So everyone is bound to be cursing Java, specially for it's speed

    Personally, I think that the speed of Java is slow enough to stop a programmer from using it to develop an application, whenever he/she can.

    Java should only be used for requirements where an application is to run on several different platforms (e.g. Windows, Unix, Mac etc) e.g. on website....

    In my opinion this is the only plus point of programming in java (it multiplatformability)
    Last edited by Zeeshan; 06-02-2002 at 12:09 PM.

  4. #4
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    So everyone is bound to be cursing Java, specially for it's speed
    The general speed isn't too bad. It's claimed that its way of handling heap memory is quicker than most of the C/C++ runtime implementations (but I suppose it'd need to be). It's just that all the GUI stuff feels like wading through syrup sometimes which removes some of it's possibilities. Plus some people have a hard time with some of the OOP stuff.

  5. #5
    Personally, I have a deep rooted loathing of all things scripting. This stems from traumatic childhood experiences with QBasic. Once bitten, twice shy.

    Java's fine for web development. However, real developers should stick to real languages. *ducks and covers*
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  6. #6
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Real developers should stick to the construction industry.

  7. #7
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    say what you want about java...
    [sarcasm]javascript will beat out all languages![/sarcasm]
    Last edited by ygfperson; 06-02-2002 at 07:09 PM.

  8. #8
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by lightatdawn
    Personally, I have a deep rooted loathing of all things scripting. This stems from traumatic childhood experiences with QBasic. Once bitten, twice shy.
    I quite like some scripting........whether its JavaScript Wars with Ken @ Flashdaddee....or just messing with ASP or Windows Scripting....

    Its limited, but sometimes you can do something quite cute witn not much effort....ala...

    Code:
    OPTION EXPLICIT
    DIM oShell,oNet,oLink,compname,username,DesktopPath
    
    SET oShell=CreateObject("WScript.Shell")
    SET oNet=CreateObject("WScript.Network")
    
    compname=oNet.ComputerName
    username=oNet.UserName
    MsgBox "You are logged on as " & username & " on a computer called " _
    	& compname
    	
    DesktopPath = oShell.SpecialFolders("Desktop")
    SET oLink=oShell.CreateShortcut(DesktopPath & "\CProgramming.com!.url")
    oLink.TargetPath = "http://www.cprogramming.com"
    oLink.Save
    
    MsgBox "I have created a helpful link on your desktop!" _
    	& vbCrLf &"Have a nice day!!"
    Save that as WhoAmI.vbs and run it.....there will be a small present on your desktop!

  9. #9
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    We'll one of the jobs I'm trying to get right now would be as a Java developer. I like the language a lot. Not only is it good for web applications, but GUIs too. I'm not going to stop programming in C or C++ but I think Java is a respectable langauge, unlike COBOL or Visual Basic. Ironically, I'm trying to get a job as a VB programmer too.

    If it's speed you're worried about, there are native code Java compilers that allow Java programs to run just about as fast as a similar C/C++ one.

    Like it or not, Java's going to be around a while so it's best to get used to it.

    Note to newbie programmers: Java != JavaScript
    Last edited by taylorguitarman; 06-02-2002 at 04:34 PM.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  10. #10
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    If you're going to be scripting anything, PERL beats everything else out hands down.
    If a tree falls in the forest, and no one is around to see it, do the other trees make fun of it?

  11. #11
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Or you can be a genuine script kiddie. Create a text file with -

    Code:
    Do
    MsgBox "Hello, World" 
    
    Loop
    as the contents. Save it as a vbs file, put it in some unsuspecting victims startup folder (that doesn't know how to use task manager) and watch them howl in pain.

    btw, does anybody code in PERL anymore?

  12. #12
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by Sorensen

    btw, does anybody code in PERL anymore?

    Ugh....yeah....taylorguitarman obviously........

  13. #13
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    >Ugh....yeah....taylorguitarman obviously........

    Yes, I'm blind.

    >but GUIs too.<

    Have they updated swing in the last 6 months?

  14. #14
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    btw, does anybody code in PERL anymore?
    I hope you're joking I know many people who still code in PERL, me included.

  15. #15
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Well done.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 02:06 PM
  2. 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
  3. 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
  4. Java woes
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 07-06-2003, 12:37 AM
  5. 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