![developer-media_Bugpfeife](https://developer-media.de//wp-content/uploads/2015/12/developer-media_Bugpfeife-215x300.png)
Das Jahr 2015 neigt sich dem Ende zu und wir bedanken uns für Ihr Vertrauen und Ihre Treue. Wir wünschen Ihnen ein erfolgreiches und bugfreies Jahr 2016!
Dafür möchten wir Ihnen ein neues Tool für Codequalität ans Herz legen: Die Bug-Pfeife. Was es damit auf sich hat? Lesen Sie weiter unten.
—–
Ensure the quality of your software!
The year 2015 is coming to an end. Thank you for your loyalty and trust to us. We wish you a Happy New Year, a lot of success and a minimum of bugs!
For the new year, we want to present to you a new tool for code quality: The Bug Pipe. Please read more below.
The Bug-Piper of Hamelin
(based on „Pied Piper of Hamelin“ by the Brothers Grimm)
We want to tell you a story from the town of Hamelin (Lower Saxony, Germany). It begins like every good legend does.
It is a long, long time ago, that the first line of code have become a considerable piece of software:
<script type=“text/javascript“>
var viewModel =
{
„items“ : ko.observableArray([
„jinglebells“,
„jinglebells“,
„jinglealltheway“,
„owhatfunitistorideina“,
„onehorseopensleigh“
]),
„buttonClicked“: function(){
alert(this.selectedItem()); }
}
ko.applyBindings(viewModel);
viewModel.selectedItem(„onehorseopensleigh“);
</html>
</body>
But then the bugs came!
In the beginning, there had been only a couple of bugs – attracted by the delicious lines of code. But within a short period of time, the number of bugs has grown rapidly and enormously.
Fortunately a mysterious man suddenly came to town, wearing a coat of many colored, bright cloth, for which reason he was called the Bug Piper. The mysterious man claimed to be a bug fighter, and he promised to get rid of all the dirty bugs.
The Bug Piper then took a small pipe from his pcket and he began to blow on it. Bugs – small ones and big ones – came from everywhere in the code lines and software, they gathered around him. He led them all to the River Weser and walked into the water. The bugs in all their variety – all followed him, fell in, and drowned.
Fabulous and enigmatic – these words describe best the event that happened in Hamelin. Nonetheless, the moral of the story is still valid: You don’t need to accept errors and bugs in your software. Lure the small bugs and the huge bugs out of your code – improve its quality!