Thread: Silly question :D

  1. #1
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489

    Red face Silly question :D

    Sorry, I have to ask this English thing...

    What is the different between motion and movement?

    Both of them has the same meaning in my dictionary...

    Why MouseMotionListener instead of MouseMovementListener??

    I hate Java, but I've been forced to use it. My teacher don't understand C++! xD
    Just GET it OFF out my mind!!

  2. #2
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    English is not my native language, but I think MouseMotionListener sounds a bit less clumsy.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #3
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I believe movement is when something moves from one place to another. However, motion is a series of movements.
    Usually, we might say the mouse moves, but what you are doing is motion, not movement.
    That is how I see it, anyway.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #4
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Wikipedia said:

    "Motion (physics), any physical movement or change in position or place"

    So motion is part of movement?

    But, Wikipedia said:

    A movement is a motion, a change in position. Movement can also refer to: ...

    So movement is part of motion, huh?

    Or movement is motion and motion is movement?

    What the...

    Code:
    if(movement == motion) {
      "Move! Move! She is gonna blow!" == "Motion! Motion! She is gonna blow!" ? LOL : ??
    }
    Last edited by audinue; 12-31-2008 at 07:31 AM.
    Just GET it OFF out my mind!!

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I interpret it as:
    Motion is part of a movement (physical or otherwise). If there a movement, there must be motion, or the movement cannot be.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I don't know the semantic difference, but it's part of the API, use MouseMotionListener.

  7. #7
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    I don't know the semantic difference, but it's part of the API, use MouseMotionListener.
    Yeah. I currently playing around with Java's Swing and Java2D, because I have to create a game for my exam.

    And I was surprised with their way to manipulating Graphics, quite fun and simple, instead of .NET's way, and its performance still have no harm (except its first startup time).
    Just GET it OFF out my mind!!

  8. #8
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    How about, they're synonyms, so the API designers chose the shorter word?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  9. #9
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    I'd've called it MouseMotionMonitor, but that's just cause I like using literary techniques in my programming as often as possible.

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I would have called it MouseMovementMonitor, because we talk about mouse movement, usually, not mouse motion.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  11. #11
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Now you've got to define the difference, though.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  12. #12
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    I've seldom seen somebody so stymied by synonyms.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  13. #13
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    Quote Originally Posted by brewbuck View Post
    I've seldom seen somebody so stymied by synonyms.
    Nice way to put it. In your native language do you do the same thing? I can't imagine yours has any less synonyms than English. English spelling is the most upsetting to me.
    Fried chicken for everybody!
    -Kernel Sanders

  14. #14
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    lruc, I wouldn't take it as literally as you did. I believe brewbuck was just trying to show off his mad alliteration skills to all of us. That said, from other languages that I've experienced, I'd say English falls pretty low on the synonym count. In some European languages that a know a bit of, it seems as though there are 5-10 ways to say any single word. This could just appear this way due to my perspective though.
    Last edited by SlyMaelstrom; 12-31-2008 at 12:56 PM.
    Sent from my iPadŽ

  15. #15
    Registered User
    Join Date
    Jun 2008
    Posts
    266
    Quote Originally Posted by SlyMaelstrom View Post
    lruc, I wouldn't take it as literally as you did. I believe brewbuck was just trying to show off his mad alliteration skills to all of us. That said, from other languages that I've experienced, I'd say English falls pretty low on the synonym count. In some European languages that a know a bit of, it seems as though there are 5-10 ways to say any single word. This could just appear this way due to my perspective though.
    I think you took my post more literally than I had intended. I didn't mean it to be harsh. In fact I was actually asking how much worse his language was than English. I hate how it's hard to tell opinion with plain text!
    Last edited by lruc; 12-31-2008 at 01:37 PM.
    Fried chicken for everybody!
    -Kernel Sanders

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Silly question but..
    By swgh in forum C++ Programming
    Replies: 3
    Last Post: 05-05-2008, 12:39 PM
  2. A silly question but it's my doubt ;)
    By chottachatri in forum C++ Programming
    Replies: 19
    Last Post: 04-23-2008, 01:26 PM
  3. Really quick silly question.
    By Jozrael in forum C++ Programming
    Replies: 36
    Last Post: 04-04-2008, 08:31 AM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM