• Sole Purpose of VIsit (unregistered)

    To be fair, it meets requirements as they were expressed ... Brillant!

  • Pedro (unregistered)
    • dude, I meant the "null" string should be replaced with a blank value, not the work "blank"!
    • oh, sorry I misunderstood! I'll fix it right away!

    Some time later... "Bill Lumbergh,      for Initech"

  • (nodebb)

    Either Cecil is stupid or genius. Stupid for not understanding requirements, or genius for a very good troll.

  • (nodebb)

    I think people hear the idea of small components and completely misunderstand it. Instead of breaking up actual code into small classes which contain few small methods, using interfaces and inheritance properly, etc., they start creating many applications all of which need to talk to each other somehow. BAD IDEA

  • NULLPTR (unregistered)

    Just saying this one: https://www.wired.com/2015/11/null/ that fix by blanking the "null" string would break completely with that person.

  • James (unregistered) in reply to Mr. TA

    Sometimes yes sometimes no. Some additional rules for components are the code should be useful on its own. If its not of a re-usable nature it probably does belong as a part of something else. Maybe as a group of methods in another class; maybe a class in another assembly/application. Inter-process communication isnt always evil, especially if its as simple as stdin of process B reads stdout of process A.

    What it really comes down to is having a good understanding of the actual coupling, cohesion, and dataflow. Make it make sense and it will be maintainable. Try and apply some canard blindly to every situation and you will get a system that sucks. A basket of tiny things stuck together with tickytack and sticky tape is usually a little better than a ball of mud but not much better.

  • English Bob (unregistered)

    Maybe it means something different over the pond, but "Matt chatted up Cecil" suggests it was a romantic endeavour here in blighty. Did it end well? Do I hear wedding bells? Is that allowed in the US? I forget.

  • Gumpy_Gus (unregistered)

    Rumor has it that some languages have "null", (void *) NULL, empty string, empty, and unset.

  • Björn Tantau (unregistered) in reply to Pedro

    Matt's code already handles empty strings, so it should actually fix the issue.

  • Conradus (unregistered) in reply to Gumpy_Gus

    So would (void *) NULL be null and void?

  • Robert M (unregistered)

    Everything old is new again? http://thedailywtf.com/articles/Paging_Dr_0x2e__Null

  • Someone (unregistered)

    He asked for the wrong thing blank would be "" pretty sure they wanted an unquoted null, should have just said that.

  • ZZartin (unregistered)

    Ah malicious compliance at its finest.

  • akozakie (unregistered)

    I saw that coming a mile away! I'm very smart. Yay me!

  • anonymous (unregistered)

    Reminds me of when I was first learning to program and was following a tutorial that listed changes to make to some template/default code. One of the values was listed as "<make empty>", so I took out what was there and put the text "<make empty>" in its place. Of course, it didn't work and it took a while for me to figure out that I was supposed to remove the value entirely.

  • (nodebb)

    This made me laugh out loud. Clbuttic.

  • (nodebb)


  • (nodebb)


  • Object delete. (unregistered)

    Null injection vulnerability.

  • (nodebb)

    Easy Reader Version: Well sure; when you put the punchline in the title...

  • fung-dung-en (unregistered)

    well well well innanutshell wheninna hell insida egg-head shell when its absolutely blank to empty that empty tank shall only shell #! and then blank ! ! ! _ _ _

  • fung-dung-en (unregistered)

    well well well innanutshell wheninna hell inside the egg-head-shell when its absolutely blank to empty that empty tank she'll not yell shall only shell #! and then blank ! ! ! _ _ _

  • Decius (unregistered)

    I'd correct the data at the source, who said that their job title was "null".

    If he said his job was "CEO of Initech", you would display it as "CEO of Initech at Initech", which is also wrong.

  • Harrow (unregistered)

    "Quick, call me an ambulance..."

  • Pedro (unregistered) in reply to Björn Tantau

    quote: Matt's code already handles empty strings, so it should actually fix the issue.

    I actually used "& nbsp ;" entities, but the forum [correctly] translated those to spaces. I meant it as text.

  • Pedro (unregistered) in reply to Harrow

    You're an ambulance.

Leave a comment on “The Blanking Blank”

Log In or post as a guest

Replying to comment #:

« Return to Article