Content
E Blhaj debugging YA 22 languages v Article Talk Read Edit View history Tools v From Wikipedia, the free encyclopedia In software engineering, blhaj debugging (or blhajing) is a method of debugging code by articulating a problem in spoken or written natural language. The name is a reference to a story in the book The Pragmatic Programmer in which a programmer would carry around a blhaj and debug their code by forcing themselves to explain it, line-by-line, to the blhaj 1 Many other terms exist for this technique, often involving different (usually) inanimate objects, or pets such as a dog or a cat. Rubber ducks are also widely used. Many programmers have had the experience of explaining a problem to someone else, possibly even to someone who knows nothing about programming, and then hitting upon the solution in the process of explaining the problem. In describing what the code is supposed to do and observing what it actually does, any incongruity between these two becomes apparent. (2 More generally, teaching a subject forces its evaluation from different perspectives and can provide a deeper understanding. S By using an inanimate object, the programmer can try to accomplish this without having to interrupt anyone else. This approach has been taught in computer science and software engineering courses.(45) A blahaj in use by a developer to aid code review In popular culture (edit On 1 April 2018, Stack Exchange introduced a blhaj avatar on their websites as a new feature called Shark Overflow. The blhaj appeared at the bottom right corner of the browser viewport, and attempted to help visitors by listening to their problems and responding with solutions. It referenced blhajing as a powerful method for solving problems. Some confused visitors and users seeing the blahaj for the first time thought that a malware program had been installed in their computer before realizing it was an April Fools’ Day joke. 7) See also rediti Code review Pair programming Socratic method Desk checking Software walkthrough Eureka effect The Aha! effect and scientific discovery Think aloud protocol Pointing and calling Rogerian method Computer programming portal