<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Michael H. on Medium]]></title>
        <description><![CDATA[Stories by Michael H. on Medium]]></description>
        <link>https://medium.com/@mijoha?source=rss-7bd36d4ae5c8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*UuzlvBhzCqf3tUL7QHPqYQ.png</url>
            <title>Stories by Michael H. on Medium</title>
            <link>https://medium.com/@mijoha?source=rss-7bd36d4ae5c8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 11:06:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mijoha/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Billion Dollar Problem: How Corporates Tackle Modernizing Their Legacy Code]]></title>
            <link>https://medium.com/@mijoha/the-billion-dollar-problem-how-corporates-tackle-modernizing-their-legacy-code-2e087048a026?source=rss-7bd36d4ae5c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e087048a026</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Michael H.]]></dc:creator>
            <pubDate>Mon, 20 Feb 2023 22:38:00 GMT</pubDate>
            <atom:updated>2023-02-21T09:51:07.162Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Billion Dollar Problem: How to Save Corporates from Legacy Code</h3><h4>A glimpse into how OCL helps rebuilding the aging backbone of our economy</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*TDTsgMoOT6CJUp5jqrfeOA.jpeg" /></figure><p>As software development has progressed over the past several decades, many languages have come and gone. Some programming languages have persisted through the years and have become known as “legacy languages.” Some examples of these languages include COBOL, which originated in the late 1950s, and Visual Basic, which originated in the mid-60s.</p><p>Legacy languages are still in use today, particularly in business applications that are considered “business-critical.” These applications often exist in very old programming languages, and have been modified and adapted over the years, resulting in code that is difficult to understand and maintain.</p><p>One major issue is that legacy code often has very rigid data formats. For example, COBOL does not have integers, strings, doubles, or other modern programming language types. Instead, it has byte formats, with hard-coded customer IDs that are limited to four digits. As businesses grow, they may need to extend customer numbers beyond 9900, which requires changing the whole program due to the inflexible data format.</p><p>The recovery of design from legacy code has become a focus of research in recent years. The goal of this research is to facilitate the modernization of legacy software by first taking the legacy software and abstracting it to a specification in the international standard frameworks like Object Constraint Language (OCL) and Unified Modeling Language (UML). The result is a precise description of what the functionality is, as well as a diagrammatic specification that can be used for various purposes to explain what is going on in the code.</p><h4><strong>What is OCL?</strong></h4><p>OCL has emerged as a key tool for expressing precise constraint and object query expressions on any meta-model, including the widely-used Unified Modeling Language (UML). Initially developed by IBM as a formal specification language extension for UML, OCL has since become an integral part of the UML standard and has been adopted as a fundamental component of the OMG’s new standard recommendation for transforming models, the Queries/Views/Transformations (QVT) specification. With its ability to provide a text-based language for expressing constraints and queries that cannot be readily represented through diagrammatic notation, OCL has proven to be a powerful and versatile tool for model-driven development and has garnered significant attention and interest among researchers and practitioners alike.</p><p>Here is an example of an OCL constraint</p><pre>context Person inv:<br>    self.age &gt;= 18py</pre><p>This constraint specifies that the age of a Person object must be greater than or equal to 18. The context keyword indicates the context in which the constraint applies (in this case, to Person objects). The inv keyword indicates that this is an invariant constraint, which means that it must be true for all instances of the class.</p><p>This is just a simple example, but OCL can be used to specify much more complex constraints and queries on UML models. Let’s look at another example.</p><p>Let’s say we have a UML class diagram representing a library system. The diagram contains classes such as Library, Book, and User. The Library class has a one-to-many association with the Book class, and the User class has a many-to-many association with the Book class, representing the fact that users can borrow multiple books and a book can be borrowed by multiple users. The Book class has a dueDate attribute, representing the date by which the book is due to be returned.</p><p>Using OCL, we can define a constraint that ensures that the due date for a borrowed book is after the current date:</p><pre>rustcontext Book<br>inv BookDueDate:<br>    self.borrowers-&gt;forAll(<br>        borrower | self.dueDate &gt; borrower.borrowDate<br>    )</pre><p>In this example, the context keyword indicates that the constraint applies to instances of the Book class. The inv keyword indicates that the constraint is an invariant, which means it must hold true for all instances of the class. The constraint itself is defined using the forAll operator, which checks that the due date for every borrower of the book is after the borrower&#39;s borrow date.</p><p>This constraint ensures that books cannot be borrowed with a due date in the past, and helps to maintain the integrity of the library system.</p><h4>OCL is hard</h4><p>While OCL is a powerful tool for specifying constraints and querying models, it also poses some challenges in its practical use. Here are a few common challenges in using OCL:</p><ol><li><strong>Complexity: </strong>OCL expressions can become complex, especially for larger models, and can be difficult to understand and maintain. It requires significant expertise to write complex OCL expressions.</li><li><strong>Tool support:</strong> Many modeling tools have limited or incomplete support for OCL, which can make it difficult to use effectively. This can limit the use of OCL in practice, as it requires additional effort to implement and integrate with modeling tools.</li><li><strong>Integration:</strong> Integrating OCL with other modeling languages, tools, and frameworks can be a challenge. OCL is designed to be used with UML models, but integrating it with other models can be difficult.</li><li><strong>Learning curve:</strong> Learning OCL can be challenging, particularly for those new to formal specification languages or UML modeling. This can make it difficult for teams to adopt OCL and integrate it into their development process.</li></ol><p>Despite these challenges, OCL remains a valuable tool for specifying constraints and querying models in a precise and formal way. With proper training and tool support, OCL can help teams improve the quality of their models and reduce errors in their software systems.</p><p>Once the legacy code has been abstracted to this specification, forward engineering tools can be used to generate code in new languages such as Javascript, Java, Python, Swift, and C#. The resulting modernized version provides a better platform for the system, giving businesses and corporations the ability to move forward with more confidence in the stability and longevity of their software.</p><p>One of the biggest challenges with legacy code is ensuring that functionality is preserved in the transition to new languages. To address this challenge, researchers have used rich semantic modeling and extraction to provide some guarantees of functionality preservation. By doing so, they have been able to provide assurances that the new software will behave as the original legacy code did.</p><p>To demonstrate the effectiveness of these methods, case studies have been performed with finance companies, re-engineering old VB6 code to Python with no change in functionality. This was accomplished even though the code was doing bond pricing and analysis, a complex task that requires a high degree of accuracy.</p><p><strong>In conclusion, legacy code poses a significant challenge to businesses and corporations. However, by abstracting legacy code to a precise specification and using forward engineering tools to generate code in new languages, it is possible to modernize legacy software and provide a better platform for the system. While there are challenges associated with legacy code, researchers have demonstrated that they can provide assurances of functionality preservation, enabling businesses to move forward with confidence in the stability and longevity of their software.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e087048a026" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[„Vorne kommt das Wischwasser rein.“]]></title>
            <link>https://medium.com/@mijoha/vorne-kommt-das-wischwasser-rein-9739606c1f86?source=rss-7bd36d4ae5c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9739606c1f86</guid>
            <category><![CDATA[tesla]]></category>
            <category><![CDATA[bmw]]></category>
            <category><![CDATA[christoph-waltz]]></category>
            <category><![CDATA[werbung]]></category>
            <category><![CDATA[elektromobilität]]></category>
            <dc:creator><![CDATA[Michael H.]]></dc:creator>
            <pubDate>Fri, 27 Nov 2020 10:08:45 GMT</pubDate>
            <atom:updated>2021-01-12T14:56:25.597Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Christoph Waltz präsentiert das BMW iX Highlight: Vorne kommt das Waschwasser rein.</strong></h3><h4><em>Ein </em><a href="https://www.youtube.com/watch?v=iUSbbJWh6gA"><em>Werbespot mit Oscarpreisträger Christoph Waltz</em></a><em> und dem BMW Vorstandsvorsitzenden Oliver Zipse </em>für den neuen BMW iX.<em> Das erfordert Höchstleistungen von Kommunikationsabteilung und Agenturen. Monatelange Vorbereitung. Jeder Satz wird von Experten präzise formuliert und akribisch gegengelesen. Die Geburtsstunde eines Meisterstücks für Markenbotschaft für Elektromobilität von BMW. Im vorliegenden Fall entspricht das Ergebnis leider einem Symptombild angestaubter Konzernkultur mit mangelndem Kundenfokus. Was BMW an guten Ideen fehlt, stolpert es sich mit unbeholfener Selbstinszenierung zurecht.</em></h4><p><strong>„Herr Zipse, der Herr Waltz ist da.“</strong></p><p>Das gesamte Setting ist bezeichnend. Christoph Waltz, besucht BMW wie ein Wallfahrtsziel für Autoenthusiasten. Der prominente Gast ist offenbar ein riesengroßer BMW Fan und Purist. Nur widerwillig überlässt er seinen BMW 3.0 CS Oldtimer dem Parkservice. Im Gebäude angekommen weiß Waltz schon, wo es hingeht. Das muss er auch, denn im Foyer wartet niemand auf ihn. Krümel kommt zum Kuchen und Kuchen wartet im Vorstandsbüro.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*3VIDFzquOIV9xJKbK39wQQ.png" /><figcaption>Eine namenlose Sekretärin öffnet die Tür zum Thronsaal (Quelle: “<a href="https://www.youtube.com/watch?v=iUSbbJWh6gA">BMW — iX Test Drive. | #NEXTGen 2020.</a>”)</figcaption></figure><p>Die Sekretärin, im sechsminütigen Spot die einzige Vertreterin der weiblichen Zielgruppe, glänzt durch Abwesenheit sichtbarer Interaktion mit den Hauptdarstellern. Ihr einziger Satz „Herr Zipse, der Herr Waltz ist da.“- scheint so vorhersehbar wie überflüssig. Schließlich weiß der schon, wer da kommt („Ah da bist du ja“). Verständlich, dass sich die Dame fürs Tür aufmachen kein Danke verdient.</p><p><strong>Wir schreiben das Jahr 2020. Zipse sitzt im dunklen Anzug vor Papierakten.</strong></p><p>Bei BMW herrscht keine Open Door Kultur. Die Sekretärin klopft und der Chef wird vom Aktenordner abgeholt. Zipse sitzt an einem kleinen Besprechungstisch. In traditionskonzernangemessener Digitalisierungsverweigerungsmanier stapelt sich im Hintergrund noch mehr Papier auf einem extra Tisch. Bei BMW traut man den neuen Medien offensichtlich noch nicht so recht.</p><p>Zipse und Waltz fahren zusammen in die Tiefgarage. Als ob zu diesem Zeitpunkt nicht schon klar ist, wer hier wen hofiert, zieht sich Waltz im Aufzug eine BMW Gesichtsmaske auf. Durch Nachfrage des BMW Vorstands, lässt Waltz den Zuschauer wissen, dass er sich diese selbst im Internet bestellt hat. Also ja, bitte glauben Sie es: Waltz ist wirklich die Inkarnation eines echten BMW Fans und repräsentativ für die Beurteilung ob ein Elektroauto würdiger Nachfolger für klassische Verbrenner sein kann.</p><blockquote><strong>„Ich kann mir nicht so ganz vorstellen, dass es für den begeisterten Fahrer einen Fortschritt bedeutet in seinem Fahrverhalten.“</strong></blockquote><p>Im Keller angekommen äußert Waltz dann repräsentativ für Millionen von BMW Fans und potentieller Elektroauto Kunden die Hauptsorge: „Ich kann mir vorstellen, dass es eine Innovation ist. Ich kann mir nicht so ganz vorstellen, dass es für den begeisterten Fahrer einen Fortschritt bedeutet in seinem Fahrverhalten.“</p><p>Herr BMW fällt seinem Kunden vor Beendigung seiner Bedenken ins Wort. „Aber dahinter verbirgt sich eine System Innovation, wenn ich das mal so sagen darf.“ Mit diesem Satz leitet Zipse zu einem dreiminütigen inhaltsneutralen Pitch über. Um schon mal eins vorwegzunehmen: Zipse wird in diesen drei Minuten keinen Satz auf das Adressieren des eben geäußerten Kernbedenkens verschwenden. Stattdessen ist der Zuseher angehalten selbst nach Mehrwert in einer Reihe von konfusen Aussagen zu suchen.</p><blockquote><strong><em>“Fronthaube — damit wissen wir wo das Auto vorne ist.“</em></strong></blockquote><ul><li>„Das ist eben kein Kühlergrill mehr, der kühlt nicht, der grillt nicht.“</li><li>„‘Fronthaube‘ — damit wissen wir, wo das Auto vorne ist.”</li><li>„Also die Idee dieses Autos ist natürlich schon auch, die individuelle Mobilität neu zu erfinden”</li><li>„Weißt du, solche Systeme, die sich Autos nennen, müssen auf Kunden wirken.“</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*lezjj6vwhE2gPZDKdfQGKg.png" /><figcaption>Waltz stellt fest, dass die Motorhaube keine Motorhaube ist (Quelle: “<a href="https://www.youtube.com/watch?v=iUSbbJWh6gA">BMW — iX Test Drive. | #NEXTGen 2020.</a>”)</figcaption></figure><p>Es drängt sich die Frage auf, für welche Zielgruppe diese Sätze eigentlich geschrieben wurden. Schließlich klingt das alles ein bisschen so, als versuche da gerade ein Marketingstudent seine erste Praktikumsstelle komplizierter zu erklären als sie ist. Glücklicherweise stört das Waltz nicht. Als der sich in die Mobilitätsinnovation setzt, schaltet sich in der regenfreien Tiefgarage erst mal der Scheibenwischer an. Scheinbar ein Begeisterungsfaktor für den Purist:</p><blockquote><strong><em>„Was alles losgeht — das ist ja toll.“</em></strong></blockquote><p>Am Ende haben Waltz und der Zuschauer so einiges gelernt.</p><ul><li>Das Mobilitätssystem hat keinen echten Kühlergrill</li><li>Das Mobilitätssystem hat vorne einen Wischwasser Einlass</li><li>Das Mobilitätssystem ist nicht laut</li><li>Das Mobilitätssystem ist weniger wuchtig als andere SUVs und eigentlich kein SUV</li><li>Das Mobilitätssystem hat keinen Auspuff</li><li>Das Mobilitätssystem verfügt über Sprachsteuerung</li></ul><p>Die Idee war laut BMW Vorstand Zipse „schon auch die individuelle Mobilität neu zu erfinden.“ Ironischerweise fragt er sicherheitshalber nochmal bei Waltz nach: „Ist anders oder?“ Waltz bejaht. Mit der erforderlichen zweichfach-Oscar-Qualität mimt dieser den vorher-kritischen und jetzt-überzeugten Kunden. Nach vier Minuten Oberflächlichkeit hat Waltz sich so in den solariumbraunen Elektrokübel verliebt, dass er mit dem neuen System individueller Mobilität inklusive Wischwassereinlass davonfährt. Sein geliebter Oldtimer bleibt zurück.</p><p><strong>Mit abgehobenen Marketingbegriffen am Kundenbedenken vorbei geschwurbelt.</strong></p><p>Natürlich darf man nicht vergessen, dass es sich hier um einen Werbespot handelt. Trotzdem ist die Szenerie bezeichnend für das Wunschdenken bei BMW. Der Purist taucht auf, erst kritisch, dann aber <a href="https://www.youtube.com/watch?v=TCasVhuqz0M&amp;pbjreload=101">trotz Abwesenheit geliebter BMW Designsprache</a> und ohne Adressierung seines Kernbedenkens innerhalb weniger Minuten vom neuen Elektroauto überzeugt. Marketingbegriffe wie “Systeminnovation” und “SAV — Sports Activity Vehicle” reichen aus um Kernbedenken auszulöschen. Scheinbar weiß BMW selbst noch nicht so ganz, was jetzt am Elektroauto wirklich besser ist, sondern nur, dass ein Elektroauto eben anders ist. Falls es doch nennenswerte Vorteile für Elektromobilität und das neue Modell gibt, wäre dieser Spot eine gute Gelegenheit gewesen um darüber zu sprechen.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9739606c1f86" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>