Thread: About asking questions

  1. #1
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291

    About asking questions

    Maybe a very silly question for my part, but why lots of threads on this board use the verb "won't work":

    "Something won't work"

    Shouldn't be better to say "This code is not working" or "This code doesn't work"? Or is that a kind of casual expression?

    Thank's
    Niara

    P.S. I'm not usual english writer/reader/speaker/listener.

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    "Won't work" is a valid phrase. It is used to indicate that despite attempts to fix the problems with the code, it still doesn't work. It's kind of short for "No matter what I try, this code will not work."

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >"Something won't work"
    >Shouldn't be better to say "This code is not working" or "This code doesn't work"?
    From a forum perspective, no. All three statements are 100% uninformative and serve only to force a return question: "How is it not working?"
    My best code is written with the delete key.

  4. #4
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291
    Ok I see. Thank's.

    Niara

  5. #5
    Quote Originally Posted by Niara View Post
    Shouldn't be better to say "This code is not working" or "This code doesn't work"?
    Grammatically speaking; Yes, it would be better. And good on you for noticing. "Won't" alludes to a a matter of will, and code obviously has no such thing... despite the occasional appearance to the contrary.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  6. #6
    Technical Lead QuantumPete's Avatar
    Join Date
    Aug 2007
    Location
    London, UK
    Posts
    894
    Quote Originally Posted by lightatdawn View Post
    a matter of will, and code obviously has no such thing...
    I don't know, my code always seems to be less willing to compile in the wee hours of the morning

    QuantumPete
    "No-one else has reported this problem, you're either crazy or a liar" - Dogbert Technical Support
    "Have you tried turning it off and on again?" - The IT Crowd

  7. #7
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291
    Sure that's because in my idiom that's a non-sense expression: if I say "something doesn't work" it means that I have tested it previously, but if I say "something won't work" means that I can imagine that will fail for some reasons althought I haven't tested yet, and I'm sure that nobody on the board asks for a problem on a code that haven't tested And I'm more sure that the future mode is not used because a problem on a code make it non compilable/linkable; of course, that program won't work because I can't compile the code

    Well, a new entry in my list of verbs:

    1-. Google for: search on the google
    2-. Won't work: mmm, well I won't use it

    Niara

  8. #8
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Niara View Post
    I'm sure that nobody on the board asks for a problem on a code that haven't tested
    You'd be surprised! If you stay around for a while, I'm sure you'll see someone doing just that - basically asking US to compile and debug his/her program.

    And I'm more sure that the future mode is not used because a problem on a code make it non compilable/linkable; of course, that program won't work because I can't compile the code
    Again, some people have no concept of "do it yourself", but rather "if I can, I'll ask someone else to do it for me [For Free of course - it is the internet after all]".

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  9. #9
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,613
    "Information wants to be free" and code wants to be broken. We personify objects in colloquial language all the time. I've gotten used to it, myself. About the only thing that annoys me mildly is people who call their question a doubt. As in: "Doubt about foo function" or "Doubt about pointers".

  10. #10
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291
    matsp: yes I suppose it, but my condition of hobby-programmer makes me think that everyone enjoys coding it's own work . I have seen someone here with a signature picture that says 'printf("Do your own homework");' (sorry, I can't remember to who belongs).

    citizen: yes, I also have done that mistake on a thread; iMalc explained the right usage of 'doubt' and 'question':

    Quote Originally Posted by iMalc View Post
    Well I'm not going to help you much with you code today, but I am going to help you with your english.
    1. Do not confuse 'doubt' with 'question'. This drives some people nuts. You have a question. You can be in doubt about something , but that does not mean you are asking a question. Safest way is probably to never use the word 'doubt'.
    2. English questions do not start with an upside-down question mark. I know some other languages do, but not English.
    Actually I had a bit of a chuckle at 'non mallocated variables' too.

    Codewise:
    Please indent your code next time.
    Also whatever you do, make sure that you free what you malloc.
    Niara

  11. #11
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    Quote Originally Posted by Niara View Post
    matsp: yes I suppose it, but my condition of hobby-programmer makes me think that everyone enjoys coding it's own work . I have seen someone here with a signature picture that says 'printf("Do your own homework");' (sorry, I can't remember to who belongs).
    MacGyver.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  12. #12
    Registered User
    Join Date
    Mar 2005
    Location
    Juneda
    Posts
    291
    Yeah, thank's dwks

    Niara

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. questions....so many questions about random numbers....
    By face_master in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2009, 08:47 AM
  2. A very long list of questions... maybe to long...
    By Ravens'sWrath in forum C Programming
    Replies: 16
    Last Post: 05-16-2007, 05:36 AM
  3. Several Questions, main one is about protected memory
    By Tron 9000 in forum C Programming
    Replies: 3
    Last Post: 06-02-2005, 07:42 AM
  4. Trivial questions - what to do?
    By Aerie in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 12-26-2004, 09:44 AM
  5. questions questions questions.....
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-14-2001, 07:22 AM