Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 10 of 10

Thread: Research!

  1. #1
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Research!

    Do you prefer high-level programming or event-driven programming? (PLEASE EXPLAIN WHY!!!!!!)


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Research!

    Explain the difference.
    If you don't understand my answer, don't ignore it, ask a question.

  3. The Following User Says Thank You to Norm For This Useful Post:

    Comp10-41 (July 14th, 2014)

  4. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: Research!

    Have no idea what you're asking. Higher-order languages are often event driven or can be, but I'm not sure that's what you mean. It would also be helpful to know why you're asking for our opinions.

  5. The Following User Says Thank You to GregBrannon For This Useful Post:

    Comp10-41 (July 14th, 2014)

  6. #4
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #5
    Junior Member
    Join Date
    Jul 2014
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: Research!

    Quote Originally Posted by Norm View Post
    Explain the difference.
    Yeah, I don't understand. To be honest my question is more of a personal opinion question and it would be really helpful if you could say which one and then explain why, so whether it is more efficient or easier to learn or use, or do different things etc.
    Thanks

    --- Update ---

    I have to do some independent research for a computing controlled assessment using forums etc. Its all about which one is more effective, so the advantages and disadvantages of each one. The high-level programming languages are more like python C++ and java, whereas event-driven programs are those that wait for a user input until they will respond, so things like games that wait for a user to do something until they complete the next piece of code.

  8. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,139
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: Research!

    Many modern languages include both features.
    If you don't understand my answer, don't ignore it, ask a question.

  9. #7
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: Research!

    There are pros and cons to both of these. A suitable response would be use the right
    structure for the right job. Event driven would consist of using controls (such as a GUI) which
    react to actions from the user (was a button clicked) - when this action occurs it will trigger an event.

    You can use both things for many different projects. If you really want to break it down further, then
    you have to look at "which technique is norm for A and which is for B". And even then, both of these
    answers would have pros and cons and different responses by different people all coming from different
    levels of experience from each fraction.

    Would Nintendo write Super Mario in a event driven language? Yes - they probably would - but the underlying
    code base would be scripting language to handle game events handled by a game engine - and a higher level
    language to create or allocate memory (C++).

    Technology moves so quickly it is always difficult to fully understand both sides of an argument of which brand to use.

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  10. #8
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Research!

    Quote Originally Posted by Comp10-41 View Post
    Yeah, I don't understand. To be honest my question is more of a personal opinion question and it would be really helpful if you could say which one and then explain why, so whether it is more efficient or easier to learn or use, or do different things etc.
    Which is your favorite tool: connecting different parts of wood, or painting? Explain what each one is and why you prefer that tool.

    In other words, your question isn't really valid.

    Quote Originally Posted by Comp10-41 View Post
    The high-level programming languages are more like python C++ and java, whereas event-driven programs are those that wait for a user input until they will respond, so things like games that wait for a user to do something until they complete the next piece of code.
    You can write games in python, c++, or Java. Your dichotomy here doesn't really make sense.

    --- Update ---

    Quote Originally Posted by Ada Lovelace View Post
    Would Nintendo write Super Mario in a event driven language? Yes - they probably would
    The original Super Mario was written in assembly language.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  11. #9
    Member Ada Lovelace's Avatar
    Join Date
    May 2014
    Location
    South England UK
    Posts
    414
    My Mood
    Angelic
    Thanks
    27
    Thanked 61 Times in 55 Posts

    Default Re: Research!

    The original Super Mario was written in assembly language.
    Indeed it was - I was sort of talking about the Wii U versions but yes it well designed and to be honest
    considering the tiny amount of processing power the original NES console had - what they produced was
    nothing short of genius

    Wishes Ada xx
    If to Err is human - then programmers are most human of us all.
    "The Analytical Engine offers a new, a vast, and a powerful language . . .
    for the purposes of mankind
    ."
    Augusta Ada Byron, Lady Lovelace (1851)

  12. #10
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: Research!

    Quote Originally Posted by Ada Lovelace View Post
    I was sort of talking about the Wii U versions
    The Wii U, just like most post-16-bit consoles, probably uses C or C++.

    My point is that this is irrelevant, as the OP's question sets up a false dichotomy: some languages are high-level (whatever that means) and event-driven. Some are low-level and event driven. Some are both. Some are neither. In fact, it can have more to do with the algorithms you use than it does the language you're using. The OP's question isn't really valid.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  13. The Following User Says Thank You to KevinWorkman For This Useful Post:

    Ada Lovelace (July 14th, 2014)

Similar Threads

  1. Coming up with research topic
    By IHeartProgramming in forum Totally Off Topic
    Replies: 0
    Last Post: December 14th, 2012, 09:11 PM
  2. Graduate Research using NER
    By julia1004 in forum What's Wrong With My Code?
    Replies: 0
    Last Post: November 20th, 2012, 02:58 PM
  3. Please help me with a research question
    By Tom in forum The Cafe
    Replies: 4
    Last Post: October 31st, 2009, 02:22 PM