tag:blogger.com,1999:blog-5060551251465839575.post2138810700867654137..comments2023-12-25T23:28:04.785+08:00Comments on Dodgy Coder: "Yoda Conditions", "Pokémon Exception Handling" and other programming classicsDodgy_Coderhttp://www.blogger.com/profile/14418022725678218844noreply@blogger.comBlogger119125tag:blogger.com,1999:blog-5060551251465839575.post-27755475452909314282021-03-24T07:08:52.334+08:002021-03-24T07:08:52.334+08:00Some compilers, in some languages, but not the one...Some compilers, in some languages, but not the one you are using today.Myshkin-ukhttps://www.blogger.com/profile/12934356239255607601noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-43127185984185117642019-04-24T17:44:49.923+08:002019-04-24T17:44:49.923+08:00It's there under the name Jenga codeIt's there under the name Jenga codeJoshua2604https://www.blogger.com/profile/08530823921190729801noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-77081507476012175452018-11-28T15:38:54.020+08:002018-11-28T15:38:54.020+08:00I think it could be named also "domino code&q...I think it could be named also "domino code" :)Anonymoushttps://www.blogger.com/profile/10954696403136784229noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-49071527372715342602018-06-20T20:42:17.101+08:002018-06-20T20:42:17.101+08:00Originally, yoda conditions might have been introd...Originally, yoda conditions might have been introduced to reduce the potential of coding errors ChrisGuerrahttps://www.blogger.com/profile/16885004483482435619noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-77468694120014488772018-04-09T22:21:44.935+08:002018-04-09T22:21:44.935+08:00this made my day, and possibly my week. Thanks for...this made my day, and possibly my week. Thanks for posting!Twisted_Codehttps://www.blogger.com/profile/08045858320888331394noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-26638205343347201552018-02-26T12:02:14.137+08:002018-02-26T12:02:14.137+08:00"Excalibur bug"? Missed opportunity, the..."Excalibur bug"? Missed opportunity, there.Andrew Bankshttps://www.blogger.com/profile/11765955046810122445noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-73705848373353709112018-01-02T23:51:47.275+08:002018-01-02T23:51:47.275+08:00Untesting: when unit test failures are dealt with ...Untesting: when unit test failures are dealt with by being hurriedly re-written so that they pass, without checking whether the change breaks anything.bipedhttps://www.blogger.com/profile/08625911662198187827noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-34842664817049909162016-10-13T17:26:14.353+08:002016-10-13T17:26:14.353+08:00Deja Vu Bug. A bug that you can swear you fixed be...Deja Vu Bug. A bug that you can swear you fixed before.<br /><br />Periodic bug. Often mistaken for a Deja Vu bug. A bug that seems to reoccur at regular predictable intervals. Perhaps because of hardcoded solutions to daylight savings issues. One periodic bug I experienced was reported by two different people at opposite ends of the business cycle. Both were using the same tool, but complained a boolean value was getting set wrong. Of course, one of them wanted it to always be true and the other false. After a couple of years I noticed what was happening and added a checkbox to the form, and made the system remember whether it was last checked or unchecked for each user... Anonymoushttps://www.blogger.com/profile/18345985841464444113noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-68988572253322288332016-03-25T06:36:35.905+08:002016-03-25T06:36:35.905+08:00Rename (or alias) Pokemon Exception to a better us...Rename (or alias) Pokemon Exception to a better used name I learned today: Diaper PatternLuis Masuellihttps://www.blogger.com/profile/10311074611987750497noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-76639408520242323672016-03-25T06:34:10.707+08:002016-03-25T06:34:10.707+08:00+1 to Excalibug.
Also rename Veedubbing to Volksbu...+1 to Excalibug.<br />Also rename Veedubbing to Volksbuggen, given the recent events with the car brand.Luis Masuellihttps://www.blogger.com/profile/10311074611987750497noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-84064268474989830692016-03-18T18:51:00.145+08:002016-03-18T18:51:00.145+08:00"Excalibur bug"? "Excalibug" s..."Excalibur bug"? "Excalibug" sounds better to me :)Unknownhttps://www.blogger.com/profile/17452101551375750148noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-16993639374876038652015-11-23T21:27:41.907+08:002015-11-23T21:27:41.907+08:00I'd add "quantum memory leek": a me...I'd add "quantum memory leek": a memory leek which disappears when an attempt is made to investigate it with a profiler.<br />as a case of the Heisenbugmemory.of.a.dreamhttps://www.blogger.com/profile/10964696523568497149noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-2764706195411937372015-11-23T21:12:45.391+08:002015-11-23T21:12:45.391+08:00you can have a "quantum memory leek" how...you can have a "quantum memory leek" however, a memory leek which disappears when an attempt is made to investigate it with a profiler.memory.of.a.dreamhttps://www.blogger.com/profile/10964696523568497149noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-49901619350093101212015-11-23T21:10:26.777+08:002015-11-23T21:10:26.777+08:00This comment has been removed by the author.memory.of.a.dreamhttps://www.blogger.com/profile/10964696523568497149noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-20240124010733138152015-02-19T03:07:27.747+08:002015-02-19T03:07:27.747+08:00Something I recently Ran into : WTH Programming: W...Something I recently Ran into : WTH Programming: Where a programmer is forced to use a different language than what they normally use and the syntax (that would be simple to some one who programs in the Language) turns into 14K worth of lines of Code.Archonhttps://www.blogger.com/profile/16976385631743115000noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-24333390191879841362015-02-19T03:05:37.751+08:002015-02-19T03:05:37.751+08:00I call that one a Mechanic Bug or Programming by F...I call that one a Mechanic Bug or Programming by Fear Fix.Archonhttps://www.blogger.com/profile/16976385631743115000noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-22743830809001367582014-11-03T20:19:06.381+08:002014-11-03T20:19:06.381+08:00if null is a possible value i'd rather check t...if null is a possible value i'd rather check that too than silently ignore it with a yoda condition. in .net it would e.g. be string.IsNullOrEmpty(string). if i don't expect a null value i'd like an exception!Matthiashttps://www.blogger.com/profile/10606040329461841368noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-80339656154863711832014-10-21T08:04:55.379+08:002014-10-21T08:04:55.379+08:00Wack-a-mole bug. A bug that when fixed results in...Wack-a-mole bug. A bug that when fixed results in one or more new bugs ad infinitum. The type of bug produced by Hydra Code.skrymslihttps://www.blogger.com/profile/15757409210452337518noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-68022238390197986482014-10-03T05:32:32.222+08:002014-10-03T05:32:32.222+08:00nike software development - just do itnike software development - just do itAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-11741772587671464502014-04-21T21:47:23.393+08:002014-04-21T21:47:23.393+08:00I like the term "Search and Destroy" cod...I like the term "Search and Destroy" coding. Similar to Cut n Waste, they search the Internet, find some code they don't really understand, then Paste & Pray.<br />Often there is a whole lot of other artifacts, exceptions & caveats that go with that set of classes. And now your production code doesn't consider any of them. ;-)Davelehttps://www.blogger.com/profile/16130952398846347623noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-7139275405741669802013-11-09T12:02:09.214+08:002013-11-09T12:02:09.214+08:00@Smakkie: Recently (like the new Android (and thu...@Smakkie: Recently (like the new Android (and thus Java) compiler) would warn/advise about set but unused variables. I think many compilers are starting to go that direction. Nevermind that one (or several) variable(s) are going to use very little memory space... unless they're huge array(s) full of useless crap that then still doesn't get used.killermisthttps://www.blogger.com/profile/11252408208892968019noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-59540804759670714442013-10-06T19:21:38.727+08:002013-10-06T19:21:38.727+08:00Some more jargons we use are, Chaos methodology, a...Some more jargons we use are, Chaos methodology, and PDD (Panic Driven Development)Rageshhttps://www.blogger.com/profile/00892757397933449300noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-70966930298144359972013-05-10T20:50:34.859+08:002013-05-10T20:50:34.859+08:00I call that one a Proximity Bug.I call that one a Proximity Bug.Taghttps://www.blogger.com/profile/04390136631323444978noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-70957766594077643472013-04-18T05:55:08.974+08:002013-04-18T05:55:08.974+08:00Oh, and Variable Amnesia. It's a condition whe...Oh, and Variable Amnesia. It's a condition where one defines a variable but never uses it.Smakkiehttps://www.blogger.com/profile/06104385846416532437noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-45953919656888957202013-04-18T05:46:05.641+08:002013-04-18T05:46:05.641+08:00We have The Compatibility Bluff: saying the produc...We have The Compatibility Bluff: saying the product is compatible with legacy software when it hasn't been tested or the tests had horrific results. Like: should work on Win98.<br /><br />The bluff is generally low risk as the small percentile of clients using these dinosaur systems don't update our software either and our bosses have no clue on how to check legacy compatibility.Smakkiehttps://www.blogger.com/profile/06104385846416532437noreply@blogger.com