Oh dear, I just can’t stop laughing since page 1 of this 5 pages article…
roflmao
Our office is full of Olés.
And it’s nearly 5PM, and we are Friday
those are awesome!
I’ve never ever done a yoda conditional!
Awesome, thanks for sharing!
Lol, I can use Greeble and Wonkify!
These are the two I see most in my code.
Love the following (because they are soo true!):
False Start
Chicken and Egg Problem
WOW, here is another good one:
Polishing the Bolts Before the Engines Are On
While network programming:
Voodoo Code
That’s really awesome! Thanks for sharing
Haha, this is me.
I just say “you’re welcome” and go back to my desk.
We could use some more of them on the Forum
I must admit that I use Yoda conditions… but mainly because I got used to it. In '98 the Microsoft Visual C++ compiler produced instruction errors on some lines checking pointers (ie. if (pObject)… or if (pObject!=NULL)…)… we were able to track this down to the produced assembler code. Using Yoda conditions solved the problem
I spent 19 years developing software prior to getting on a team at Activision where the lead insisted that all conditionals be done Yoda-style. ALL CONDITIONALS Including the ones that you couldn’t do Yoda-style where you would have to write two extra lines of code to be able to write the comparison backwards.
Every programmer on the team was like “WTF!?” Each week we’d have a code review and we’d quickly go through whichever source module we were going to submit and switch all of the normal, properly tested, and QA’d conditionals to Yoda just for the code review, get complimented by the lead on our usage of them, then throw away the changes when we got back to our desk.
There are good points to reversing the conditional, but mostly, and this is just an anecdote from my own experiences, it just pisses programmers off to be made to do it, especially when it doesn’t make sense, and the teams I have been on usually have to fix more bugs in a Yoda-style conditional because the programmer didn’t “think that way” than the usage prevented.
xd
My cat that hangs out on my desk is the best programmer in the world. Never writes a line of code, but fixes lots of bugs very quickly for me.
I have been thinking of writing a web app that would work like a video chat line.
I would film segments of various people from neck bearded scientists to the nerdy chess club member to hard core video game players to stunningly beautiful girls. Each person would have a few dozen stock phrases that could be played back, and they would stare at the camera intently and nod in interest at appropriate moments.
A simple voice recognition app would pick up what you’re saying and on key phrases would play the appropriate video segment such as “I think I understand but what would that do to fix the underlying problem?” or “Sounds like it could work.”
You would log in, select your problem domain such as “need to fix a bug in my code” and then you could explain it to a video avatar as though you were talking to someone in a video conference. The video avatar would appear interested and knowledgeable and have the patience to listen to you prattling on about a bug in your code.
I love
So far it only made everything worse as my understanding of intuitive is on a level where I need to write a 10 page documentation for a designer to start normally ^^
I prefer the agile approach on such stuff, get the designer in from the first runnable version and force him to point out stuff in an open and straight form so you can get anywhere on the usability end …
unhappily we all know that the favorite way to approach this is to let programmers work on it for weeks and when its really ^there’ some designer or lead decides thatis time to test just to find out that it makes no freaking sense to them ^^
Some of these had me rolling also - thanks for the link!
-Will