i still hate java

This is a discussion on i still hate java within the A Brief History of Cprogramming.com forums, part of the Community Boards category; and my passionate detest for grows with each line painstakingly thrashed out! assignment (rate this out of 10 for fun, ...

  1. #1
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385

    i still hate java

    and my passionate detest for grows with each line painstakingly thrashed out!

    assignment (rate this out of 10 for fun, guys)

    using the fsm classes code a calculator that operates on whole numers and can use all the main maths operators. the calculator should be able to accept decimal, binary and hex values and return the correct result. include the appropraite fsm state diagrams

    oh joy!

    (anybody wanna do it form me)
    (stop - flame - that was a joke)

    im not gonna be beaten by poxy java!
    Monday - what a way to spend a seventh of your life

  2. #2
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    I took Java 1 and 2, but we never talked about the "fsm classes"... What are they?

    Otherwise, that doesn't sound too terribly difficult...

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    48
    hmm...sounds like a bit of the old C++ to Java conversion would come in handy here. just stick in a loop that wastes a few seconds in between every step of building the GUI and after every user inputs. that oughta slow things down to java speed. they'll never know the difference
    astride a storied past, thats everywhere you are

  4. #4
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    All this Anti-Java talk I have been hearing lately is beginning to scare me. I begin Java next semester upon my completion of C++. Apparently I am supposed to be a C++ expert by that time(haha) and this will make my transistion to Java simple and painless...from what I am told by my professor.

    What exactly do people not like about it? or find so hard about it?
    I am curious to know because I want to begin reading early.

  5. #5
    aurė entuluva! mithrandir's Avatar
    Join Date
    Aug 2001
    Posts
    1,209
    Saying that you need to know C++ to learn Java is the same as saying "You need to learn C before C++" - it just isn't true. You should however, be familiar with Object Oriented program design. There are several publications by Sun regarding OOP. Check out the tutorials on their site (they are really good and will help a lot in understanding programming in Java, and Object Oriented concepts and application of those concepts in Java code).

  6. #6
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    >>You should however, be familiar with Object Oriented program design.<<

    Yeah that's what he meant. I am taking OOP in C++ right now, and he was telling me that this course is going to make it easier for me to learn Java. He wasn't saying that you need to know C++ to learn Java. Sorry about that I think I worded that a little weird. Geez I do that all the time. Thanks for the link..I appreciate it.

  7. #7
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    the syntax is fairly similar to C++, its just the language is based upon object orientation and classes, it seems that even the most simple applications are ridiculously over-complex due to the fact they must object orientation.
    Monday - what a way to spend a seventh of your life

  8. #8
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,825
    Is this a GUI calculator or just a command line project?

    Also - wtf's an fsm class?

  9. #9
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    a command line project that must be written under unix in emacs
    (shudders)

    an fsm is a finite state machine - that is a theoretical machine that has a start state a halt state an X states in between. For the transition between states the machine must recieve an legal input value.

    eg Start state accepts 1 as legal input value - 1 is recieved it moves onto state GOT1, this accepts a and s so it moves onto the next until it reaches a halt state where it will accept no more input and the fsm ends.

    the fsm classes model real fsm's

    so

    fsm.add("digit", "0-9", "nextdigit")

    would an action to the fsm object of starting in a state digit , accepting 0-9 as input and moving onto state nextdigit on legal input.

    the application is difficult because i have to use fsm class only!
    Monday - what a way to spend a seventh of your life

  10. #10
    Registered User
    Join Date
    Sep 2001
    Posts
    48
    yeah...'cause its totally worth doing all that to make a calculator. (ok, so its a learning thing but i'm feeling sarcastic )
    astride a storied past, thats everywhere you are

  11. #11
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    i totally agree - its a pointless exercise, this is not even for the programming module, its for CS Concepts!

    i still think we should be learning C++
    Monday - what a way to spend a seventh of your life

  12. #12
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    >There are several publications by Sun regarding OOP.

    Or try: http://www.omg.org/. They have a lot of information about OOP. I know this thread is not about OOP specifically, but I added this post just in case someone would like to know more about it.

  13. #13
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    a command line project that must be written under unix in emacs
    (shudders)
    Your not allowed to write it at home with an IDE and then transfer it to your university's LAN?

    That's what I did with my projects, when my computer wasn't broken. It's so much better writting with an IDE.. no damned ctrl w to paste, or need to rememeber other funky key sequences just to get around.

    I'd recommend getting a trial version of JCreator, http://www.jcreator.com/, especially if you've used MSVC.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  14. #14
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    I'd go with JBuilder Personal. It's free and has code completion with function parameters, and a GUI design interface. I used to use JCreator, but JBuilder is much better. It's got all the nice features that I've been spoiled with from MSVC++. It's a bigger download though. But well worth it.

  15. #15
    Registered User
    Join Date
    Sep 2001
    Posts
    752
    I wouldn't be afraid of learning Java. My experience has been that Java is easier to learn than C. Java gives you an awful lot to work with, while C really makes you fight for every inch.

    The only thing that I would really think of as a problem with learning Java is that it takes too much to do anything...
    That is, in C if you know how to use printf, scanf, and malloc, you can produce just about anything.
    In Java, there are too many functions to count, and you will need a reference material in order to use Java.

    Just do a forum search for 'Java' and I'm sure you'll find ample reading material on it's merits and failings.
    Callou collei we'll code the way
    Of prime numbers and pings!

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tabbed Windows with MDI?
    By willc0de4food in forum Windows Programming
    Replies: 25
    Last Post: 05-19-2005, 10:58 PM
  2. C#, Java, C++
    By incognito in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 10-05-2004, 02:06 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. Pet Peeves
    By Srg Pepper in forum A Brief History of Cprogramming.com
    Replies: 29
    Last Post: 10-03-2002, 11:34 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21