- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
To be fair, it meets requirements as they were expressed ... Brillant!
Admin
Some time later... "Bill Lumbergh, for Initech"
Admin
Either Cecil is stupid or genius. Stupid for not understanding requirements, or genius for a very good troll.
Admin
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
Admin
Just saying this one: https://www.wired.com/2015/11/null/ that fix by blanking the "null" string would break completely with that person.
Admin
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.
Admin
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.
Admin
Rumor has it that some languages have "null", (void *) NULL, empty string, empty, and unset.
Admin
Matt's code already handles empty strings, so it should actually fix the issue.
Admin
So would (void *) NULL be null and void?
Admin
Everything old is new again? http://thedailywtf.com/articles/Paging_Dr_0x2e__Null
Admin
He asked for the wrong thing blank would be "" pretty sure they wanted an unquoted null, should have just said that.
Admin
Ah malicious compliance at its finest.
Admin
I saw that coming a mile away! I'm very smart. Yay me!
Admin
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.
Admin
This made me laugh out loud. Clbuttic.
Admin
BLANK BLANK BLANKING BLANKETY BLANK BLANK of a BLANK!!!
Admin
BLANK BLANK BLANKING BLANKETY BLANK BLANK of a BLANK!!!
Admin
Null injection vulnerability.
Admin
Easy Reader Version: Well sure; when you put the punchline in the title...
Admin
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 ! ! ! _ _ _
Admin
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 ! ! ! _ _ _
Admin
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.
Admin
"Quick, call me an ambulance..."
Admin
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.
Admin
You're an ambulance.