<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Conventions - Tag - MC Squared</title><link>https://mc-squared.dev/tags/conventions/</link><description>Conventions - Tag - MC Squared</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Wed, 08 Jul 2020 12:09:32 +1200</lastBuildDate><atom:link href="https://mc-squared.dev/tags/conventions/" rel="self" type="application/rss+xml"/><item><title>Who Owns This Code</title><link>https://mc-squared.dev/2020/07/who-owns-this-code/</link><pubDate>Wed, 08 Jul 2020 12:09:32 +1200</pubDate><author>Jonathan Miles</author><guid>https://mc-squared.dev/2020/07/who-owns-this-code/</guid><description><![CDATA[<p>A previous project I worked on was to create an abstraction around various command-line invocations, the context here was automated testing on different platforms.</p>
<p>The idea is pretty simple, rather than having to keep track of command-line flags and options, you just call this CLI and get a nice JSON formatted response.</p>
<p>I knocked out a handful of commands, as did several other developers, and that&rsquo;s where things got interesting. Despite being both a young project and a simple one, discrepancies had already crept in.</p>]]></description></item><item><title>The Power of Code Conventions</title><link>https://mc-squared.dev/2020/05/the-power-of-code-conventions/</link><pubDate>Wed, 20 May 2020 09:09:18 +1200</pubDate><author>Jonathan Miles</author><guid>https://mc-squared.dev/2020/05/the-power-of-code-conventions/</guid><description><![CDATA[<p>In an <a href="2020/05/the-terrible-code-im-most-proud-of" rel="">earlier post</a>, I wrote about how the code I&rsquo;m most proud of is terrible code. This is because although the code is terrible when I come back to it to change something after 6 or 12 months I can quickly find where the change needs to be made.</p>
<p>When describing this to someone they asked me <em>why</em> it is easy for me to navigate the codebase. Obviously, this code came out of my head so I have an unfair advantage here, I can&rsquo;t pretend this is not a factor.</p>]]></description></item><item><title>The Terrible Code Im Most Proud Of</title><link>https://mc-squared.dev/2020/05/the-terrible-code-im-most-proud-of/</link><pubDate>Wed, 13 May 2020 08:59:20 +1200</pubDate><author>Jonathan Miles</author><guid>https://mc-squared.dev/2020/05/the-terrible-code-im-most-proud-of/</guid><description><![CDATA[<p>A common question in developer job interviews is to ask about code that the interviewee is proud of. The assumption here, of course, is that the code you&rsquo;re most proud of is good code, but is it?</p>
<p>The code I&rsquo;m most proud of was a full re-write of a PHP (i.e. LAMP stack) application for attendance marking. The original app was a collection of standalone PHP files with PHP, HTML, and SQL all mixed with minimal structure.</p>]]></description></item></channel></rss>