Originally Posted by
downtube42
I'm waiting for a software built to get done, so here's my assessment thus far in the competition:
- Brain bleed - 10 Wheels
- Broken neck; C1 C2 fuse - bruce19
- Broken neck; C3 fracture - downtube42
- Lots 'O shattered stuff - Ghostrider62
- Broken elbow x 2 - Retro Grouch
- Broken elbow - Juan Foote
- Split collar bone - indyfabz
- Pulverized ankle bone - Rolla
- Broken Shoulder - jaxgtr
- Torn ligaments and tendons - Lambkin55
- AC separateions and collased lung - JohnDThompson
- AC Joint Separation - Rdmonster69
- AC Joint Separation - Cornchips
- AC Joint Sprain - rumrunn6
- Broken ribs & dislocated clavicle - mstateglfr
- Cut elbow - Daniel4
- Road rash - delbiker1
Feel free to debate my unilateral and uninformed results.
To finish up the story. I had to cancel the build (which takes 45 minutes on a good day) because a dude on another software team (those idiots) had a last minute check-in for
our code base that just had to be in this release. After his check-in I force started a build, then sat and twiddled my thumbs for a while. Eventually I got curious, did a dif, and looked at his code. Oh. My. God. Ugly code. Gawdawful, with magic numbers, bypassing interfaces, grabbing unfiltered data from an input channel. All that was true and horrid and totally expected given the source.
But, to tie in to the thread. I was looking at his new code where a variable was declared static and initialized inside a function, yet subsequently used in that function as if it was initialized globally. So I pinged the guy, with a big "DUDE YOU BROKE THE BUILD". In parallel I googled how static declarations work in C, because I had a sneaking suspicion I've forgotten more than I realize. Oh how right I was on that point. A static variable initialized inside a function has global scope in the module and is initialized only once. Well crap. I used to know that.
I've had one too many cycling concussions to be allowed anywhere near code. So add to the list, hit my head and broke my brain. That's why I'm the manager now.