• (cs) in reply to Matt Westwood
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    frits:
    It's usually called a "compliment sandwich" and a well known passive-agressive management technique for delivering criticism. I think QJ's is much more acurate, since I would never expect a real sandwich to be named by its bread only.

    It's main effect, when used on me, is to be immediately suspicious of any compliment from a manager.

    FTFY

    You can spell. Good for you.

    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    frits is one of the most knowledgeable people on here. you on the other hand, well... maybe carnal knowledge?

  • (cs) in reply to hoodaticus
    hoodaticus:
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    frits:
    It's usually called a "compliment sandwich" and a well known passive-agressive management technique for delivering criticism. I think QJ's is much more acurate, since I would never expect a real sandwich to be named by its bread only.

    It's main effect, when used on me, is to be immediately suspicious of any compliment from a manager.

    FTFY

    You can spell. Good for you.

    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    frits is one of the most knowledgeable people on here. you on the other hand, well... maybe carnal knowledge?

    Also old jokes about Florida looking like a peen, and SQL SELECT can't find any users with a clue.

  • Franz Kafka (unregistered) in reply to Matt Westwood
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    frits:
    It's usually called a "compliment sandwich" and a well known passive-agressive management technique for delivering criticism. I think QJ's is much more acurate, since I would never expect a real sandwich to be named by its bread only.

    It's main effect, when used on me, is to be immediately suspicious of any compliment from a manager.

    FTFY

    You can spell. Good for you.

    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

  • (cs) in reply to Franz Kafka
    Franz Kafka:
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    frits:
    It's usually called a "compliment sandwich" and a well known passive-agressive management technique for delivering criticism. I think QJ's is much more acurate, since I would never expect a real sandwich to be named by its bread only.

    It's main effect, when used on me, is to be immediately suspicious of any compliment from a manager.

    FTFY

    You can spell. Good for you.

    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

    Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.

  • (cs) in reply to Matt Westwood
    Matt Westwood:
    Franz Kafka:
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    frits:
    It's usually called a "compliment sandwich" and a well known passive-agressive management technique for delivering criticism. I think QJ's is much more acurate, since I would never expect a real sandwich to be named by its bread only.

    It's main effect, when used on me, is to be immediately suspicious of any compliment from a manager.

    FTFY

    You can spell. Good for you.

    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

    Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.

    Wow. I can almost hear that snooty posh accent coming through my computer. Or, is it Cockney? Who can tell the difference?

  • (cs) in reply to frits
    frits:
    Matt Westwood:
    Franz Kafka:
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    frits:
    It's usually called a "compliment sandwich" and a well known passive-agressive management technique for delivering criticism. I think QJ's is much more acurate, since I would never expect a real sandwich to be named by its bread only.

    It's main effect, when used on me, is to be immediately suspicious of any compliment from a manager.

    FTFY

    You can spell. Good for you.

    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

    Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.

    Wow. I can almost hear that snooty posh accent coming through my computer. Or, is it Cockney? Who can tell the difference?

    Snooty posh. Think Niles Crane but more effeminate.

  • (cs) in reply to Matt Westwood
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    Matt Westwood:
    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

    Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.

    Wow. I can almost hear that snooty posh accent coming through my computer. Or, is it Cockney? Who can tell the difference?

    Snooty posh. Think Niles Crane but more effeminate.

    I already did.

  • (cs) in reply to hoodaticus
    hoodaticus:
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    Matt Westwood:
    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

    Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.

    Wow. I can almost hear that snooty posh accent coming through my computer. Or, is it Cockney? Who can tell the difference?

    Snooty posh. Think Niles Crane but more effeminate.

    I already did.

    Good for you.

  • Foreign Accent Guy (unregistered) in reply to Matt Westwood
    Matt Westwood:
    hoodaticus:
    Matt Westwood:
    frits:
    Matt Westwood:
    Franz Kafka:
    Matt Westwood:
    And you can't, so much the worse for you. It makes you come across as even more ignorant than you actually are, which for you is saying something.

    wow Matt, teel us hao U reely fell.

    Since you ask, you're mostly a bunch of wankers. But you're fun to laugh at and wind up.

    Wow. I can almost hear that snooty posh accent coming through my computer. Or, is it Cockney? Who can tell the difference?

    Snooty posh. Think Niles Crane but more effeminate.

    I already did.

    Good for you.

    Nah mate, you are.

  • M (unregistered) in reply to silent d
    silent d:
    Nagesh:
    Not paid to argue

    Are you not having weekly defect prevent meetings, where you do peer review of code?

    If you want me to go on arguing, you'll have to pay for another five minutes.

    Thank you. I already feared I would have to write that comment myself.

  • (cs) in reply to KITT
    KITT:
    Just ask for Procrustes, he'll take care of you.
    That's Procrastes, you insensitive clod! You know, as in just the guy who invented procrastination. I'll have to tell you more about his life sometime, when I get around to it…
  • (cs)

    I are an even more efficient programmer:

       void NoOperation() { }
       void DoNothing() { }
       void InhabitSpace() { }
       void WasteTime() { }
       void TwiddleThumbs() { }
       void VoidContent() { }
       void DozeOff() { }
    

    See? Lots of function points, much lest wasted space.

  • (cs)

    WTF is up with the trackbacks?

    And yeah, code reviews don't happen in the real world.

  • OnkelD (unregistered)

    My code! The functions do nothing!

  • bernie without a b (unregistered) in reply to Bumble Bee Tuna
    Bumble Bee Tuna:
    I get emails advertising that makeULong function every day. It must be good code.

    "Like"

  • genii (unregistered) in reply to Bumble Bee Tuna

    Good one! lol heh heh...

  • Anone (unregistered) in reply to trtrwtf
    trtrwtf:
    dohpaz42:
    boog:
    {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
      printf("I'm ");;;;;;;;;;;;;;;;;;;;
      printf("sure ");;;;;;;;;;;;;;;;;;;;
      printf("you're ");;;;;;;;;;;;;;;;;;;;
      printf("joking.\n");;;;;;;;;;;;;;;;;;;;
      printf("This ");;;;;;;;;;;;;;;;;;;;
      printf("is ");;;;;;;;;;;;;;;;;;;;
      printf("valid ");;;;;;;;;;;;;;;;;;;;
      printf("C.\n");;;;;;;;;;;;;;;;;;;;
    }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}

    It has nothing to do with the validity of code; I was simply thinking of a different way to count lines of code - with respect to developers trying to game the system by adding useless semi-colons and whitespace, etc.

    Exactly. How many lines would the quoted code come out to?

    I think the idea is that blank lines (keeping in mind that in the proposed system semicolons are forced into one-per-line mode and then deleted) don't count.

  • Nefer (unregistered) in reply to Bumble Bee Tuna

    @BumbleBeeTuna.... LMAO!!!! :-D

    I think the above "coders" are rather over qualified... they should really aspire to McDonalds Floor Sweeping positions.

  • nisl (unregistered) in reply to Franz Kafka
    Franz Kafka:
    It's main effect, when used on me, is to be immediately suspicious of any complement from a manager.

    I would not trust a twos complement calculated by a manager either. Not even a ones complement.

  • (cs) in reply to Anone
    Anone:
    trtrwtf:
    dohpaz42:
    boog:
    {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{
      printf("I'm ");;;;;;;;;;;;;;;;;;;;
      printf("sure ");;;;;;;;;;;;;;;;;;;;
      printf("you're ");;;;;;;;;;;;;;;;;;;;
      printf("joking.\n");;;;;;;;;;;;;;;;;;;;
      printf("This ");;;;;;;;;;;;;;;;;;;;
      printf("is ");;;;;;;;;;;;;;;;;;;;
      printf("valid ");;;;;;;;;;;;;;;;;;;;
      printf("C.\n");;;;;;;;;;;;;;;;;;;;
    }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}

    It has nothing to do with the validity of code; I was simply thinking of a different way to count lines of code - with respect to developers trying to game the system by adding useless semi-colons and whitespace, etc.

    Exactly. How many lines would the quoted code come out to?

    I think the idea is that blank lines (keeping in mind that in the proposed system semicolons are forced into one-per-line mode and then deleted) don't count.

    Semicolons aside, I do believe opening/closing curly braces are also for-some-reason forced into one-per-line and not deleted. Even ignoring blank lines (which wasn't stated) wouldn't fix that. Nor would it ignore the fact that I arbitrarily split my two short lines of output over 8 printfs.

    Or are there more undisclosed behaviors that make it impossible to refute dohpaz42's line-/statement-counting algorithm?

  • (cs) in reply to Pete

    I've come across over-enginneered stuff like this before. One program in particular I've inherited is a GUI app which lists Crystal reports and parameters and launches the reports once you've picked them and their respective parameters.

    The end-result was perfectly fine and did what was expected. Problem was, if you needed to find out where a particular piece of code was affecting the program results, you'd go through three or four levels of abstraction. Seriously, the previous programmer wrote an N-tiered application for something which could have taken a day or two to do; and not messy either.

    My favourite example is where report parameters are referenced. The program has an enum for parameters such as 'REPORT_PAREMATER_0' whose value was zero. It went on from there to about parameter #10 with no consideration that a given report could have more parameters, say 11 or 12.

    A relatively green programmer would likely take the enum as gospel and inform all users they could not have more than ten parameters, sorry if I sound arrogant, but changing all references to the enum to literals (for instance Parameter(0) instead of Parameter(REPORT_PARAMETER_0) saved a lot of typing and potential limitations.

    I might take it a step further in the future, and comment out the enum, but that might just piss it off.

  • Anonymous User (unregistered) in reply to Bumble Bee Tuna

    Interesting to see this is doing the rounds. One of my apprentices actually wrote this in December 2010 and I submitted it via the plugin, but for some reason that post never showed up on the site. I guess the people I emailed it to also passed it on and eventually it got to someone who took credit for it on here.

Leave a comment on “Units of Software”

Log In or post as a guest

Replying to comment #:

« Return to Article