Could not resist

Now something completely unrelated to politics. As I wrote in my BIO I’m still a programmer (and I’ve to admit it’s programmer by heart). I have chosen this profession, probably it’s fits my taste. I like trying out things and I really like to “build” things. I’ve now spend over 20 years with programming and still like it. Anyway I’ve learned quite a few lessons, and I come to appreciate a few authors, and approaches. There’s one principle in Ruby which I value very high. It’s named DRY (Don’t Repeat Yourself). I’m also a big fan of continuous shaping and improving one’s code (the technical term for it is “refactoring”) Anyway some of the software I ship does not hold this principle high. You can tell: “well go change it”. And I’ve to admit yes, I should. And well I do. But I found another acronym for that code. And I can not resist offering it here: RYWYC (Repeat
Yourself Wherever You Can ;-). The code is a sorry mess in that regard. There is code duplication beyond any means. But there is also one quality in it: “It mostly works”. Agreed there are still trouble spots, but there are astonishingly few. And I’m still able to fix them. But it’s not something one should be especially proud of. One could be proud if one cleans up this mess. However this software lacks other essential things also: Tests. and refactoring without tests is like brain surgery with a chain saw…

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert