• There but for the grace of God... (unregistered)

    Angie suffers from the malady "English Major's Brain". People who choose English as their major area of study in college instead of Computer Science or Engineering aren't thinking ahead to what can make them a decent living.

    Even though my speling, grammer, and punctuation are'nt exactly correct, I can at least make a better living than most people who pursued liberal areas of study in college.

  • (cs)

    She wouldn't had have this problem if only she was educated at Oxford.

  • (cs)

    The REAL WTF(TM) is how did this person manage to get a job as a programmer to begin with? Even a neophyte should understand that programming syntax is not the same as English syntax.

  • Lynx (unregistered) in reply to ObiWayneKenobi
    ObiWayneKenobi:
    The REAL WTF(TM) is how did this person manage to get a job as a programmer to begin with?
    Eh? You're reading WTF and actually asking this question?
  • 1337 (unregistered)
    ... Their our alot of common mistakes ...
    that was a joke write?
  • MikeCD (unregistered) in reply to Pap
    She wouldn't had have this problem if only she was educated at Oxford.
    You mean 0xf0rd
  • Critic (unregistered) in reply to There but for the grace of God...
    There but for the grace of God...:
    Angie suffers from the malady "English Major's Brain". People who choose English as their major area of study in college instead of Computer Science or Engineering aren't thinking ahead to what can make them a decent living.

    Even though my speling, grammer, and punctuation are'nt exactly correct, I can at least make a better living than most people who pursued liberal areas of study in college.

    Too bad making a better living doesn't make you a better person.

  • (cs)

    outprinting "the result is " and naming your variables 'value'.... classic WTF signs.

  • (cs) in reply to 1337
    1337:
    ... Their our alot of common mistakes ...
    that was a joke write?
    Off course not.

    By the way, you spelt 'write' wrong, wright?

  • gabba (unregistered)

    I, for one, hope she finds a good job as an editor somewhere. I'm glad to see someone standing up for proper grammar these days.

  • etr (unregistered) in reply to Critic

    Neither does being able to spell correctly...

  • Spoe (unregistered)

    A comma outside the quote is perfectly acceptable English syntax. It just depends on the style book you're using. The Chicago Manual of Style, for example, lists this as a perfectly acceptable alternate syntax for quotations. There's a couple of others containing similar rules.

  • RadiantMatrix (unregistered)

    Oh, this makes me happy:

    Their our alot of common mistakes that people make to often that could of easily been avoided.

    Very well done, sir.

  • An honest mouse (unregistered) in reply to Pap
    She wouldn't had have this problem if only she was educated at Oxford.
    You mean "if she *were* educated at Oxford"...
  • Mark (unregistered)

    Simple, all we need to do for this programmer is write a macro which reverses the order of arguments. Then she can write the grammatically correct:

    PRINT( x, "The value is %s." );

    The macro should probably also add a \n onto the end of the format string too, since that was absent.

    Why bother learning the programming language when you can just rewrite it to satisfy how you think it should work?

  • (cs) in reply to An honest mouse
    An honest mouse:
    She wouldn't had have this problem if only she was educated at Oxford.
    You mean "if she *were* educated at Oxford"...

    I would only had have corrected this statement if I saw all the errors.

  • K (unregistered) in reply to Pap
    Pap:
    She wouldn't had have this problem if only she was educated at Oxford.
    Oxford commas are related to use of commas in lists, not in quotations.
  • Brilliance (unregistered)

    Angie went on to conceive a much simpler programming language based heavily on common English conventions. She never acted on the idea. Instead, she simply vented to her friend Matsumoto and then changed careers to red gemstone wholesales. Go figure.

  • There but for the grace of God... (unregistered) in reply to Critic

    Spoken like a true English Major...

  • J (unregistered)

    Angie should check out Inform 7: http://www.inform-fiction.org/I7/Inform%207.html

  • Sean (unregistered)

    The comma (or period) inside the quotes thing is ridiculous in English anyway. If you're quoting someone, and they didn't have a comma in what they said/wrote, it makes no sense to add the comma inside the quotation marks, given the meaning of "quoting" someone. Also it looks "stupid."

  • Troy Mclure (unregistered) in reply to J

    Oh I get it - the WTF is that she's a girl and she's in programming. Good one!

  • Calli Arcale (unregistered) in reply to There but for the grace of God...
    There but for the grace of God...:
    Angie suffers from the malady "English Major's Brain". People who choose English as their major area of study in college instead of Computer Science or Engineering aren't thinking ahead to what can make them a decent living.

    My bachelor's of arts is in English and Computer Science (double major). I most certainly know the difference between natural language and programming languages. For one thing, programming languages make considerably more sense. ;-)

    Anyone who can grasp the often perplexing rules of English grammar should have no trouble accepting that C++ is different, especially given its relative simplicity of syntax. This woman is an embarrassment to English majors.

  • Harrow (unregistered)

    I think you can test for computer programming talent long before going anywhere near LOGO or BASIC or any other formal language. Just look for the kids who are always asking why English syntax and spelling are so wierd^Wweird^Wstupid.

    I don't care what languages he's worked in or what project experience he's had; send me the candidate who's comfortable punctuating the English sentence

    I said 'Did he ask "Are you going?" or "Aren't you going?"?'.
    and I'll teach him what he needs to know about #@%*ing ASP.

    -Harrow.

  • Jo (unregistered)

    No wait - I get it!

    The WTF is that printf is a C (without any pluses or anything) function, right?

  • evil muffin (unregistered)

    the lack of \n ;)

  • (cs) in reply to K
    K:
    Pap:
    She wouldn't had have this problem if only she was educated at Oxford.
    Oxford commas are related to use of commas in lists, not in quotations.

    I'm saying they do it differently in Britain. http://en.wikipedia.org/wiki/Comma_(punctuation)#Differences_between_American_and_British_usage

    Note the British usage in conformity with that of a programming language.

    Sean knows what I'm talking about.

  • Mike (unregistered) in reply to 1337
    ... Their our alot of common mistakes ...
    Hands up...who, like me, didn't even notice the mistake in this sentance until it was brought up in comments?
  • xix (unregistered)

    I bet they hired a pure mathematician later on, and unfortunately thier head exploded at the impossibility of i = i + 1

  • (cs) in reply to Mark
    Mark:
    Simple, all we need to do for this programmer is write a macro which reverses the order of arguments. Then she can write the grammatically correct:

    PRINT( x, "The value is %s." );

    The macro should probably also add a \n onto the end of the format string too, since that was absent.

    Why bother learning the programming language when you can just rewrite it to satisfy how you think it should work?

    Oh goody:

    #define PRINT(a1,s) printf(s,a1) #define PRINT(a1,a2,s) printf(s,a1,a2) ... #define PRINT(a1,a2,...,a100,s) printf(s,a1,a2,...,a100); ...

    puhleeze don't give them any ideas!

  • wtf (unregistered)

    im just happy we had 3 stories today

  • Tim (unregistered) in reply to Spoe

    It's not even a matter of being an alternative. It's the correct form in Britain, to say nothing of being far more logical - people do not say ",", therefore they should not be reported as such! Silly left-pondians...

  • (cs) in reply to Brilliance
    Brilliance:
    Angie went on to conceive a much simpler programming language based heavily on common English conventions.
    Sorry, already done:

    000100 IDENTIFICATION DIVISION. 000200 PROGRAM-ID. HELLOWORLD. 000300 000400* 000500 ENVIRONMENT DIVISION. 000600 CONFIGURATION SECTION. 000700 SOURCE-COMPUTER. RM-COBOL. 000800 OBJECT-COMPUTER. RM-COBOL. 000900 001000 DATA DIVISION. 001100 FILE SECTION. 001200 100000 PROCEDURE DIVISION. 100100 100200 MAIN-LOGIC SECTION. 100300 BEGIN. 100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS. 100500 DISPLAY "Hello world!" LINE 15 POSITION 10. 100600 STOP RUN. 100700 MAIN-LOGIC-EXIT. 100800 EXIT.

  • (cs) in reply to Mike
    Mike:
    ... Their our alot of common mistakes ...
    Hands up...who, like me, didn't even notice the mistake in this sentance until it was brought up in comments?
    By the mistake, do you mean using "could of" instead of "could have", or using "to" for "too"?
  • (cs)

    I'd have said "Well, it's not really the same as a comma in english, it just looks like one - it goes before each parameter other than the first" - and corrected it to printf("The value is %d" ,value);

  • mare (unregistered) in reply to Mike

    That sentence made absolutely no sense to me until I read it out loud :P

    And the real WTF are commas in English in general... i never get them right.

  • mare (unregistered) in reply to FredSaw
    FredSaw:
    Mike:
    ... Their our alot of common mistakes ...
    Hands up...who, like me, didn't even notice the mistake in this sentance until it was brought up in comments?
    By the mistake, do you mean using "could of" instead of "could have", or using "to" for "too"?
    That sentence made absolutely no sense to me until I read it out loud :P

    And the real WTF are commas in English in general... i never get them right.

    And please ignore my previous post... it's late ;)

  • (cs) in reply to gabba
    gabba:
    I, for one, hope she finds a good job as an editor somewhere. I'm glad to see someone standing up for proper grammar these days.
    That's right. The days of good English has went!
  • (cs) in reply to snoofle

    #define PRINT( ..., s ) printf( (s), VA_ARGS )

    doubt this would work though.

  • (cs)

    Me spell chucker work grate, butt eye knead a grandma chicken.

  • Spoe (unregistered) in reply to Tim
    Tim:
    It's not even a matter of being an alternative. It's the correct form in Britain, to say nothing of being far more logical - people do not say ",", therefore they should not be reported as such! Silly left-pondians...

    It is an alternative, no? You just happen to speak and write a dialect of English that uses the logical method of handling quotations as the default.

    At least we don't stick extra letters and syllables in to perfectly serviceable words like "color" and "aluminum". Just think of the wasted ink and paper! ;)

  • rank this (unregistered) in reply to mare
    mare:
    That sentence made absolutely no sense to me until I read it out loud :P

    And the real WTF are commas in English in general... i never get them right.

    It's bb code, not html.

    Again, trouble with language differences

    Captcha dubya

  • Jon B (unregistered)

    Reminds me of Dilbert's code review: "I don't think you understand the proper usage of the semicolon. And I'm not too fond of your over usage of curly braces, either."

    As for good grammar for software engineers... The rest of the world thinks we're somehow smarter than everyone else. When people find out you can't spell you're [sic] way out of a paper bag, they suddenly loose [sic] confidence in your programming abilities. If they can spell better than you, then they're smarter than you, and if they're not smart enough to write software...

  • (cs) in reply to Jon B
    Jon B:
    they suddenly loose [sic] confidence in your programming abilities.
    One of the funniest things I ever saw on the internet was a heated exchange by two guys on a forum. Couched in the middle of a stream of vituperation was this gem: "Can you spell looser?"
  • Anon (unregistered)

    The whole "comma inside or outside the quotes" thing isn't even a grammar issue. It's a typographic issue. It only comes up when you're printing. Otherwise the correct answer is to write the quote marks above the comma like a normal person.

    Problem is that simple typography can't do that. So American typographers decided that the comma should come before the quote because it looked better.

    But grammatically, it's completely irrelevant: they both come at the end of the phrase, and there is no specific order: they're just there.

  • Michael (unregistered) in reply to Critic
    Critic:
    Too bad making a better living doesn't make you a better person.

    You don't go to college to be a good person. You go to learn the skills you need to make a good living. At least thats why I thought I was spending assanine amounts of money to have some professor state the obvious to me for 8 hours a week so I can get a pretty piece of paper with my name on it.

  • (cs)

    Oh Lord, this reminds me of when I was writing a User Manual.

    I had the sentence:

    To exit the program, type "Quit", then press the Enter key.

    The editor person sent it back as:

    To exit the program, type "Quit," then press the Enter key.

    I tried to persuade them that these were not quotation marks, but "literal marks", and putting the comma inside would be commanding the user to type Quit comma, which was incorrect.

    I never did manage to convince them of the right way to do this. So every instance of a command example in the manual was correct English, but wrong, in that it did not work.

    I almost changed the program to accept a trailing comma, but that would have been unpalatable (to me).

  • (cs) in reply to Mark
    Mark:
    Why bother learning the programming language when you can just rewrite it to satisfy how you think it should work?

    Seriously, what's wrong with creating wrappers for standard library functions that allow you to reorder the parameters as you see fit? If a function takes n parameters, a series of simple tests (type, length, range) would tell the function which is which. This is how all programming languages should be.

  • ajb (unregistered)

    I remember that commas can be used for english if,then conditions and as brackets around text that can be ignored. Some early versions of Basic, pre .NET, back in line numbered days even allowed it in place of the THEN. You can't have a . in the middle of a sentence either. Oops, done it again!

  • Gamen (unregistered) in reply to An honest mouse
    An honest mouse:
    She wouldn't had have this problem if only she was educated at Oxford.
    You mean "if she *were* educated at Oxford"...

    You win a free internet for that Loudon Wainright reference.

Leave a comment on “It's a Different Set of Rules”

Log In or post as a guest

Replying to comment #:

« Return to Article