📆
2022-08-27
If you are around my age, work as a programmer, and took some classes on the subject since 2009, you probably were subjected to Robert C. Martin’s book Clean Code: A Handbook of Agile Software Craftsmanship. (As of this day, the first edition from 2008 hasn’t been updated. Clearly, Clean Code must be a—nay, the—perfect book, which does not require improvements or adjustments after all those years).
I bought the book out of personal interest, probably in 2009.
📆
13.04.2022
Explanations exist; they have existed for all time; there is always a well-known solution to every human problem — neat, plausible, and wrong.
‒ H. L. Mencken
Im Geografieunterricht am Gynmasium kann ich mich an zwei Lehrer erinnern: Der erste war eher ein Haudegen; hatte ein enormes Wissen, versteckte dieses aber teilweise hinter seiner jovialen Art. Bei ihm im Unterricht haben wir angeschaut, was die Fakten sind. In New York herscht dieses und in den Tropen jenes Klima.
📆
2021-05-02
In The Clean Coder, Chapter 7 (Acceptance Tests), Robert C. Martin writes (p. 109):
But the real reason these tests aren’t redundant is that their primary function is not testing. The fact that they are tests is incidental. […] The fact that they automatically verify the design, structure, and behaviour that they specify is wildly useful, but the specification is their true purpose. [Bold emphasis mine.]
OK, boomer, here’s your spec:
📆
27.09.2020
Neulich bin ich auf einer Webseite auf ein Angebot «für Benutzer*innen» gestossen. Dabei handelt es sich nicht etwa um ein Glob-Pattern, worauf der Asterisk schliessen lassen könnte, sondern wohl um ein Gendersternchen. (In der Linguistik wird dieses Zeichen zur Kenntlichmachung von ungrammatischen Konstrukten verwendet. Die Ironie dieses Zufalls dürfte im weiteren Verlauf des Artikels deutlich werden.)
Was soll nun dieses Gendersternchen bewirken? Es kürzt das umständlichere «für Benutzer und Benutzerinnen» ab.
📆
2020-07-22
Many universities teach programming in Java. Writing unit tests is one of the subjects being taught. Many professional Java programmers, but also university professors, suggest to build those test cases according to a pattern. Given, When, Then is a common pattern, and so is Arrange, Act, Assert. Both patterns prescribe the following structure for a test case:
Given/Arrange: An environment (in the broadest sense) is built up. When/Act: The function or method to be tested is invoked.
📆
04.07.2020
Ich habe diesen Frühling Heute schon einen Prozess optimiert? von Gunter Dueck gelesen. Der Autor beschreibt in diesem Buch, wie in Deutschland (und im ähnlichen Stil wohl auch in anderen Ländern) derzeit Prozessoptimiertung überall das Gebot der Stunde ist. Historisch gesehen habe man das Wirtschaftswachstum seit dem zweiten Weltkrieg vor allem Prozessoptimierungen im zweiten Wirtschaftssektor (in der Industrie) zu verdanken. Die Autos, die wir heute fahren, unterscheiden sich nicht grundlegend von denjenigen, die vor 50 Jahren produziert worden sind.
📆
2018-10-18
I’m doing a bachelor’s degree at a university of applied sciences with its own computer science department. I work part-time besides and already have a couple of years of practice in the field. In fact, I’ll soon reach the point of being longer in IT than I have spent time outside of it, for I’m already 31 years old and started my apprenticeship at the age of 16.
I’m mostly interested in programming.
🇬🇧
Cargo CultGetting it Wrong by Wanting it Right
📆
2018-10-05
Accepting interfaces instead of requiring specific implementations is a good practice. Take Java collections as an example. A method accepting an ArrayList argument will only be useful if the caller is already using an ArrayList. Otherwise he’d need to convert the implementation he’s using, say, LinkedList, to an ArrayList first. A method accepting the List or even the Collection interface is far more likely to accept what the caller already has.