<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Igor Pellegrini</title>
    <description>The latest articles on DEV Community by Igor Pellegrini (@pictor13).</description>
    <link>https://dev.to/pictor13</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F154338%2F13470438-5c65-43bd-8407-c787076bca73.png</url>
      <title>DEV Community: Igor Pellegrini</title>
      <link>https://dev.to/pictor13</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pictor13"/>
    <language>en</language>
    <item>
      <title>Constitutions: code coverage &amp; testing</title>
      <dc:creator>Igor Pellegrini</dc:creator>
      <pubDate>Wed, 06 Jan 2021 00:57:48 +0000</pubDate>
      <link>https://dev.to/pictor13/constitutions-code-coverage-testing-3ipk</link>
      <guid>https://dev.to/pictor13/constitutions-code-coverage-testing-3ipk</guid>
      <description>&lt;p&gt;Most of the Western societies have been architected in the shape of Democracy.&lt;br&gt;
This was fully intentional; and was based on the consciousness about the Brutal Spaghetti that the human race put in Production during a history full of Failed Projects.&lt;/p&gt;

&lt;p&gt;Unluckily computers didn't exist at that time; so the lean minds among those who fought for Liberty came up with a genial idea:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Friends, let's be Agile! We'll write the rules of our Manifesto for a better society... on paper!" ☝️&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And that's how the &lt;code&gt;Constitution&lt;/code&gt; came to life ✨📜&lt;/p&gt;

&lt;h2&gt;
  
  
  Constitution is law. And law is Code.
&lt;/h2&gt;

&lt;p&gt;We tried to apply that code; but we didn't have much experience with the Stack, the timeline was tight, the Domain is quite complex, and *gosh* all those philosophical state machines.&lt;br&gt;
Damn, if we only read that Blue Book parked in the library since years..&lt;/p&gt;

&lt;p&gt;So the specifications are pretty good but the risk to make a mess again is high.&lt;br&gt;
We rush to deliver according to the deadline, but the result is practically a &lt;em&gt;Beta&lt;/em&gt;.&lt;br&gt;
We end up too busy with Maintenance and we never take care of the missing implementations and of all those filthy bugs.&lt;/p&gt;

&lt;p&gt;Decades later it's still like that.&lt;/p&gt;

&lt;p&gt;The Constitution was a good &lt;code&gt;Promise()&lt;/code&gt;; but we still &lt;code&gt;await&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  &lt;em&gt;So what we do?&lt;/em&gt;
&lt;/h2&gt;

&lt;p&gt;If &lt;strong&gt;Constitution is Code&lt;/strong&gt;, then we have a whole field of professionals that could help with ensuring that our founding values are &lt;em&gt;Stable&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;For example,&lt;br&gt;
what would be the impact of applying unit-testing &amp;amp; code coverage principles in our Govern Implementation?&lt;br&gt;
What about Code Reviews?&lt;br&gt;
How to ensure that also the more Complex Edge Cases are being added methodically and regularly?&lt;/p&gt;

&lt;p&gt;The idea of Code Coverage is particularly interesting.&lt;br&gt;
It was the inspiration for this article.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How much of our Constitution is still uncovered?&lt;/li&gt;
&lt;li&gt;What are the Specifications that we never implemented and that are giving regular daily pain to our System?&lt;/li&gt;
&lt;li&gt;Does anybody ever look at the Backlog?&lt;/li&gt;
&lt;li&gt;Which are the Important Rules that we misunderstood or dismissed, and that need a major Refactor?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's unlikely (and dangerous) to implement code that takes philosophical decisions; that'd be the Hard Part.&lt;br&gt;
Then, what else can the Programmer Mindset bring to the table, code excluded?&lt;br&gt;
What are &lt;em&gt;The Good Parts&lt;/em&gt;?&lt;br&gt;
Where, when and how can we Reuse them?&lt;/p&gt;

&lt;p&gt;Software Developers are pretty good at solving problems, and there are political systems out there that could improve so much, if only this expertise in design &amp;amp; architecture would be shared with the political world, &lt;strong&gt;beyond&lt;/strong&gt; the technical skills, to support the Development of a better &amp;amp; more Democratic Society.&lt;/p&gt;

&lt;p&gt;Without Technical Debt. 🧐&lt;/p&gt;

</description>
      <category>code</category>
      <category>programming</category>
      <category>politics</category>
      <category>democracy</category>
    </item>
  </channel>
</rss>
