- 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
Andy Pandy?
Admin
Genius! I'm going to put a little
into all my programs from now on.
Admin
Admin
That line activates the R
Admin
Admin
If serialPort1.Write() only takes chars, then serialPort1.Write("R"); would fail either way, wouldn't it? And the string andy isn't visible outside of the scope of that if-clause, assuming that's a language that handles visibility like java.... But maybe it's just my sarcasm-sensor that needs readjusting
Admin
The file name is RFIDAndyJulRequest3.pde so I would think it might be running on an Arduino or some other Processing derivative, code certainly looks like it could be also.
The only other place I have seen the pde suffix is on IBM AFP page defs, and that code is not a a page def.
Admin
Admin
Hey, Andy are you goofing on Elvis?
Admin
No Andy namespace?
Admin
Admin
Was Andy's last name Foobar? I see that name in a lot of code too.
Admin
Admin
Admin
Admin
When maintaining code you didn't write, you run the risk of choosing a variable name that has already been used for something else. Prefixing it with your name ensures uniqueness, and also flags for future developers which areas you enhanced, in case they don't have the experience to appreciate your elegant optimizations and need them explained.
I wish everyone would take pride in their code and sign it. Names should appear not just in the source but even in the final product, along with email address and phone number. I don't know how many times I've wanted to contact some Microsoft developer and give them some helpful feedback regarding their fine work.
Admin
I once inherited code to maintain that was filled with the word "shit".
A few seconds using global replace took care of that.
You can get rid of most of Andy that way.
Admin
Admin
Ok, any code that has functions named "button34_click" is bound to end up here some day
Admin
It should say "button 34 selected".
Admin
You used a global replace and suddenly the code was no longer full of shit? I doubt it.
Admin
// The purple cow says "Quack"
and then wait to see how long it takes for someone to question what I was doing. I've been doing it for six jobs at which the projects comprised a combined 2MM LOC and have yet to hear from anyone.
Admin
So in other words, the developers are faced with this?
http://www.youtube.com/watch?v=bwBPpjeWcws
Akismet, please I'm not trying to spam the forum; just trying to crack a joke. Please let me post?
Admin
TBH, I'd be slightly alarmed if I could still see it...
Admin
WTF is with the Andycolorbit??????
Indecently, are all of these game related?
Admin
is blown out of the water by the woman we talked about the other day from Texas who called all her six sons Adam. As for No. 2, as an idea I can't fault it.
Admin
I replaced all instances of "shit" with "fuckingcuntbollockstwatfannycobol" once. Note the refusal to use camelcase.
Admin
Admin
Like a scunt but doesn't smell quite as bad.
Admin
What was the problem ?
Captcha:haero - lose that haero and get yourself half a machine language program
Admin
Sliding hot chicks on an Andy afternoon
Admin
Admin
One of the most common variable names in the source of a system we use is "r2d2", appearing over 29000 times. It was an all-encompassing "return data" object passed around to almost every major function, containing objects to update in a transaction, errors, warnings, etc.
At one point, when hitting a support wall (basically every incident would end with me fixing their bugs, mailing them patches, and seeing them go unused, and the bugs go unfixed on their end), I started tracking down the actual developers in hopes of bypassing their support people. One of them who was no longer with the company had the forum username R2D2. Though I don't think they were fired, so much as layed off with the other developers right after the company was bought out by a competitor, shortly after we purchased the system.
Admin
Admin
A later developer tried to change it up a little and include a little Barney in his code, but we managed to nip it in the bud.
Admin
I knew soneone like that we gave him the Nickname ROB$
Yes this was over 20 years ago.
Admin
...both quoted 'R's?
Admin
ANNDDEEEHHH!
ASKIMEEEETTTT!
Admin
He dropped the usage of "Andy" in his last code..... So there was improvment?
Admin
Lazy Andy Afternoon I hate the usage of words like foobar, foo, bar, baz etc. in examples. I've seen these in actual production code. While they may make sense in examples (because it's as abstract as it gets), it's so, so wrong everywhere else...
Admin
private void button34_click(object sender, EventArgs e)... button34_click as another real wtf...
Admin
Is the Arduino a Big Andian or Little Andyian platform?
Admin
I've always had a problem with "my" prefixing objects. Again, it's what's done in examples, but it feels childish, somehow, bringing to mind things like "my little p**y" and "my first training bra" and "my mummy" and the like. Anyone else share this eccentricity?
Admin
To a very limited extent. When I first upgraded from Windows 3.30 to 95, I looked around until I found out how to change those supposedly unalterable system icons so I could rename "My Computer" to "My Widdle Computesy-Wootsy".
Admin
If you're talking about code written from scratch, it's horrible.
If you're talking about code written within an existing framework and you use it to distinguish between framework code and your own, then please by all means go ahead. In this case, it's the easiest and clearest way to distinguish between what the framework already provides and what you should be writing.
Admin
is that him? g
http://www.chsonline.com/team/andrew_code.html
Admin
If you were to look closer i think you will find that actually Object extends Andy.
Admin
Admin
Admin
for a moment i thought it may have been the same guy: thedailywtf.com/Articles/ANDYNO.aspx