<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>5min Dev Essentials</title><link>https://spencerfarley.com/</link><description>Recent content on 5min Dev Essentials</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 01 Feb 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://spencerfarley.com/feed.xml" rel="self" type="application/rss+xml"/><item><title>Event Storm To Software Design</title><link>https://spencerfarley.com/2024/02/01/event-storm-to-software-design/</link><pubDate>Thu, 01 Feb 2024 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2024/02/01/event-storm-to-software-design/</guid><description>&lt;p>Continuing the event storm explorations, I tested out several approaches for translating event storms into system designs.&lt;/p></description></item><item><title>Clarifying Event Storms with Data Models</title><link>https://spencerfarley.com/2024/01/26/clarifying-event-storms-with-data-models/</link><pubDate>Fri, 26 Jan 2024 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2024/01/26/clarifying-event-storms-with-data-models/</guid><description>&lt;p>Event storm sticky notes capture high-level process flow, but different actors in that flow often have specific expectations of each other. This is where high-level data modeling shines.&lt;/p></description></item><item><title>Ionide - Merging diverse data sources</title><link>https://spencerfarley.com/2024/01/18/ionide-merging-sources/</link><pubDate>Thu, 18 Jan 2024 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2024/01/18/ionide-merging-sources/</guid><description>&lt;p>A key challenge working on the Ionide test explorer was merging data from various sources into one view. It was good example where the fundamental challenge wasn&amp;rsquo;t technical, but defining useful assumptions.&lt;/p></description></item><item><title>Gotchas Implementing Debugging for Ionide</title><link>https://spencerfarley.com/2024/01/11/ionide-debugging-gotchas/</link><pubDate>Thu, 11 Jan 2024 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2024/01/11/ionide-debugging-gotchas/</guid><description>&lt;p>I contributed debug support to the Ionide (F#) test explorer for VS Code.
Here&amp;rsquo;s the quirks I encountered.&lt;/p></description></item><item><title>Improving the Ionide TRX Parsing Performance</title><link>https://spencerfarley.com/2024/01/05/ionide-trx-parsing-performance/</link><pubDate>Fri, 05 Jan 2024 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2024/01/05/ionide-trx-parsing-performance/</guid><description>&lt;p>I managed to re-teach myself about always measuring first when considering performance.&lt;/p></description></item><item><title>Refactoring for Information Hiding - Ionide Case Study - Run Project</title><link>https://spencerfarley.com/2023/12/28/ionide-refactor-run-project/</link><pubDate>Thu, 28 Dec 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/12/28/ionide-refactor-run-project/</guid><description>&lt;!-- TODO: It'd still be nice to cover trying to centralize testRun, but discovering the build needed to be serialized an then retaining sub-methods, but grouped to make their ownership and non-reusability clear -->
&lt;p>Information Hiding is a critical, but tricky principle to master. This post continues a worked example of Information Hiding based on my &lt;a class="link-markdown-demo-site" href="https://github.com/ionide/ionide-vscode-fsharp/pull/1874" rel="noopener">Ionide test explorer contributions&lt;/a>.&lt;/p></description></item><item><title>Refactoring for Information Hiding - Ionide Case Study - Getting Acquainted</title><link>https://spencerfarley.com/2023/12/21/ionide-refactor-display-results/</link><pubDate>Thu, 21 Dec 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/12/21/ionide-refactor-display-results/</guid><description>&lt;p>Information Hiding is a critical, but tricky principle to get familiar with. My work on the &lt;a class="link-markdown-demo-site" href="https://github.com/ionide/ionide-vscode-fsharp/pull/1874" rel="noopener">Ionide Test Explorer&lt;/a> presented some good examples of refactoring to limit scope (Information Hiding). I&amp;rsquo;ll try to recreate them as worked examples.&lt;/p></description></item><item><title>Ionide Test Explorer Contribution</title><link>https://spencerfarley.com/2023/12/14/ionide-test-explorer/</link><pubDate>Thu, 14 Dec 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/12/14/ionide-test-explorer/</guid><description>&lt;p>I contributed to the Ionide (F#) test explorer for VS Code. I&amp;rsquo;m proud of the work, so please pardon a bit of show and tell.&lt;/p></description></item><item><title>Hill Charts</title><link>https://spencerfarley.com/2023/12/08/hill-charts/</link><pubDate>Fri, 08 Dec 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/12/08/hill-charts/</guid><description>&lt;p>Basecamp created hill charts as a novel way to view project progress and outstanding risk. The goal is to give managers a feel for progress without having to ask, but it also addresses key communication issues caused by uncertainty in creative work.&lt;/p></description></item><item><title>Shape Up - Importance of Small Teams</title><link>https://spencerfarley.com/2023/11/30/shape-up-small-teams/</link><pubDate>Thu, 30 Nov 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/11/30/shape-up-small-teams/</guid><description>&lt;p>I think small teams are an underemphasized key element of the &lt;a class="link-markdown-demo-site" href="https://basecamp.com/shapeup" rel="noopener">Shape Up&lt;/a> approach to project management.&lt;/p></description></item><item><title>Pitches Separate Concerns For Cross-level Coordination</title><link>https://spencerfarley.com/2023/11/24/pitches-separate-concerns/</link><pubDate>Fri, 24 Nov 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/11/24/pitches-separate-concerns/</guid><description>&lt;p>Shape Up&amp;rsquo;s &lt;a class="link-markdown-demo-site" href="https://basecamp.com/shapeup/1.5-chapter-06" rel="noopener">pitches&lt;/a> reduce the distance between managers and implementers while actually giving both sides more control over what&amp;rsquo;s most important to them.&lt;/p></description></item><item><title>Kinds of Concreteness in Work Specification</title><link>https://spencerfarley.com/2023/11/17/kinds-of-concreteness-for-specifications/</link><pubDate>Fri, 17 Nov 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/11/17/kinds-of-concreteness-for-specifications/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://basecamp.com/shapeup" rel="noopener">Shape up&lt;/a> suggests too much concreteness is harmful in work specifications. I think the issue may be kind, not degree, of concreteness.&lt;/p></description></item><item><title>Appetite - Flipping the estimation game</title><link>https://spencerfarley.com/2023/11/09/appetite/</link><pubDate>Thu, 09 Nov 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/11/09/appetite/</guid><description>&lt;p>Appetite, how hungry you are. Now repurposed as a useful project management term for how time the team wants to invest.&lt;/p></description></item><item><title>Educational Methods to SWEBOK Knowledge Areas Matrix</title><link>https://spencerfarley.com/2023/11/02/education-metods-to-swebok-matrix/</link><pubDate>Thu, 02 Nov 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/11/02/education-metods-to-swebok-matrix/</guid><description>&lt;p>I wasn&amp;rsquo;t familiar with all educational methods highlighted in this &lt;a class="link-markdown-demo-site" href="https://ieeecs-media.computer.org/media/education/swebok/SWEBOK_Education_CSEE_T2023.pdf" rel="noopener">SWEBOK v4 update article&lt;/a>.
So, here I&amp;rsquo;ll explore them and visualize their recommended connection to software knowledge areas.&lt;/p></description></item><item><title>Reading Review - SWEBOK 4 and Engineering Training</title><link>https://spencerfarley.com/2023/10/26/swebok-v4-and-education-review/</link><pubDate>Thu, 26 Oct 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/10/26/swebok-v4-and-education-review/</guid><description>&lt;p>The &lt;a class="link-markdown-demo-site" href="https://www.computer.org/volunteering/boards-and-committees/professional-educational-activities/software-engineering-committee/swebok-evolution" rel="noopener">Software Engineering Body of Knowledge V4&lt;/a>
is due to land in 2023. Here&amp;rsquo;s some quick thoughts on an &lt;a class="link-markdown-demo-site" href="https://ieeecs-media.computer.org/media/education/swebok/SWEBOK_Education_CSEE_T2023.pdf" rel="noopener">article&lt;/a> summarizing the V4 updates and their impact on education.&lt;/p></description></item><item><title>Picard-style Conflict Resolution</title><link>https://spencerfarley.com/2023/10/20/picard-style-conflict-resolution/</link><pubDate>Fri, 20 Oct 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/10/20/picard-style-conflict-resolution/</guid><description>&lt;p>I previously wrote about &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2023/07/21/picard-style-leadership/" rel="noopener">Picard-style leadership&lt;/a>, where the captain provides no answers and instead creates an empowered team through questions.
Now I realize the same principle applies to conflict resolution.&lt;/p></description></item><item><title>Pact.io and Consumer-Driven Contracts</title><link>https://spencerfarley.com/2023/10/12/pack-io/</link><pubDate>Thu, 12 Oct 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/10/12/pack-io/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://pact.io/" rel="noopener">Pact.io&lt;/a> claims that it can fully replace End-to-End testing.
I&amp;rsquo;m not so sure about that, but it&amp;rsquo;s an intersting tool!&lt;/p></description></item><item><title>Event Storming Interaction-heavy Flows</title><link>https://spencerfarley.com/2023/10/05/storming-interaction-heavy-flows/</link><pubDate>Thu, 05 Oct 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/10/05/storming-interaction-heavy-flows/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="http://ziobrando.blogspot.com/2013/11/introducing-event-storming.html" rel="noopener">Event storming&lt;/a> for UI-focused flows was a bit confusing at first,
but the right questions can lead to great insights.&lt;/p></description></item><item><title>The PR PR</title><link>https://spencerfarley.com/2023/09/29/the-pr-pr/</link><pubDate>Fri, 29 Sep 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/09/29/the-pr-pr/</guid><description>&lt;p>Ever consider making a pull request to someones pull request?
Sounds a bit odd, but I&amp;rsquo;ve found it smooths collaboration and increases learning opportunities.&lt;/p></description></item><item><title>Datomic vs EventStore</title><link>https://spencerfarley.com/2023/09/22/datomic-vs-eventstore/</link><pubDate>Fri, 22 Sep 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/09/22/datomic-vs-eventstore/</guid><description>&lt;p>Datomic and EventStore are both databases that store data as a series of changes, but they approach that change log with different mindsets. I&amp;rsquo;d like to explore the tradeoffs between these two mindsets.&lt;/p></description></item><item><title>Resemblance and Likeness Testing Patterns</title><link>https://spencerfarley.com/2023/09/15/test-resemblance/</link><pubDate>Fri, 15 Sep 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/09/15/test-resemblance/</guid><description>&lt;p>The Resemblance and Likeness patterns improve the readability and diagnosability of developer tests.&lt;/p></description></item><item><title>Event Modeling and Business Differentiation</title><link>https://spencerfarley.com/2023/09/10/event-modeling-and-business-differentiation/</link><pubDate>Sun, 10 Sep 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/09/10/event-modeling-and-business-differentiation/</guid><description>&lt;p>This is my first time event storming a different system in an industry I&amp;rsquo;ve worked with previously.
I&amp;rsquo;m surprised how effective the second layer modeling has been for differentiating businesses within the same industry.&lt;/p></description></item><item><title>Reading Review - Never Split the Difference</title><link>https://spencerfarley.com/2023/09/04/never-split-the-difference/</link><pubDate>Mon, 04 Sep 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/09/04/never-split-the-difference/</guid><description>&lt;p>A former FBI hostage negotiator discusses how to apply FBI negotiation techniques to business and everyday life. I was surprised that the approach is mostly about listening really well and helping the other side feel heard.&lt;/p></description></item><item><title>External-dependency NPS</title><link>https://spencerfarley.com/2023/08/25/team-to-team-nps/</link><pubDate>Fri, 25 Aug 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/08/25/team-to-team-nps/</guid><description>&lt;p>What could Net Promoter Score tell us if we apply it differently?&lt;/p></description></item><item><title>Seeding Standards and Measuring Development Outcomes</title><link>https://spencerfarley.com/2023/08/20/seeding-standards-and-measuring-outcomes/</link><pubDate>Sun, 20 Aug 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/08/20/seeding-standards-and-measuring-outcomes/</guid><description>&lt;p>I&amp;rsquo;ve thought a lot about how to measure development outcomes, but never been satisfied with my answers.
I think I may have a bit more clarity thanks to a new perspective.&lt;/p></description></item><item><title>Notedown Library Now Available</title><link>https://spencerfarley.com/2023/08/10/notedown-library/</link><pubDate>Thu, 10 Aug 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/08/10/notedown-library/</guid><description>&lt;p>Notedown is my convention for note taking in Markdown. Now it&amp;rsquo;s also a library that reads the convention as semi-structured data.&lt;/p></description></item><item><title>AI isn't an Existential Threat to Programmers</title><link>https://spencerfarley.com/2023/08/03/ai-not-an-existential-threat/</link><pubDate>Thu, 03 Aug 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/08/03/ai-not-an-existential-threat/</guid><description>&lt;p>AI has made a big splash in the media, and for good reason. But I don&amp;rsquo;t think AI is likely to eliminate programmers any time soon.&lt;/p></description></item><item><title>Urban Planning Metaphor for Software Architecture</title><link>https://spencerfarley.com/2023/07/28/urban-planner-metaphor/</link><pubDate>Fri, 28 Jul 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/07/28/urban-planner-metaphor/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://www.youtube.com/watch?v=qVyt3qQ_7TA" rel="noopener">Architecture Without Architects&lt;/a> introduced me to urban planning as a metaphor for software architecture, and I love it.&lt;/p></description></item><item><title>Picard-style Leadership</title><link>https://spencerfarley.com/2023/07/21/picard-style-leadership/</link><pubDate>Fri, 21 Jul 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/07/21/picard-style-leadership/</guid><description>&lt;!-- TODO: this hook is a bit weak -->
&lt;p>Star Trek holds some surprising insights into leadership.&lt;/p></description></item><item><title>Differentiating Commands and Events</title><link>https://spencerfarley.com/2023/07/13/differentiating-events-and-commands/</link><pubDate>Thu, 13 Jul 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/07/13/differentiating-events-and-commands/</guid><description>&lt;p>I&amp;rsquo;ve been refining my knowledge of &lt;a class="link-markdown-demo-site" href="http://ziobrando.blogspot.com/2013/11/introducing-event-storming.html" rel="noopener">Event Storming&lt;/a>
and I found the contrast between commands and events an effective tool for explaining the process.&lt;/p></description></item><item><title>Curiosity as a Driver of Leadership Skills</title><link>https://spencerfarley.com/2023/07/06/curiosity-and-leadership/</link><pubDate>Thu, 06 Jul 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/07/06/curiosity-and-leadership/</guid><description>&lt;p>I&amp;rsquo;ve found that curiosity drives outcomes for many leadership skills in one actionable concept.&lt;/p></description></item><item><title>Domain-Driven Design and Volatility-based Decomposition Are Inseparable</title><link>https://spencerfarley.com/2023/06/30/ddd-and-volatility-decomposition-inseparable/</link><pubDate>Fri, 30 Jun 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/06/30/ddd-and-volatility-decomposition-inseparable/</guid><description>&lt;p>There are many ways to modularize a system. I initially learned Volatility-based Decomposition. I now speak in more Domain-Driven Design terms. However, I consider this a change in framing more than a change in strategy.&lt;/p></description></item><item><title>Reading Review: Scaling Architecture Conversationally</title><link>https://spencerfarley.com/2023/06/23/scaling-architecture-conversationally-review/</link><pubDate>Fri, 23 Jun 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/06/23/scaling-architecture-conversationally-review/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://martinfowler.com/articles/scaling-architecture-conversationally.html#principles" rel="noopener">Scaling Architecture Conversationally&lt;/a> clearly and concisely explains how and why architecture is more of a facilitated process than a top-down decision process.&lt;/p></description></item><item><title>Socratic Method, Leading, and Caring</title><link>https://spencerfarley.com/2023/06/16/socratic-method-and-care/</link><pubDate>Fri, 16 Jun 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/06/16/socratic-method-and-care/</guid><description>&lt;p>I&amp;rsquo;ve been using a Socratic approach to promote critical thinking, but it appears to promote good leadership habits as well.&lt;/p></description></item><item><title>Sub-Domains That Follow the Single Responsibility Principle</title><link>https://spencerfarley.com/2023/06/12/sub-domains-and-srp/</link><pubDate>Mon, 12 Jun 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/06/12/sub-domains-and-srp/</guid><description>&lt;p>The &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Single-responsibility_principle" rel="noopener">Single Responsibility Principle&lt;/a> applies even to identifying &lt;a class="link-markdown-demo-site" href="https://docs.aws.amazon.com/prescriptive-guidance/latest/modernization-decomposing-monoliths/decompose-subdomain.html" rel="noopener">sub-domains&lt;/a>.&lt;/p></description></item><item><title>Scala and C# Approaches to Union Types</title><link>https://spencerfarley.com/2023/06/01/scala-enums-and-csharp-unions/</link><pubDate>Thu, 01 Jun 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/06/01/scala-enums-and-csharp-unions/</guid><description>&lt;p>I&amp;rsquo;ve been learning Scala lately, and it turns out that scala union types are sometimes implemented the same way I discovered unions could be imitated in C#.&lt;/p></description></item><item><title>F# Sneaky Construction vs Initialization Issue</title><link>https://spencerfarley.com/2023/05/25/fsharp-construction-vs-initialization/</link><pubDate>Thu, 25 May 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/05/25/fsharp-construction-vs-initialization/</guid><description>&lt;p>I rarely worry about constructors or initialization in F#. But, every once in a while, the difference is important.&lt;/p></description></item><item><title>Data Inheritance is Unnecessary</title><link>https://spencerfarley.com/2023/05/18/data-inheritance-is-unnecessary/</link><pubDate>Thu, 18 May 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/05/18/data-inheritance-is-unnecessary/</guid><description>&lt;p>In short, I&amp;rsquo;ve been using F# for several years now and didn&amp;rsquo;t realize that F# record types can&amp;rsquo;t be inherited.
I think this demonstrates that inheritance for data types is unnecessary when actions and data are separated, and it may hint at a larger trend in programming languages.&lt;/p></description></item><item><title>Evolving Test Data Arrangement</title><link>https://spencerfarley.com/2023/05/11/test-data-prep/</link><pubDate>Thu, 11 May 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/05/11/test-data-prep/</guid><description>&lt;!--
- TODO: Do I need a conclusion?
- what would I conclude? I suppose that it's a nice view of the journey to injection with composition roots?
- TODO: consider a TestApi variation of the motivating test
-->
&lt;p>This post recounts my journey to understand tests data arrangement from before my blogging days. This exploration cemented key lessons in reusability and composition.&lt;/p></description></item><item><title>Footwork for Developers</title><link>https://spencerfarley.com/2023/05/05/footwork-for-developers/</link><pubDate>Fri, 05 May 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/05/05/footwork-for-developers/</guid><description>&lt;p>Sports generally have some fundamental skills that athletes drill endlessly. These fundamentals are the foundation for good execution. They must be committed to muscle memory if the athlete wants to focus on higher-level skills and strategy. In fencing, footwork is fundamental. What is the equivalent for software?&lt;/p></description></item><item><title>Should tests be Pure?</title><link>https://spencerfarley.com/2023/04/27/should-tests-be-pure/</link><pubDate>Thu, 27 Apr 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/04/27/should-tests-be-pure/</guid><description>&lt;p>I noticed Scala has several testing libraries that tout functionally pure tests.
Is purity desirable for developer tests?&lt;/p></description></item><item><title>Late-bound inheritance vs Function Composition</title><link>https://spencerfarley.com/2023/04/20/late-bound-interfaces-vs-function-composition/</link><pubDate>Thu, 20 Apr 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/04/20/late-bound-interfaces-vs-function-composition/</guid><description>&lt;p>I heard Go had late-bound inheritance and was excited to see how that would effect my coding. Instead I found that I already achieve the same kind of value in F#, just in a different way.&lt;/p></description></item><item><title>Concise Notation Matters</title><link>https://spencerfarley.com/2023/04/16/concise-notation-matters/</link><pubDate>Sun, 16 Apr 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/04/16/concise-notation-matters/</guid><description>&lt;p>Of all things, a sci-fi novel recently got me thinking about the importance of notation and how it influences our thinking.
In short, syntax length impacts the kinds and sophistication of ideas.&lt;/p></description></item><item><title>Design-by-Contract vs Type-driven Constraints</title><link>https://spencerfarley.com/2023/04/07/dbc-vs-type-driven/</link><pubDate>Fri, 07 Apr 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/04/07/dbc-vs-type-driven/</guid><description>&lt;p>Validating that data fits certain constraints is a prevelant programming task and how we approach it effects the system&amp;rsquo;s safety and reliability. Many approaches have been devised, and I recently realized the key difference between two major approaches: Design-by-Contract and Type-Driven Development.&lt;/p></description></item><item><title>Architecture - Facilitated over Separated</title><link>https://spencerfarley.com/2023/03/30/facilitated-architecture/</link><pubDate>Thu, 30 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/30/facilitated-architecture/</guid><description>&lt;p>I was asked what percentage of time I spend on system design (or architecture) over coding. The question didn&amp;rsquo;t make sense to me, and I think I&amp;rsquo;ve articulated why. I see architecture as a facilitated aspect of implementation rather than a separable process.&lt;/p></description></item><item><title>Clear Observability Terms</title><link>https://spencerfarley.com/2023/03/24/open-telemetry/</link><pubDate>Fri, 24 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/24/open-telemetry/</guid><description>&lt;p>I never realized how sloppy my use of observability terminology was until I read the OpenTelemetry documentation.&lt;/p></description></item><item><title>Smooth iteration over improved prediction</title><link>https://spencerfarley.com/2023/03/16/flow-over-prediction/</link><pubDate>Thu, 16 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/16/flow-over-prediction/</guid><description>&lt;p>I&amp;rsquo;ve been thinking about the estimation books sitting on my shelf. Why haven&amp;rsquo;t I read them? For some reason they don&amp;rsquo;t seem as critical as other reads. Estimation may be taking a back seat to improved iterative process.&lt;/p></description></item><item><title>Revisiting iDesign and Clean Architecture Merge</title><link>https://spencerfarley.com/2023/03/10/revisting-idesign-merge/</link><pubDate>Fri, 10 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/10/revisting-idesign-merge/</guid><description>&lt;!-- TODO: do a sweep for potentially confusing terms to link
- iDesign
- Clean ARch
- Dependency Inversion
- ports &amp; adapters?
- domain -->
&lt;!-- TODO: rename file according to final title -->
&lt;p>I generated a visual while trying to reconcile the iDesign and Clean Architecture architectural patterns. The visual helped cement some important ideas, but I never published it. Here I&amp;rsquo;ll revisit the visual and review how my ideas have changed.&lt;/p></description></item><item><title>Open-Closed Principle by Example: Anti-Examples</title><link>https://spencerfarley.com/2023/03/02/5-ocp-anti-examples/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/5-ocp-anti-examples/</guid><description>&lt;p>This series clarifies the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle&lt;/a> with examples. This post describes some approaches that may look like the OCP, but don&amp;rsquo;t deliver the expected value.&lt;/p></description></item><item><title>Open-Closed Principle by Example: Callbacks &amp; Handlers</title><link>https://spencerfarley.com/2023/03/02/2-ocp-callbacks/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/2-ocp-callbacks/</guid><description>&lt;!-- TODO: Can I tie back to focusing the domain like I do with other posts in the series? -->
&lt;p>This series clarifies the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle&lt;/a> with examples. This post will demonstrate how the OCP can be achieved through flexible behaviors like callbacks.&lt;/p></description></item><item><title>Open-Closed Principle by Example: Conclusion</title><link>https://spencerfarley.com/2023/03/02/6-conclusion/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/6-conclusion/</guid><description>&lt;p>This series clarifies the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle&lt;/a> with examples. This post recaps what we&amp;rsquo;ve learned&lt;/p></description></item><item><title>Open-Closed Principle by Example: Flexibility Through Data</title><link>https://spencerfarley.com/2023/03/02/1-opc-through-data/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/1-opc-through-data/</guid><description>&lt;!-- TODO: consider a flow more like the callback post. Start with the example, explain problems, show better example, explain benefits -->
&lt;p>This series clarifies the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle&lt;/a> with examples. This post will demonstrate how the OCP can be achieved through flexible data.&lt;/p></description></item><item><title>Open-Closed Principle by Example: Interchangable Implementations</title><link>https://spencerfarley.com/2023/03/02/3-interchangable-dependencies/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/3-interchangable-dependencies/</guid><description>&lt;!-- TODO: Consider reframing DI buildup in terms of continuations instead of inheritance. Class dependencies are basically like class-level event handlers.
Probably still important to highlight issues with inheritance because it's so commonly taught -->
&lt;p>This series clarifies the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle&lt;/a> with examples. This post will demonstrate the OCP through interchangable and composable dependencies.&lt;/p></description></item><item><title>Open-Closed Principle by Example: Introduction to OCP</title><link>https://spencerfarley.com/2023/03/02/0-intro-to-ocp/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/0-intro-to-ocp/</guid><description>&lt;p>The &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle&lt;/a>, one of the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/SOLID" rel="noopener">SOLID principles&lt;/a>, is crucial to reusable code and insulated problem domains. This series will clarify the principle with examples.&lt;/p></description></item><item><title>Open-Closed Principle by Example: OCP as Architecture</title><link>https://spencerfarley.com/2023/03/02/4-ocp-as-architecture/</link><pubDate>Thu, 02 Mar 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/03/02/4-ocp-as-architecture/</guid><description>&lt;!--
TODO: I never discuss what adapters can map into
TODO: I like calling out that services become the lowest layer in the call chain. Where does that fit now?
-->
&lt;!-- TODO: This got really long. Consider tightening it up -->
&lt;p>This series clarifies the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle" rel="noopener">Open-Closed Principle (OCP)&lt;/a> with examples. This post applies the OCP to the system level with architecture patterns like ports and adapters.&lt;/p></description></item><item><title>Why callers own abstractions</title><link>https://spencerfarley.com/2023/02/24/why-callers-own-abstractions/</link><pubDate>Fri, 24 Feb 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/02/24/why-callers-own-abstractions/</guid><description>&lt;p>Dependency Inversion demands that abstractions belong to callers.
This isn&amp;rsquo;t an immediately intuitive choice. I&amp;rsquo;ll break down the choices for where our abstractions can live and how each choice impacts kinds of dependency.&lt;/p></description></item><item><title>Decreasing Defect Funnel</title><link>https://spencerfarley.com/2023/02/17/defect-rate-funnel/</link><pubDate>Fri, 17 Feb 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/02/17/defect-rate-funnel/</guid><description>&lt;p>Only measuring total defects could incentivize misreporting. How could we measure defects in a way that aligns incentives with desired outcomes?
I don&amp;rsquo;t have a sure answer, but here are some thoughts.&lt;/p></description></item><item><title>What fails and what to test</title><link>https://spencerfarley.com/2023/02/10/what-to-test-for/</link><pubDate>Fri, 10 Feb 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/02/10/what-to-test-for/</guid><description>&lt;p>Releasing frequently requires repeatable confidence that changes are safe.
Reliably verifying system health requires covering the many failure modes of a system. So, what are those failure modes?&lt;/p></description></item><item><title>Common Software Design Terms</title><link>https://spencerfarley.com/2023/02/03/common-design-terms/</link><pubDate>Fri, 03 Feb 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/02/03/common-design-terms/</guid><description>&lt;p>Principles, patterns, and practices are common terms in software design, yet I&amp;rsquo;ve had a surprisingly hard time
finding official definitions. Here I&amp;rsquo;ll try to define these terms and differentiate them.&lt;/p></description></item><item><title>Progress Journals</title><link>https://spencerfarley.com/2023/01/27/progress-journal/</link><pubDate>Fri, 27 Jan 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/01/27/progress-journal/</guid><description>&lt;!-- TODO: Get OK from jack before posting -->
&lt;p>Learning is hard. It&amp;rsquo;s easy to lose track of what we&amp;rsquo;ve achieved and only see how much we have yet to master. My mentee, however, found a simple and powerful way to build confidence and self-efficacy: progress journals.&lt;/p></description></item><item><title>Assessing Understanding with Unit tests</title><link>https://spencerfarley.com/2023/01/20/assessing-understanding-with-unit-tests/</link><pubDate>Fri, 20 Jan 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/01/20/assessing-understanding-with-unit-tests/</guid><description>&lt;p>I&amp;rsquo;ve been thinking of ways I can encourage students to get knowledge out of their head and experiment. Both so I can give feedback and to get them in the habit of checking their own understanding. I think unit tests might be an effective tool.&lt;/p></description></item><item><title>Measuring Principles</title><link>https://spencerfarley.com/2023/01/13/measuring-principles/</link><pubDate>Fri, 13 Jan 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/01/13/measuring-principles/</guid><description>&lt;!-- TODO: reconsider the title -->
&lt;p>A &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2023/01/06/are-principles-smart/" rel="noopener">previous post&lt;/a> got me thinking about how principles can be measured and what value such measures could provide.&lt;/p></description></item><item><title>Are principles SMART?</title><link>https://spencerfarley.com/2023/01/06/are-principles-smart/</link><pubDate>Fri, 06 Jan 2023 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2023/01/06/are-principles-smart/</guid><description>&lt;p>SMART is a set of criteria for setting effective goals. I recently saw a recommendation that architecture principles should be SMART, but I&amp;rsquo;m not convinced.&lt;/p></description></item><item><title>SOLID vs SPNC</title><link>https://spencerfarley.com/2022/12/29/solid-vs-spnc/</link><pubDate>Thu, 29 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/29/solid-vs-spnc/</guid><description>&lt;p>I previously enumerated a &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/12/09/properties-of-self-documenting-code/" rel="noopener">set of properties&lt;/a> that underlay self-documenting code.
Is there really a need for another set of properties?&lt;/p></description></item><item><title>SOLID is a toolbox for Conceptual Scope</title><link>https://spencerfarley.com/2022/12/23/solid-is-about-scope/</link><pubDate>Fri, 23 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/23/solid-is-about-scope/</guid><description>&lt;p>I&amp;rsquo;ve been pondering properties of self-documenting code. Comparing &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/12/09/properties-of-self-documenting-code/" rel="noopener">self-documenting properties&lt;/a> against &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/SOLID" rel="noopener">SOLID&lt;/a> lead me to realize Information Hiding, or conceptual scope, is a central theme of SOLID.&lt;/p></description></item><item><title>Pure Domains Make Scalable Systems: Batching and Nesting</title><link>https://spencerfarley.com/2022/12/16/3-batching-and-nesting/</link><pubDate>Fri, 16 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/16/3-batching-and-nesting/</guid><description>&lt;p>This series explores the scalability benefits of pure domains. This post explores how pure domains reduce the rigidity of request and response timing and structure, enabling more control over our API experience.&lt;/p></description></item><item><title>Pure Domains Make Scalable Systems: Downsides &amp; Conclusion</title><link>https://spencerfarley.com/2022/12/16/4-downsides-and-conclusion/</link><pubDate>Fri, 16 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/16/4-downsides-and-conclusion/</guid><description>&lt;p>This series explores the scalability benefits of pure domains. This post explores downsides of pure domains and concludes the series.&lt;/p></description></item><item><title>Pure Domains Make Scalable Systems: Intelligent Concurrency</title><link>https://spencerfarley.com/2022/12/16/2-intelligent-concurrency/</link><pubDate>Fri, 16 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/16/2-intelligent-concurrency/</guid><description>&lt;p>This series explores the scalability benefits of pure domains. In this post we explore how pure domains enable sophisticated concurrency rules without modifying the domain.&lt;/p></description></item><item><title>Pure Domains Make Scalable Systems: Intro</title><link>https://spencerfarley.com/2022/12/16/0-intro/</link><pubDate>Fri, 16 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/16/0-intro/</guid><description>&lt;p>This series explores the scalability benefits of pure domains. This post introduces important terms and ideas with some examples.&lt;/p></description></item><item><title>Pure Domains Make Scalable Systems: Maximize Tooling</title><link>https://spencerfarley.com/2022/12/16/1-maximize-tooling/</link><pubDate>Fri, 16 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/16/1-maximize-tooling/</guid><description>&lt;p>This series explores the scalability benefits of pure domains. This post explores how pure domains mesh well with common system tools: async messaging, logging, and caching.&lt;/p></description></item><item><title>Properties of Self-Documenting Code</title><link>https://spencerfarley.com/2022/12/09/properties-of-self-documenting-code/</link><pubDate>Fri, 09 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/09/properties-of-self-documenting-code/</guid><description>&lt;!-- IDEA: Semantic or Meaning might be better than Naming. I'm realizing that actions like groupings of parameters or if we give something a dedicated type are also actions that carry semantic, but aren't covered in my current principles
If I use semantic over naming the acronym could be SSPC (speak). The code should speak for itself, it should speak of the domain, it should speak to the readers.
- Essence is another potential option instead of naming (SPEC?)
- or essence and accident for speac
- or readability for sprk
- current version is spnc (spunk)
-->
&lt;!-- TODO: consider portability and trimability -->
&lt;p>I&amp;rsquo;ve been trying to identify a minimal set of factors that guide how I write self-documenting code.
It seems these may be sufficient: naming, proximity, consistency, and scope.&lt;/p></description></item><item><title>Checklists Distribute Power</title><link>https://spencerfarley.com/2022/12/04/checklists-distribute-power/</link><pubDate>Sun, 04 Dec 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/12/04/checklists-distribute-power/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://www.amazon.com/dp/0312430000" rel="noopener">Checklist Manifesto&lt;/a> paints an facinating journey of a surgeon who discovered checklists. The book explores checklists across industries and applications, but one lesson pervades them all: use checklists to distribute power.&lt;/p></description></item><item><title>Duck Structure Update</title><link>https://spencerfarley.com/2022/11/25/duck-structure-update/</link><pubDate>Fri, 25 Nov 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/11/25/duck-structure-update/</guid><description>&lt;p>My duck docs continue to evolve as my process changes. Here are changes I&amp;rsquo;ve noticed lately.&lt;/p></description></item><item><title>Activity-based Developer Checklist</title><link>https://spencerfarley.com/2022/11/17/activity-based-checklist/</link><pubDate>Thu, 17 Nov 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/11/17/activity-based-checklist/</guid><description>&lt;p>This is my attempt at short actionable checklists to guide key moments in software process.&lt;/p></description></item><item><title>Stuckness and Ducks</title><link>https://spencerfarley.com/2022/11/11/stuckness-and-ducks/</link><pubDate>Fri, 11 Nov 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/11/11/stuckness-and-ducks/</guid><description>&lt;p>I read that stuckness is not a bad thing. It is avoiding our stuckness that is the problem. I think living with stuckness is part of why &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/06/16/3-ducks/" rel="noopener">duck docs&lt;/a> are so good.&lt;/p></description></item><item><title>Made some reading lists</title><link>https://spencerfarley.com/2022/11/03/reading-lists/</link><pubDate>Thu, 03 Nov 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/11/03/reading-lists/</guid><description>&lt;p>I&amp;rsquo;ve started some &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/reading-list/" rel="noopener">reading lists&lt;/a> to help people connect to good software literature.&lt;/p></description></item><item><title>Five Foundational Beliefs: Origins</title><link>https://spencerfarley.com/2022/10/27/five-foundational-beliefs-origins/</link><pubDate>Thu, 27 Oct 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/10/27/five-foundational-beliefs-origins/</guid><description>&lt;p>A friend asked me to summarize what I believe about software in five points or less. I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/10/21/five-foundational-beliefs/" rel="noopener">previously described those points&lt;/a>. Here is where each of those beliefs originates from.&lt;/p></description></item><item><title>Five Foundational Beliefs</title><link>https://spencerfarley.com/2022/10/21/five-foundational-beliefs/</link><pubDate>Fri, 21 Oct 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/10/21/five-foundational-beliefs/</guid><description>&lt;p>A friend asked me to summarize what I believe about software in five points or less. These are those five points.&lt;/p></description></item><item><title>If I could only have one guideline</title><link>https://spencerfarley.com/2022/10/16/only-one-guideline/</link><pubDate>Sun, 16 Oct 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/10/16/only-one-guideline/</guid><description>&lt;p>I read a lot. I&amp;rsquo;ve noticed that some of the most effective books I read share a clear focus.
Every point is quickly and explicitly tied back to a concise core message.&lt;/p>
&lt;p>What core message would I reiterate if I wrote a book on software?&lt;/p></description></item><item><title>Google DORA: Objective Developer Practice Research</title><link>https://spencerfarley.com/2022/10/07/dora-discovery/</link><pubDate>Fri, 07 Oct 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/10/07/dora-discovery/</guid><description>&lt;p>Software development is notoriously short on research-based practices. Google&amp;rsquo;s &lt;a class="link-markdown-demo-site" href="https://www.devops-research.com/research.html" rel="noopener">DevOps Research and Assessment&lt;/a> (DORA) project is helping fill that gap.&lt;/p></description></item><item><title>Code That Fits in Your Head Practices are Stable Incremental and Additive</title><link>https://spencerfarley.com/2022/09/29/code-that-fits-stable-incremental-additive/</link><pubDate>Thu, 29 Sep 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/09/29/code-that-fits-stable-incremental-additive/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/02/25/stable-incremental-additive/" rel="noopener">Stable, incremental, and additive&lt;/a> is my personal theory about what underlies effective software practices. I&amp;rsquo;m pleased to find these qualities hold up quite well for practices described by Code That Fits in Your Head.&lt;/p></description></item><item><title>Code That Fits in Your Head: Mental Models</title><link>https://spencerfarley.com/2022/09/22/code-that-fits-mental-models/</link><pubDate>Thu, 22 Sep 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/09/22/code-that-fits-mental-models/</guid><description>&lt;p>Mental models are foundational. They decide how we interpret information and reason about a topic. Yet mental models for writing software are immature and little discussed. &lt;a class="link-markdown-demo-site" href="https://www.informit.com/store/code-that-fits-in-your-head-heuristics-for-software-9780137464401" rel="noopener">Code That Fits in Your Head&lt;/a> puts mental models front and center.&lt;/p></description></item><item><title>Development Drivers</title><link>https://spencerfarley.com/2022/09/15/code-that-fits-drivers/</link><pubDate>Thu, 15 Sep 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/09/15/code-that-fits-drivers/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://www.informit.com/store/code-that-fits-in-your-head-heuristics-for-software-9780137464401" rel="noopener">Code That Fits in Your Head&lt;/a> collects the myriad of somthing-driven practices into a category of &lt;em>drivers&lt;/em>. Drivers create a toolkit for highlighting motivations and responding to them with code.&lt;/p></description></item><item><title>Book Review: Code That Fits in Your Head</title><link>https://spencerfarley.com/2022/09/09/code-that-fits-in-your-head-review/</link><pubDate>Fri, 09 Sep 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/09/09/code-that-fits-in-your-head-review/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://www.informit.com/store/code-that-fits-in-your-head-heuristics-for-software-9780137464401" rel="noopener">Code That Fits in Your Head&lt;/a> tackles a problem dear to my heart. Mark Seemann realized good software engineering practices are out there, but it&amp;rsquo;s hard to connect the dots between scattered sources.&lt;/p></description></item><item><title>Book Review: The Annotated Turing</title><link>https://spencerfarley.com/2022/09/01/annotated-turing-review/</link><pubDate>Thu, 01 Sep 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/09/01/annotated-turing-review/</guid><description>&lt;p>Following software to it&amp;rsquo;s orgins with Alan Turing reveals some interesting trends in how ideas cycle.&lt;/p></description></item><item><title>Introducing FsSpec</title><link>https://spencerfarley.com/2022/08/25/fsspec/</link><pubDate>Thu, 25 Aug 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/08/25/fsspec/</guid><description>&lt;p>Type-driven and Domain-driven approaches commonly represent constrained values with a type. This approach is good, but generally leaves the constraints buried in functions. &lt;a class="link-markdown-demo-site" href="https://github.com/farlee2121/FsSpec" rel="noopener">FsSpec&lt;/a> exposes those constraints as data so they can be programmatically understood for validation, data generation, and more.&lt;/p></description></item><item><title>Performance as a Domain Property</title><link>https://spencerfarley.com/2022/08/19/performance-as-domain-property/</link><pubDate>Fri, 19 Aug 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/08/19/performance-as-domain-property/</guid><description>&lt;p>&lt;em>Sometimes performance is an observable domain behavior that belongs in our normal test suite&lt;/em>&lt;/p></description></item><item><title>Normalizing Boolean Expressions for Programmatic Inspection</title><link>https://spencerfarley.com/2022/08/12/normalizing-boolean-expressions/</link><pubDate>Fri, 12 Aug 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/08/12/normalizing-boolean-expressions/</guid><description>&lt;p>Programmers often arrange boolean expressions in all kinds of groupings for readability. The semantic of these groups, however, is not readily apparent to programs and algorithms. It turns out we can have it both ways, boolean expressions can be algorithmically normalized to consistent depth and form.&lt;/p></description></item><item><title>Is Clojure Spec a dependant type system?</title><link>https://spencerfarley.com/2022/08/05/clojure-spec-dependent/</link><pubDate>Fri, 05 Aug 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/08/05/clojure-spec-dependent/</guid><description>&lt;p>I recently learned of &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/07/22/proof-oriented-programming/" rel="noopener">dependent type systems&lt;/a>. I&amp;rsquo;m trying to feel out the boundaries of dependent types and came to the question: Is Clojure Spec a dependent type system?&lt;/p></description></item><item><title>Pitfalls of Spec-based Random Testing</title><link>https://spencerfarley.com/2022/08/01/spec-test-pitfalls/</link><pubDate>Mon, 01 Aug 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/08/01/spec-test-pitfalls/</guid><description>&lt;p>I&amp;rsquo;ve been thinking about constrained values, and how those constraints could be used to &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/06/03/improved-completeness-automatic-random-testing/" rel="noopener">better test our systems&lt;/a>. Mark Seemann was gracious to &lt;a class="link-markdown-demo-site" href="https://blog.ploeh.dk/2015/05/07/functional-design-is-intrinsically-testable/#2c0403d1e69d43a496ee04c16bea282c" rel="noopener">think through this with me&lt;/a> and point out some interesting conclusions.&lt;/p></description></item><item><title>Proof-Oriented Programming</title><link>https://spencerfarley.com/2022/07/22/proof-oriented-programming/</link><pubDate>Fri, 22 Jul 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/07/22/proof-oriented-programming/</guid><description>&lt;p>I&amp;rsquo;ve been exploring ways to leverage &lt;a class="link-markdown-demo-site" href="https://fsharpforfunandprofit.com/series/designing-with-types/" rel="noopener">type-driven development&lt;/a> and value constraints for better testing.
Turns out this has already been done, and there is a whole category of proof-oriented programming languages.&lt;/p></description></item><item><title>C# Records Compare Private Members</title><link>https://spencerfarley.com/2022/07/15/records-compare-private-members/</link><pubDate>Fri, 15 Jul 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/07/15/records-compare-private-members/</guid><description>&lt;p>Turns out private members of C# records affect value-based equality.&lt;/p></description></item><item><title>Constrained Types without Exceptions</title><link>https://spencerfarley.com/2022/07/08/constrained-types-without-exceptions/</link><pubDate>Fri, 08 Jul 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/07/08/constrained-types-without-exceptions/</guid><description>&lt;p>Representing constrained values with types greatly reduces defensive programming. However, constraints make some values invalid, and constructors don&amp;rsquo;t allow for flexible return types like a failure state. Here&amp;rsquo;s an approach to constructing constrained values without relying on exceptions.&lt;/p></description></item><item><title>Dependency Inversion > Dependency Injection</title><link>https://spencerfarley.com/2022/07/03/dependency-injection-vs-dependency-inversion/</link><pubDate>Sun, 03 Jul 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/07/03/dependency-injection-vs-dependency-inversion/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Dependency_injection" rel="noopener">Dependency Injection&lt;/a> has gained popularity in recent years. This is good, but Dependency Injection does not enjoy the full benefit of &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Dependency_inversion_principle" rel="noopener">Dependency Inversion&lt;/a> perscribed by the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/SOLID" rel="noopener">SOLID principles&lt;/a>. This post will clarify the difference and some of the addition power enjoyed by Dependency Inversion.&lt;/p></description></item><item><title>Misconception: Constructor Injection Exposes Dependency Chains</title><link>https://spencerfarley.com/2022/06/24/constructor-injection-does-not-expose-dependency-chain/</link><pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/24/constructor-injection-does-not-expose-dependency-chain/</guid><description>&lt;p>I&amp;rsquo;ve struggled with explaining Service Locator as an anti-pattern. I&amp;rsquo;ve addressed &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/03/12/service-locator-hides-circular-dependencies/" rel="noopener">certain cons of service locator&lt;/a> and pros of constructor injection. However, I think I overlooked a fundamental misconception that would reasonably push developers away from constructor injection: a belief that constructor injection exposes dependency chains across the system.&lt;/p></description></item><item><title>What's your Duck: Conclusion</title><link>https://spencerfarley.com/2022/06/16/5-conclusion/</link><pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/16/5-conclusion/</guid><description>&lt;p>This series is about design process and organizing our thoughts for effective development. The main goal is to establish a mental model and intuition for effective design process. This post reviews what we&amp;rsquo;ve learned.&lt;/p></description></item><item><title>What's your Duck: Ducks</title><link>https://spencerfarley.com/2022/06/16/3-ducks/</link><pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/16/3-ducks/</guid><description>&lt;!-- TODO: add a video of working through a duck -->
&lt;p>This series is about design process and organizing our thoughts for effective development. The main goal is to establish a healthy mental model and intuition for effective design process. We&amp;rsquo;ve previously established core ideas about design process and now well dig into concrete techniques. And yes, finally explain the ducks.&lt;/p></description></item><item><title>What's your Duck: Series Intro</title><link>https://spencerfarley.com/2022/06/16/0-intro/</link><pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/16/0-intro/</guid><description>&lt;p>This series is about design process and organizing our thoughts for effective development. The main goal is to establish a mental model and intuition for effective design process. The duck bit will be explained later.&lt;/p></description></item><item><title>What's your Duck: Software as Clarity</title><link>https://spencerfarley.com/2022/06/16/1-software-as-clarity/</link><pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/16/1-software-as-clarity/</guid><description>&lt;p>This series is about design process and organizing our thoughts for effective development. The main goal is to establish a mental model and intuition for effective design process. This post explores the key questions &amp;ldquo;What is programming?&amp;rdquo;, &amp;ldquo;What is Software Engineering?&amp;rdquo;, and how these answers relate to our design process.&lt;/p></description></item><item><title>What's your Duck: Stage-specifc questions</title><link>https://spencerfarley.com/2022/06/16/4-stage-specific-questions/</link><pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/16/4-stage-specific-questions/</guid><description>&lt;p>This series is about design process and organizing our thoughts for effective development. The main goal is to establish a mental model and intuition for effective design process. This post explores questions to clarify thoughts in specific software lifecycle stages.&lt;/p></description></item><item><title>What's your Duck: The Design Tree and Incremental Progress</title><link>https://spencerfarley.com/2022/06/16/2-design-tree-and-incremental-progress/</link><pubDate>Thu, 16 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/16/2-design-tree-and-incremental-progress/</guid><description>&lt;p>This series is about design process and organizing our thoughts for effective development. The main goal is to establish a mental model and intuition for effective design process. This post explores the fundamental questions &amp;ldquo;How do we effectively break down problems?&amp;rdquo;, &amp;ldquo;Can software be perfect?&amp;rdquo;, and &amp;ldquo;What makes software good?&amp;rdquo;&lt;/p></description></item><item><title>Better Software Interviews with Defect Detection</title><link>https://spencerfarley.com/2022/06/12/better-interviews-with-defect-detection/</link><pubDate>Sun, 12 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/12/better-interviews-with-defect-detection/</guid><description>&lt;p>I&amp;rsquo;ve sat through many a coding interview as both examiner and examinee. The experience is usually sub-par on either side.&lt;/p></description></item><item><title>Automated Random Testing and Improved Completeness</title><link>https://spencerfarley.com/2022/06/03/improved-completeness-automatic-random-testing/</link><pubDate>Fri, 03 Jun 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/06/03/improved-completeness-automatic-random-testing/</guid><description>&lt;p>Clojure has a unique type system based on specifications: &lt;a class="link-markdown-demo-site" href="https://clojure.org/guides/spec" rel="noopener">Clojure.spec&lt;/a>. The type system includes constraints, and it can automatically test any spec-ed function to ensure valid inputs always produce valid outputs. I think this kind of testing can be brought to statically typed languages to improve test completeness.&lt;/p></description></item><item><title>Union-based Result Types in C#</title><link>https://spencerfarley.com/2022/05/29/union-based-result/</link><pubDate>Sun, 29 May 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/05/29/union-based-result/</guid><description>&lt;p>I previously wrote about &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/01/15/results-update/" rel="noopener">result types&lt;/a> and &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/03/26/unions-in-csharp/" rel="noopener">union types&lt;/a> in C#. I got to wondering if a union-based approach would allow nicer result types. In short, it works, but not as nicely as I&amp;rsquo;d hope.&lt;/p></description></item><item><title>Tests as Values</title><link>https://spencerfarley.com/2022/05/20/tests-as-values/</link><pubDate>Fri, 20 May 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/05/20/tests-as-values/</guid><description>&lt;p>Lambdas, or functions as values, have worked their way into mainstream programming and transformed development for many programmers.&lt;/p></description></item><item><title>TestApi and Test Reuse in C#</title><link>https://spencerfarley.com/2022/05/16/testapi-and-test-reuse-in-csharp/</link><pubDate>Mon, 16 May 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/05/16/testapi-and-test-reuse-in-csharp/</guid><description>&lt;p>The &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/08/21/test-api-inpractice/" rel="noopener">TestApi&lt;/a> pattern helps decouple tests from our system and enables more stable and reusable tests.
I&amp;rsquo;ve shown how I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/10/08/testapi-in-fsharp-revised/" rel="noopener">use the pattern in F#&lt;/a>. Now here&amp;rsquo;s a similar example in C#.&lt;/p></description></item><item><title>Why No Traits (late-bound inheritance) in F#</title><link>https://spencerfarley.com/2022/05/06/traits-in-fsharp/</link><pubDate>Fri, 06 May 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/05/06/traits-in-fsharp/</guid><description>&lt;p>I fooled myself for a moment into thinking F# has ad-hoc polymorphism. Interface inheritance in F# looks a lot like traits in rust. So, why doesn&amp;rsquo;t F# support trait-like polymorphism.&lt;/p></description></item><item><title>Small Quibble with The Great Rewriting in Rust</title><link>https://spencerfarley.com/2022/04/29/quibble-with-rewriting-in-rust/</link><pubDate>Fri, 29 Apr 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/04/29/quibble-with-rewriting-in-rust/</guid><description>The Great Rewriting in Rust is a good overview of why Rust is a compelling and growing language. However, I have a small quibble with how it refers to F#.
The article states
F#, Dart, Swift, or Kotlin either, which seem to be more interested in replacing the null keyword with optionals, thereby solving Sir Hoare’s mistake.
Sir Hoare’s mistake refers to null. I can&amp;rsquo;t speak to Dart, Swift, and Kotlin, but I know F# rather well.</description></item><item><title>Continuous Integration and Refactoring: How to constructively develop against a single branch</title><link>https://spencerfarley.com/2022/04/24/ci-and-refactoring/</link><pubDate>Sun, 24 Apr 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/04/24/ci-and-refactoring/</guid><description>&lt;p>Continuous Integration (CI) is a hot buzzword. I&amp;rsquo;ve had a general sense of it for a while, but &lt;a class="link-markdown-demo-site" href="https://refactoring.com/" rel="noopener">Refactoring&lt;/a> chapter two brought its place into sharp focus, mainly through Preparatory Refactoring.&lt;/p></description></item><item><title>Value Objects and Reuse</title><link>https://spencerfarley.com/2022/04/15/value-objects-and-reusability/</link><pubDate>Fri, 15 Apr 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/04/15/value-objects-and-reusability/</guid><description>&lt;p>Looking for value objects among entity members is one of my favorite lessons from Domain Driven Design. Here&amp;rsquo;s a quick overview.&lt;/p></description></item><item><title>Safe Refactoring with Scientist</title><link>https://spencerfarley.com/2022/04/08/safe-refactoring-with-scientist/</link><pubDate>Fri, 08 Apr 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/04/08/safe-refactoring-with-scientist/</guid><description>&lt;p>Agile and DevOps have pushed faster and more frequent releases. Techniques like integration test, feature flags, canary tests, and monitors evolved to maintain service reliability without slowing that pace. But some code paths are so critical that they cannot fail even once. This is where &lt;a class="link-markdown-demo-site" href="https://github.com/github/scientist" rel="noopener">Scientist&lt;/a> comes in.&lt;/p></description></item><item><title>A Few Logging Ideas</title><link>https://spencerfarley.com/2022/04/01/a-few-logging-ideas/</link><pubDate>Fri, 01 Apr 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/04/01/a-few-logging-ideas/</guid><description>&lt;p>This post is mostly a self-reminder to think more on a few logging ideas I encountered. I figured others might benefit from them too.&lt;/p></description></item><item><title>UI Mutation and Generative Testing Update</title><link>https://spencerfarley.com/2022/03/27/ui-mutation-testing-update/</link><pubDate>Sun, 27 Mar 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/03/27/ui-mutation-testing-update/</guid><description>I previously wrote on statistical and mutation testing for UIs. After additional thought, I don&amp;rsquo;t think UI mutation testing is feasible, at least in the traditional sense. Structure-based generative testing still could be.
Lack of Deterministic Errors for Mutation Mutation testing is a tool to measure completeness. It tells us how well our other tests detect possible errors in our code.
Mutation testing frameworks measure test suite completeness by crawling the code and injecting breaking changes.</description></item><item><title>Levels of Developer Documentation</title><link>https://spencerfarley.com/2022/03/18/levels-of-developer-documentation/</link><pubDate>Fri, 18 Mar 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/03/18/levels-of-developer-documentation/</guid><description>&lt;p>A friend has been struggling with under-documented projects (*cough* &lt;a class="link-markdown-demo-site" href="https://blog.ploeh.dk/2012/12/18/RangersandZookeepers/" rel="noopener">zoo software&lt;/a>). This raised the question, what makes good documentation? And what is a good documentation system? Here&amp;rsquo;s my opinion backed with some sources.&lt;/p></description></item><item><title>Small Teaching Review</title><link>https://spencerfarley.com/2022/03/07/small-teaching-review/</link><pubDate>Mon, 07 Mar 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/03/07/small-teaching-review/</guid><description>&lt;p>Small teaching is an engaging and practical condensation of learning research into an accessible read. The book is oriented toward teachers, but is meaningful for anyone who wants to learn more effectively or understand how to share ideas.&lt;/p></description></item><item><title>Progressive Design</title><link>https://spencerfarley.com/2022/03/04/progressive-design/</link><pubDate>Fri, 04 Mar 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/03/04/progressive-design/</guid><description>&lt;p>Choosing the right amount of process is an art. Too much process is smothering and too little is a mess. However, I think &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2022/02/25/stable-incremental-additive/" rel="noopener">incremental, stable, and additive processes&lt;/a> naturally start simple and mature &lt;em>progressively&lt;/em> with our demands.&lt;/p></description></item><item><title>Process Quality Drivers: Stable, Incremental, Additive</title><link>https://spencerfarley.com/2022/02/25/stable-incremental-additive/</link><pubDate>Fri, 25 Feb 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/02/25/stable-incremental-additive/</guid><description>&lt;p>&amp;ldquo;No ideal process, or set of processes, exists&amp;rdquo; &amp;ldquo;Software processes must be selected, adapted, and applied as appropriate for each project and each organizational context.&amp;rdquo; (&lt;a class="link-markdown-demo-site" href="https://www.computer.org/education/bodies-of-knowledge/software-engineering/v3" rel="noopener">SWEBOK&lt;/a> Ch 1.1 intro). No one likes to hear &amp;ldquo;that&amp;rsquo;s just how we do it&amp;rdquo;. Process without understanding leads to &lt;a class="link-markdown-demo-site" href="https://stevemcconnell.com/articles/cargo-cult-software-engineering/" rel="noopener">frustrating lack of results&lt;/a>. Understanding factors of good process is critical for effective work across projects and for continued improvement.&lt;/p>
&lt;p>My working hypothesis is that effective processes are incremental, stable, and additive.&lt;/p></description></item><item><title>Programming is Problem Modeling</title><link>https://spencerfarley.com/2022/02/18/programming-is-problem-modeling/</link><pubDate>Fri, 18 Feb 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/02/18/programming-is-problem-modeling/</guid><description>&lt;p>Code is not the goal of programming. Programming is about understanding and representing problems. While this belief is expressed by many experts, the repercussions are many and nuanced. This is my latest attempt to communicate the idea clearly.&lt;/p></description></item><item><title>Pull Request Checklist</title><link>https://spencerfarley.com/2022/02/11/pull-request-checklist/</link><pubDate>Fri, 11 Feb 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/02/11/pull-request-checklist/</guid><description>&lt;p>This is my attempt to communicate what I consider when looking at a pull request.&lt;/p></description></item><item><title>Case for Static Class Extension in C#</title><link>https://spencerfarley.com/2022/02/03/missing-static-class-extension/</link><pubDate>Thu, 03 Feb 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/02/03/missing-static-class-extension/</guid><description>&lt;p>Working on &lt;a class="link-markdown-demo-site" href="https://github.com/farlee2121/System.CommandLine.PropertyMapBinder" rel="noopener">System.CommandLine.PropertyMapBinder&lt;/a> has led me to believe C# is missing a powerful feature: static class extensions. This post explains my usecase, and balances some of the tradeoffs.&lt;/p></description></item><item><title>Test Case Selection Guide</title><link>https://spencerfarley.com/2022/01/28/test-case-selection/</link><pubDate>Fri, 28 Jan 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/01/28/test-case-selection/</guid><description>&lt;p>Testing is a broad and essential topic for Software Developers. There is a dizzying diversity of &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/12/05/what-tests-measure/" rel="noopener">testing approaches for different scenarios&lt;/a>. However, the typical developer&amp;rsquo;s inner loop focuses on a few kinds of tests and test selection. That is, choosing which tests need to be written.&lt;/p></description></item><item><title>Development Cycles Checklist</title><link>https://spencerfarley.com/2022/01/21/development-cycles-checklist/</link><pubDate>Fri, 21 Jan 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/01/21/development-cycles-checklist/</guid><description>&lt;p>A junior developer recently asked for a daily responsibilities checklist. This question made no sense to me at first. A developer&amp;rsquo;s job isn&amp;rsquo;t so routine as a daily checklist. However, it sparked me to think about how a developer&amp;rsquo;s regular activities can be described concisely.&lt;/p></description></item><item><title>SWEBOK Key Definitions</title><link>https://spencerfarley.com/2022/01/14/swebok-term-definitions/</link><pubDate>Fri, 14 Jan 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/01/14/swebok-term-definitions/</guid><description>&lt;p>I realized that my Software Engineering Body of Knowledge (SWEBOK) posts reference, but never define, the 15 key knowledge areas outlined by SWEBOK. I intent to fix that with this post.&lt;/p></description></item><item><title>Qualities of a Good Dev Environment</title><link>https://spencerfarley.com/2022/01/07/good-dev-environments/</link><pubDate>Fri, 07 Jan 2022 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2022/01/07/good-dev-environments/</guid><description>&lt;p>I recently tried to explain when a developer should be cautious versus when they should freely experiment. This caused me to realize I never learned this lesson explicitly. It&amp;rsquo;s an intuition I built over time and forgot I had to learn. I believe the answer aligns with what makes a good development environment.&lt;/p></description></item><item><title>Foundation of Software Measurement</title><link>https://spencerfarley.com/2021/12/31/foundations-of-software-measurement/</link><pubDate>Fri, 31 Dec 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/12/31/foundations-of-software-measurement/</guid><description>&lt;p>Software Engineers are differentiated from other programming disciplines by economical, repeatable, and reliable results. Such consistency requires measurement, data on which to make informed decisions. I propose that source control and work item tracking are the kernel of such process.&lt;/p></description></item><item><title>Why Sprints Should Be Stable</title><link>https://spencerfarley.com/2021/12/24/why-sprints-should-be-stable/</link><pubDate>Fri, 24 Dec 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/12/24/why-sprints-should-be-stable/</guid><description>&lt;p>I&amp;rsquo;ve long understood agile sprints to be a fixed set of work. Lately, I&amp;rsquo;ve had to examine why. I think the principle still stands, and here&amp;rsquo;s why.&lt;/p></description></item><item><title>Private Implementations for Public Use is a Smell</title><link>https://spencerfarley.com/2021/12/19/private-implementations-public-use-smell/</link><pubDate>Sun, 19 Dec 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/12/19/private-implementations-public-use-smell/</guid><description>&lt;p>I was refactoring an older code base and noticed a pattern I used to follow where a project keeps implementations private and only leaves the interfaces public.&lt;/p>
&lt;p>The motivation behind this was to force consumers to depend on the interface and not concrete implementations. This is a nice motivation, but it&amp;rsquo;s only a patch to a deeper design flaw.&lt;/p></description></item><item><title>Gherkin-named Tests as Low-bar Acceptance Tests</title><link>https://spencerfarley.com/2021/12/12/gherking-test-names/</link><pubDate>Sun, 12 Dec 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/12/12/gherking-test-names/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/06/11/gherkin-vs-testapi/" rel="noopener">previously compared the tradeoffs&lt;/a> of Gherkin-based and TestApi-based behavior tests. Recently, I realized there is a simple in-between solution: TestApi with Gherkin-style names.&lt;/p></description></item><item><title>What Tests Measure</title><link>https://spencerfarley.com/2021/12/05/what-tests-measure/</link><pubDate>Sun, 05 Dec 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/12/05/what-tests-measure/</guid><description>&lt;p>My &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/08/30/test-types-and-lifecycle-phases/" rel="noopener">test types diagram&lt;/a> sparked concern that mature process focuses on repeated measured improvement, not specific techniques. This is right, but I don&amp;rsquo;t see the conflict. Tests are a kind of measure, and the diagram identifies common tests (measures) certain actors leverage to meet larger goals. This raises the question, what do the different kinds of tests measure? Consequently, what do they tell us about our system?&lt;/p></description></item><item><title>Governance is a mine of Quality techniques</title><link>https://spencerfarley.com/2021/11/26/governance-and-multiple-verification/</link><pubDate>Fri, 26 Nov 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/11/26/governance-and-multiple-verification/</guid><description>&lt;p>I recently put together that multiple verification (the quality technique) is effectively the same and as &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Corporate_governance" rel="noopener">governance&lt;/a> techniques. It&amp;rsquo;s about managing the level of trust and risk we accept from individual contributors.&lt;/p></description></item><item><title>Dotnet SDK Contribution Tips</title><link>https://spencerfarley.com/2021/11/19/dotnet-sdk-contribution-tips/</link><pubDate>Fri, 19 Nov 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/11/19/dotnet-sdk-contribution-tips/</guid><description>&lt;p>I&amp;rsquo;ve been experimenting with adding a feature to the &lt;a class="link-markdown-demo-site" href="https://github.com/dotnet/sdk" rel="noopener">.NET SDK&lt;/a>. Oof, this project is understandably large and complex.
Here are a few lessons I&amp;rsquo;ve learned that simplify working on the project.&lt;/p></description></item><item><title>BDD Pushes the right extensibility</title><link>https://spencerfarley.com/2021/11/12/bdd-pushes-the-right-extensibility/</link><pubDate>Fri, 12 Nov 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/11/12/bdd-pushes-the-right-extensibility/</guid><description>&lt;p>I recently read Mark Seemann&amp;rsquo;s post on how &lt;a class="link-markdown-demo-site" href="https://blog.ploeh.dk/2009/06/05/TestabilityIsReallyTheOpenClosedPrinciple/" rel="noopener">Testability is the Open-Closed Principle&lt;/a>. This helped me realize the approach to testing directs the kinds of flexibility in our system, and behavior-based testing pushes the right kind of flexibility.&lt;/p></description></item><item><title>Thoughts on Acceptance Test Logistics</title><link>https://spencerfarley.com/2021/11/05/acceptance-test-logisitcs/</link><pubDate>Fri, 05 Nov 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/11/05/acceptance-test-logisitcs/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/10/31/efficient-inter-team-contracts-with-acceptance-tests/" rel="noopener">previously wrote&lt;/a> on how acceptance tests can streamline communication between developers and teams.
I&amp;rsquo;ve been thinking about practical enactment of such a scheme and surfaced some interesting ideas.&lt;/p></description></item><item><title>Efficient Inter-Team Contracts with Acceptance Tests</title><link>https://spencerfarley.com/2021/10/31/efficient-inter-team-contracts-with-acceptance-tests/</link><pubDate>Sun, 31 Oct 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/10/31/efficient-inter-team-contracts-with-acceptance-tests/</guid><description>&lt;p>I&amp;rsquo;ve been exploring large-scale formal development practices, and realized acceptance tests may be the best way for developers to encode expectations for other developers.&lt;/p></description></item><item><title>Theory: Dependency Injection Scheme is Determined by Responsibility Layer</title><link>https://spencerfarley.com/2021/10/24/di-strategy-by-layer/</link><pubDate>Sun, 24 Oct 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/10/24/di-strategy-by-layer/</guid><description>&lt;p>Scott Wlaschin posted an &lt;a class="link-markdown-demo-site" href="https://fsharpforfunandprofit.com/posts/dependencies/" rel="noopener">incredible series&lt;/a> on dependency injection. It clarifies the different techniques and cases where each is useful. I noticed an interesting relationship between the techniques and the layers I use to categorize services.&lt;/p></description></item><item><title>State Machines and Interpreters are Equivalent</title><link>https://spencerfarley.com/2021/10/15/state-machines-and-interpreters-are-equivalent/</link><pubDate>Fri, 15 Oct 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/10/15/state-machines-and-interpreters-are-equivalent/</guid><description>&lt;p>Scott Wlaschin wrote a &lt;a class="link-markdown-demo-site" href="https://fsharpforfunandprofit.com/posts/dependencies/" rel="noopener">delightful series on dependency injection patterns&lt;/a>. &lt;a class="link-markdown-demo-site" href="https://fsharpforfunandprofit.com/posts/dependencies-4/" rel="noopener">Part 4&lt;/a> covers the Interpreter pattern. Interestingly, my main takeaway was that Interpreter is really the same as State Machine.&lt;/p></description></item><item><title>Test Api in F# Improved</title><link>https://spencerfarley.com/2021/10/08/testapi-in-fsharp-revised/</link><pubDate>Fri, 08 Oct 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/10/08/testapi-in-fsharp-revised/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/02/26/testapi-in-fsharp/" rel="noopener">previously wrote&lt;/a> on the Test API behavioral testing in F#. More time and thinking has brought about a few key improvements, making the pattern both more concise and standardized.&lt;/p></description></item><item><title>Program Structure is not File Structure</title><link>https://spencerfarley.com/2021/10/01/program-structure-is-not-file-structure/</link><pubDate>Fri, 01 Oct 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/10/01/program-structure-is-not-file-structure/</guid><description>&lt;p>Naming is one of the most important activities in programming. Names are the primary vehicle for communicating intent and making code understandable.
Names haves some sneaky counterparts: scope and context. I argue that our tools for scope and context impact how good our naming can be, and file-based modules force coupling between concerns that inhibit global name organization.&lt;/p></description></item><item><title>Clojure Namespaces Inhibit Code Grouping</title><link>https://spencerfarley.com/2021/09/24/clojure-inhibits-code-grouping/</link><pubDate>Fri, 24 Sep 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/09/24/clojure-inhibits-code-grouping/</guid><description>&lt;p>I&amp;rsquo;ve spent most of this year in Clojure after years of .NET. Much of my F# design skills made the jump, but one language difference has notably changed how I write programs. Specifically, two namespacing choices inhibit my inclination to explicitly group small sections of related declarations. This broadly impacts both program structure and naming.&lt;/p></description></item><item><title>Macros are not a clear win</title><link>https://spencerfarley.com/2021/09/17/macros-not-a-clear-win/</link><pubDate>Fri, 17 Sep 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/09/17/macros-not-a-clear-win/</guid><description>&lt;p>I&amp;rsquo;ve been working in Clojure for the better portion of a year now. I came to Clojure very excited to learn more about macros and symbolic programming.
I learned some powerful concepts, but the takeaways were not what I expected. Overall, I found that macros are not a clear win.&lt;/p></description></item><item><title>Implicit Fundamentals</title><link>https://spencerfarley.com/2021/09/10/implicit-fundamentals/</link><pubDate>Fri, 10 Sep 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/09/10/implicit-fundamentals/</guid><description>&lt;p>I recently gave a presentation on the Software Engineering Body of Knowledge focused on road maps for software learning.
This involves much philosophy on how we think about software. The conversation surfaced many crucial fundamental views that often go unstated.
I&amp;rsquo;ve enumerated them here.&lt;/p></description></item><item><title>Test Types and Lifecycle Phases</title><link>https://spencerfarley.com/2021/08/30/test-types-and-lifecycle-phases/</link><pubDate>Mon, 30 Aug 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/08/30/test-types-and-lifecycle-phases/</guid><description>&lt;p>I was thinking about responsibility for different kinds of quality in an organization and I noticed that different kinds of testing line up well with particular roles and &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/08/27/swebok-modified-topic-diagram/" rel="noopener">software lifecycle phases&lt;/a>. I&amp;rsquo;ve summed it all up in a quick visual.&lt;/p></description></item><item><title>SWEBOK: Modified software Concept Map</title><link>https://spencerfarley.com/2021/08/27/swebok-modified-topic-diagram/</link><pubDate>Fri, 27 Aug 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/08/27/swebok-modified-topic-diagram/</guid><description>&lt;p>I&amp;rsquo;ve been wrestling with the Software Engineering Body of Knowledge (SWEBOK) to distill an intuitive mental image for software knowledge.
Here is my latest attempt incorporating insights from previous visuals.&lt;/p></description></item><item><title>Lifecycle Artifacts and Cross-Cutting Concerns</title><link>https://spencerfarley.com/2021/08/20/swebok-transform-scm/</link><pubDate>Fri, 20 Aug 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/08/20/swebok-transform-scm/</guid><description>&lt;p>The Software Engineering Body of Knowledge (SWEBOK) portrays the software lifecycle as a &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/08/13/swebok-transform-view/" rel="noopener">set of transforms&lt;/a>. I realized that each transform creates an artifact, and these artifacts are key to connecting cross-cutting concerns into the lifecycle phases.&lt;/p></description></item><item><title>Software Engineering as Problem Translation</title><link>https://spencerfarley.com/2021/08/13/swebok-transform-view/</link><pubDate>Fri, 13 Aug 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/08/13/swebok-transform-view/</guid><description>&lt;p>The Software Engineering Body of Knowledge (SWEBOK) states that software engineering transforms problems stated in natural language to problems stated in electrical current. This transform view emphasizes the continuity of the design process and highlights intermediate artifacts.&lt;/p></description></item><item><title>SWEBOK: Hierarchy of chapters</title><link>https://spencerfarley.com/2021/08/08/swebok-chaper-hierarchy/</link><pubDate>Sun, 08 Aug 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/08/08/swebok-chaper-hierarchy/</guid><description>&lt;p>The Software Engineering Body of Knowledge (SWEBOK) defines the major categories of software knowledge. It even talks about relationships between topics here and there. However, the overall picture is never very clearly explored. I hope to remedy that.&lt;/p></description></item><item><title>Reading Review: Software Engineering Body of Knowledge</title><link>https://spencerfarley.com/2021/07/30/swebok-review/</link><pubDate>Fri, 30 Jul 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/07/30/swebok-review/</guid><description>&lt;p>The Software Engineering Body of Knowledge (SWEBOK) levels up our industry. It collects evidence-based standard practices that every developer is expected to know. This post will establish some background for SWEBOK, cover my high-level takeaways.&lt;/p></description></item><item><title>Hypothesis: Statistical and Mutation Testing are Achievable for Visual UI Testing</title><link>https://spencerfarley.com/2021/07/25/statistical-and-mutation-ui-testing/</link><pubDate>Sun, 25 Jul 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/07/25/statistical-and-mutation-ui-testing/</guid><description>&lt;p>I have a wide range of techniques for testing code behavior. I can reliably increase quality over time no matter how large the feature set grows and even measure the completeness of my test suite (mutation testing).&lt;/p>
&lt;p>The same can&amp;rsquo;t be said for UIs. I have long struggled to automate UI tests at all, and manual tests don&amp;rsquo;t sustain as the system grows.
However, I think I may now have a technique to close the gap.&lt;/p></description></item><item><title>Sharp-Dressed Code</title><link>https://spencerfarley.com/2021/07/16/well-dressed-code/</link><pubDate>Fri, 16 Jul 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/07/16/well-dressed-code/</guid><description>&lt;p>You know what they say about sharp-dressed code. Every dev&amp;rsquo;s crazy about it&amp;hellip;&lt;/p>
&lt;p>More seriously, developers often fail to notice well-written code, but easily recognize and curse poorly written code.&lt;/p>
&lt;p>&lt;a class="link-markdown-demo-site" href="https://reviewthecode.blogspot.com/2016/01/wtf-per-minute-actual-measurement-for.html" rel="noopener">&lt;img src="https://spencerfarley.com/post-media/Well-Dressed-Code/WFTPM.png" alt="wtf per minute comic" title="wtf per minute comic"/>
&lt;/a>&lt;/p>
&lt;p>Still, some of the greatest minds in our field have a great passion for well-written code (quotes below). Code clarity directly contributes to understandability, maintenance, quality, and more. Here I&amp;rsquo;ll discuss practical ways to write clean and maintainable code.&lt;/p></description></item><item><title>Patterns in practice</title><link>https://spencerfarley.com/2021/07/09/patterns-in-practice/</link><pubDate>Fri, 09 Jul 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/07/09/patterns-in-practice/</guid><description>&lt;p>Patterns are generally taught in isolation (separation of concerns), but application of patterns is often highly interconnected. Here I&amp;rsquo;ll show how my most used patterns come together as a design system.&lt;/p></description></item><item><title>Reading Review: Professional Software Development</title><link>https://spencerfarley.com/2021/07/02/professional-software-development/</link><pubDate>Fri, 02 Jul 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/07/02/professional-software-development/</guid><description>&lt;p>Steve McConnell is best known for Code Complete. Professional Software Development is a much lighter packaging of McConnell&amp;rsquo;s core philosophy. It establishes up a well-founded view on what the software industry is and could be. Here I&amp;rsquo;ll highlight some of my key takeaways from the book.&lt;/p></description></item><item><title>Construx Career Ladder</title><link>https://spencerfarley.com/2021/06/28/construx-career-ladder/</link><pubDate>Mon, 28 Jun 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/06/28/construx-career-ladder/</guid><description>&lt;!-- NOTE: If I ever restore this post, I should restore the links in 2021-07-02-Professional-Software-Development and 2021-07-30-SWEBOK-review -->
&lt;p>The &lt;a class="link-markdown-demo-site" href="https://www.construx.com/professional-development-ladder/" rel="noopener">Construx Professional Development Ladder&lt;/a> is a comprehensive and clear road map for software career development. It mixes community standards, respected literature, and experiential learning to create a framework for understanding and acquiring software competency. I would recommend this short reading to every young developer. Let&amp;rsquo;s look at what makes it so good.&lt;/p></description></item><item><title>Pros and cons of REPL-centered development</title><link>https://spencerfarley.com/2021/06/19/problems-with-repl-development/</link><pubDate>Sat, 19 Jun 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/06/19/problems-with-repl-development/</guid><description>&lt;p>I&amp;rsquo;ve been working on Clojure lately, and the Clojure community tends to center their development around the REPL. While often useful, this approach also comes with some unforeseen downsides.&lt;/p></description></item><item><title>Gherkin vs Test API</title><link>https://spencerfarley.com/2021/06/11/gherkin-vs-testapi/</link><pubDate>Fri, 11 Jun 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/06/11/gherkin-vs-testapi/</guid><description>&lt;p>I&amp;rsquo;ve use Test API for behavior testing for more than a year now, and to great effect. I expected &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/06/04/learning-gherkin/" rel="noopener">my recent experience with Gherkin&lt;/a> to be similar, but found the two BDD techniques to be surprisingly different. Here I&amp;rsquo;ll contrast the two methods to highlight their distinct value.&lt;/p></description></item><item><title>Getting started with Gherkin</title><link>https://spencerfarley.com/2021/06/04/learning-gherkin/</link><pubDate>Fri, 04 Jun 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/06/04/learning-gherkin/</guid><description>&lt;p>I finally got hands-on experience with Gherkin, the common language for Behavior-driven Development (BDD). Getting started was more of a struggle than I anticipated. Here are solutions to some of my main hangups.&lt;/p></description></item><item><title>Event Stores: An Advance in Data Safety</title><link>https://spencerfarley.com/2021/05/28/transaction-databases/</link><pubDate>Fri, 28 May 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/05/28/transaction-databases/</guid><description>&lt;p>I&amp;rsquo;ve been working with &lt;a class="link-markdown-demo-site" href="https://www.datomic.com/" rel="noopener">Datomic&lt;/a> on a recent project. Datomic, and stores like it, solve a fundamental class of development issues: data safety.&lt;/p></description></item><item><title>Duck Structure</title><link>https://spencerfarley.com/2021/05/21/duck-structure/</link><pubDate>Fri, 21 May 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/05/21/duck-structure/</guid><description>&lt;p>Good designs generally reflect the nature of the problem they solve, and the same applies to designing a process for design. Design is messy, incremental, and has spurts of both broad and deep exploration.&lt;/p>
&lt;p>Here I&amp;rsquo;ll describe the simple and flexible organization structure my &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/10/02/whats-your-duck/" rel="noopener">duck docs&lt;/a> evolved to capture design thoughts for reference without impeding exploration.&lt;/p></description></item><item><title>Lessons From Clojure</title><link>https://spencerfarley.com/2021/05/14/lessons-from-clojure/</link><pubDate>Fri, 14 May 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/05/14/lessons-from-clojure/</guid><description>&lt;p>Fred Brooks once described elegant design as few ideas combined powerfully. Clojure is a language that lives by that idea. Understanding Clojure improved my understanding of language choices in general. Here I&amp;rsquo;ll highlight some of my learnings.&lt;/p></description></item><item><title>DDD Reading Review</title><link>https://spencerfarley.com/2021/05/07/ddd-retro/</link><pubDate>Fri, 07 May 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/05/07/ddd-retro/</guid><description>&lt;p>It&amp;rsquo;s easy to see how Domain Driven Design (DDD) by Eric Evans was such a seminal work. It presents a holistic development process that seems to have predicted the next two decades of development trends. Here are some of my key takeaways from the book.&lt;/p></description></item><item><title>The Place for Ambient Context</title><link>https://spencerfarley.com/2021/04/30/ambient-context/</link><pubDate>Fri, 30 Apr 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/04/30/ambient-context/</guid><description>&lt;p>Ambient context is a useful design pattern, but a recent project got me thinking about how universal this context should be.&lt;/p></description></item><item><title>Design and Requirements as Negotiation</title><link>https://spencerfarley.com/2021/04/23/negotiation-design/</link><pubDate>Fri, 23 Apr 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/04/23/negotiation-design/</guid><description>&lt;p>I finally got around to reading &lt;a class="link-markdown-demo-site" href="http://www.fd.unl.pt/docentes_docs/ma/AGON_MA_25849.pdf" rel="noopener">Getting to Yes&lt;/a>, which several friends have recommended. It is a fantastic crash course in negotiation. I also couldn&amp;rsquo;t help but notice the similarities between negotiation and design.&lt;/p></description></item><item><title>Static Member Enums Update</title><link>https://spencerfarley.com/2021/04/16/member-enum-update/</link><pubDate>Fri, 16 Apr 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/04/16/member-enum-update/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/08/07/structs-vs-enums/" rel="noopener">previously wrote&lt;/a> on how static members on a struct work as a more extension-friendly enum. This pattern has gotten even better as of C# 9.&lt;/p></description></item><item><title>Progressive Modeling with Events, Transforms, and State</title><link>https://spencerfarley.com/2021/04/09/designing-with-events-transforms-and-state/</link><pubDate>Fri, 09 Apr 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/04/09/designing-with-events-transforms-and-state/</guid><description>&lt;p>I just finished reading &lt;a class="link-markdown-demo-site" href="https://pragprog.com/titles/swdddf/domain-modeling-made-functional/" rel="noopener">Domain Modeling Made Functional&lt;/a>. Wow, the technique in this book just feels right. It wraps up a bunch of development values I already had in a technique that is clear, thorough, and fluid. Here I&amp;rsquo;ll overview the method and recount a bit of my experience applying it.&lt;/p></description></item><item><title>Functional Programming is a lasting way forward</title><link>https://spencerfarley.com/2021/04/02/functional-is-a-lasting-way-forward/</link><pubDate>Fri, 02 Apr 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/04/02/functional-is-a-lasting-way-forward/</guid><description>&lt;p>My deep live into functional programming has definitely made me a fan. Most importantly, it helps me see a way for programming languages to keep evolving.&lt;/p></description></item><item><title>Union Types in C#</title><link>https://spencerfarley.com/2021/03/26/unions-in-csharp/</link><pubDate>Fri, 26 Mar 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/03/26/unions-in-csharp/</guid><description>&lt;p>Union types are common in functional languages, but have yet to make it to C# and similar. These types solve a simple and very common problem, data that is one of a finite set of possibilities. Here&amp;rsquo;s we&amp;rsquo;ll look at how to accomplish the same in C#.&lt;/p></description></item><item><title>Quantifying Communication From Customer to Code</title><link>https://spencerfarley.com/2021/03/19/quantified-communication-customer-to-code/</link><pubDate>Fri, 19 Mar 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/03/19/quantified-communication-customer-to-code/</guid><description>&lt;p>Learning functional programming has included significant quality time with Type-Driven Development and property-based testing. These paradigms highlighted a gap in my previous testing techniques. It led me to better classify types of communication errors between customers and code, and the toolset for addressing each type.&lt;/p></description></item><item><title>Service Locator Hides Circular References</title><link>https://spencerfarley.com/2021/03/12/service-locator-hides-circular-dependencies/</link><pubDate>Fri, 12 Mar 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/03/12/service-locator-hides-circular-dependencies/</guid><description>&lt;p>Many have discussed the issues with the service locator anti-pattern for dependency management. However, I&amp;rsquo;ve repeatedly run into an issue that I haven&amp;rsquo;t seen discussed yet: it causes circular references.&lt;/p></description></item><item><title>Notes as Data</title><link>https://spencerfarley.com/2021/03/05/reference-ready-notes/</link><pubDate>Fri, 05 Mar 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/03/05/reference-ready-notes/</guid><description>&lt;p>I&amp;rsquo;ve fallen in love with Markdown and it is slowly permeating all of my documents. The latest addition is notes, which Markdown makes easy to reference either manually or programmatically!&lt;/p></description></item><item><title>Test Api in F#</title><link>https://spencerfarley.com/2021/02/26/testapi-in-fsharp/</link><pubDate>Fri, 26 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/26/testapi-in-fsharp/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://codewithspoon.com/2019/12/stop-corrupting-yourself-test-against-abstractions/" rel="noopener">Paul&amp;rsquo;s Test Api&lt;/a> &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/08/21/test-api-inpractice/" rel="noopener">permanently changed the way that I test&lt;/a>. It&amp;rsquo;s only natural I&amp;rsquo;d want to bring the pattern over to F# with me. Here&amp;rsquo;s how I did it and a few extra testing tips for F#.&lt;/p></description></item><item><title>Building a Monad Intuition</title><link>https://spencerfarley.com/2021/02/19/monad-mental-model/</link><pubDate>Fri, 19 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/19/monad-mental-model/</guid><description>&lt;p>Like most people, I&amp;rsquo;ve found monads hard to pin down. I know things I can do with them, but I don&amp;rsquo;t understand them at an intuitive and flexible level. Here I&amp;rsquo;ll try to build my mental model by relating to other tools.&lt;/p></description></item><item><title>Climate</title><link>https://spencerfarley.com/2021/02/12/6-climate/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/6-climate/</guid><description>&lt;p>I once worked at a startup where the developers were regularly ignored. Try as we might to bring in new perspectives and experts, everything was dismissed. It eventually fell apart with the entire team leaving.&lt;/p>
&lt;p>This is an example of climate, and a highly toxic one.&lt;/p></description></item><item><title>Key Dimensions of Control</title><link>https://spencerfarley.com/2021/02/12/8-key-dimensions-of-control/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/8-key-dimensions-of-control/</guid><description>&lt;p>&lt;strong>Measurement&lt;/strong> – The types and amount of insights we extract on our students current understanding&lt;/p></description></item><item><title>Knowledge Organization</title><link>https://spencerfarley.com/2021/02/12/3-knowledge-organization/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/3-knowledge-organization/</guid><description>&lt;p>Think back to &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2021/02/12/1-knowledge-types-and-mastery/" rel="noopener">the first post on mastery&lt;/a>. Expert blindspot is caused by information obvious to the master and imperceptible to the student, causing both sides to be baffled by the behavior of the other.&lt;/p>
&lt;p>This can be an issue with knowledge organization.&lt;/p></description></item><item><title>Knowledge Types and Mastery</title><link>https://spencerfarley.com/2021/02/12/1-knowledge-types-and-mastery/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/1-knowledge-types-and-mastery/</guid><description>&lt;p>&lt;em>Defn: Mastery - a high degree of competence in a particular area.&lt;/em>&lt;/p></description></item><item><title>Learning Principles</title><link>https://spencerfarley.com/2021/02/12/0-how-learning-works-series-intro/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/0-how-learning-works-series-intro/</guid><description>Communication is hard. We’ve all (probably) experienced situations where our words fall flat; where repeated explanation just doesn&amp;rsquo;t seem to create understanding.
In this situation, you are an educator.
Learning and teaching are two views of the same process. However, those views don’t always line up. Each individual’s past experiences, goals, subject mastery, learning habits, and the environment can all cause disconnects. Not just these qualities in students, but in the teacher as well.</description></item><item><title>Motivation and Goals</title><link>https://spencerfarley.com/2021/02/12/5-motivation-and-goals/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/5-motivation-and-goals/</guid><description>&lt;style>
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
&lt;/style>
&lt;p>I come from the world of startups. Companies with interesting products fail every day. Despite novel products, customers are disinterested and avoidant.&lt;/p>
&lt;p>In software, unit tests are widely acknowledged to be good practice. However, few developers write them.&lt;/p>
&lt;p>These two cases are prime examples of motivation failures.&lt;/p></description></item><item><title>Practice &amp; Feedback</title><link>https://spencerfarley.com/2021/02/12/4-practice-and-feedback/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/4-practice-and-feedback/</guid><description>&lt;p>Repeatedly explaining some idea without perceived progress is frustrating for both the teacher and student. Ideas feel compelling and actionable, but remember, knowledge is both declarative and procedural. Thus, feedback and practice are two halves of one process. Feedback is not effective without an opportunity to practice.&lt;/p></description></item><item><title>Prior Knowledge</title><link>https://spencerfarley.com/2021/02/12/2-prior-knowledge/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/2-prior-knowledge/</guid><description>&lt;p>Every student views new information through the lens of prior knowledge. In fact, some researchers suggest that learning &lt;em>requires&lt;/em> connecting new information to what we already know. Either way, more connections leads to improved recall and utility.&lt;/p></description></item><item><title>Self-learning</title><link>https://spencerfarley.com/2021/02/12/7-self-learning/</link><pubDate>Fri, 12 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/12/7-self-learning/</guid><description>&lt;p>I see programming as an extended application of problem solving, and problem solving is just a different view on self-learning. Encouraging self-learning makes a team skillful and robust.&lt;/p></description></item><item><title>Functional Guided Reader</title><link>https://spencerfarley.com/2021/02/08/f-guided-reader/</link><pubDate>Mon, 08 Feb 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/02/08/f-guided-reader/</guid><description>&lt;p>I absolutely love Scott Wlaschin&amp;rsquo;s work. He breaks down the unfamiliar and sometimes complex ideas of functional languages into approachable explanations. My one gripe with his site is that there is a bit of an implicit order to the content. Here&amp;rsquo;s my outline of how I think the concepts best build on each other.&lt;/p></description></item><item><title>Going Fast is Going Well</title><link>https://spencerfarley.com/2021/01/29/going-fast-is-going-well/</link><pubDate>Fri, 29 Jan 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/01/29/going-fast-is-going-well/</guid><description>&lt;p>I want to directly address the idea that moving quickly means bad code. Heavy design process is also not the opposite of either speed or sloppy code. To go fast is to go well, and that means fast incremental design.&lt;/p></description></item><item><title>Aspect-Orientation Update for C# 9</title><link>https://spencerfarley.com/2021/01/22/aop-update/</link><pubDate>Fri, 22 Jan 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/01/22/aop-update/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/10/16/aop-and-decorator/" rel="noopener">previously wrote&lt;/a> on the difficulties of Aspect-Orientation in C#. The addition of Source Generators in C# 9 changes the possibilities considerably.&lt;/p></description></item><item><title>Result-type Update for C# 9</title><link>https://spencerfarley.com/2021/01/15/results-update/</link><pubDate>Fri, 15 Jan 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/01/15/results-update/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/10/30/result-types/" rel="noopener">previously wrote&lt;/a> on the difficulties of normalized result types in C#. Let me be clear, result types are still not great in C#, but C# 9 at least makes them practical.&lt;/p></description></item><item><title>Id Abstractions Update for C# 9</title><link>https://spencerfarley.com/2021/01/10/id-update/</link><pubDate>Sun, 10 Jan 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/01/10/id-update/</guid><description>&lt;p>I &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/11/07/id-abstraction/" rel="noopener">previously wrote&lt;/a> on the difficulties of abstracting ID types in C#. Good news, C# 9 record types greatly simplify this design decision.&lt;/p></description></item><item><title>Accessors: Services, Not Servants</title><link>https://spencerfarley.com/2021/01/01/accessors-services-not-servants/</link><pubDate>Fri, 01 Jan 2021 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2021/01/01/accessors-services-not-servants/</guid><description>&lt;p>I&amp;rsquo;ve been on a long journey of meshing IDesign with Clean Architecture. Managers, engines, and utilities fit nicely, but accessors seemed too substantial for an adapter and not independent enough for a true service. At last, I&amp;rsquo;ve realized the place of accessors by building off &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/12/25/incremental-accessors/" rel="noopener">their relationship to utilities&lt;/a>. Accessors are independent services, not servants to managers.&lt;/p></description></item><item><title>Incremental Accessors</title><link>https://spencerfarley.com/2020/12/25/incremental-accessors/</link><pubDate>Fri, 25 Dec 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/12/25/incremental-accessors/</guid><description>&lt;p>I&amp;rsquo;ve been on a long journey of meshing IDesign with Clean Architecture. Accessors have been a conceptual sticking point.&lt;/p></description></item><item><title>Ports and Adapters</title><link>https://spencerfarley.com/2020/12/19/ports-and-adapters/</link><pubDate>Sat, 19 Dec 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/12/19/ports-and-adapters/</guid><description>&lt;p>Understanding &lt;a class="link-markdown-demo-site" href="https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html" rel="noopener">Clean Architecture&lt;/a> has transformed my approach to architecture. Now I feel like my understanding has evolved one step further by understanding its parent pattern&amp;rsquo;s name, Ports and Adapters.&lt;/p></description></item><item><title>The Power of a Limited Toolset</title><link>https://spencerfarley.com/2020/12/13/power-of-limiting-solutions/</link><pubDate>Sun, 13 Dec 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/12/13/power-of-limiting-solutions/</guid><description>&lt;p>It&amp;rsquo;s easy to drown in the sea of frameworks and methodologies available to programmers. Numerous authors speak out about against the constant swarming between them. However, now I have a concrete expression for both why it hurts and why fewer solutions can be better.&lt;/p></description></item><item><title>Predictability and Correlated Type Systems</title><link>https://spencerfarley.com/2020/12/04/type-systems-and-predictability/</link><pubDate>Fri, 04 Dec 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/12/04/type-systems-and-predictability/</guid><description>&lt;p>I&amp;rsquo;ve recently been learning about type systems, and I realized that structural and dynamic typing often pair while nominal and static type system often pair. Why?&lt;/p></description></item><item><title>Schema and Selection</title><link>https://spencerfarley.com/2020/11/27/schema-and-selection/</link><pubDate>Fri, 27 Nov 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/11/27/schema-and-selection/</guid><description>&lt;!-- As programmers, we naturally see semantic equivalencies between our data types, but need different sets or representations for each scenario. --></description></item><item><title>Meta-Programming and Type Dynamics</title><link>https://spencerfarley.com/2020/11/20/meta-programming-and-dynamics/</link><pubDate>Fri, 20 Nov 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/11/20/meta-programming-and-dynamics/</guid><description>&lt;p>Dynamically typed systems effectively come with meta-programming capabilities for free, but are dynamic systems fundamentally better at meta-programming?&lt;/p></description></item><item><title>The Cycles of TDD Diagram</title><link>https://spencerfarley.com/2020/11/13/cycles-of-tdd/</link><pubDate>Fri, 13 Nov 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/11/13/cycles-of-tdd/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://blog.cleancoder.com/uncle-bob/2014/12/17/TheCyclesOfTDD.html" rel="noopener">The Cycles of TDD&lt;/a> by Robert Martin is the most wholistic explanation of TDD I&amp;rsquo;ve read. It helped me to put the pieces together and understand how TDD can drive a good design process from end-to-end. Here&amp;rsquo;s an attempt to visualize it.&lt;/p></description></item><item><title>Id Abstractions</title><link>https://spencerfarley.com/2020/11/07/id-abstraction/</link><pubDate>Sat, 07 Nov 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/11/07/id-abstraction/</guid><description>&lt;p>I once worked for a company that exposed all of their entities IDs as integers. It&amp;rsquo;s common practice, but it bit them hard when they needed to adopt an offline-then-merge strategy for client data. This required switching ids to Guids all over the code base and it was an arduous undertaking. I&amp;rsquo;ve been trying and failing to simply abstract ID types since.&lt;/p></description></item><item><title>Result Types</title><link>https://spencerfarley.com/2020/10/30/result-types/</link><pubDate>Fri, 30 Oct 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/10/30/result-types/</guid><description>&lt;p>I want to cleanly represent predictable failure states as part of my function contracts. This lets consumers know right away what scenarios they should expect without documentation or looking through code. F# encourages this pattern and normalizes it with the Result type. Representing the same idea in C#, however, is non-trivial.&lt;/p></description></item><item><title>Type Safety with Multiple Valid Input Types</title><link>https://spencerfarley.com/2020/10/22/multiple-input-types/</link><pubDate>Thu, 22 Oct 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/10/22/multiple-input-types/</guid><description>&lt;p>Sometimes a constructor or function can naturally accept multiple types. The classic solution to this is overloading. The problem is overloading can combinatorially expand for every multi-typed parameter.&lt;/p></description></item><item><title>Functional Composition, Decorator, and Aspect-Oriented Programming</title><link>https://spencerfarley.com/2020/10/16/aop-and-decorator/</link><pubDate>Fri, 16 Oct 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/10/16/aop-and-decorator/</guid><description>&lt;p>Aspect-Oriented programming has captivated my imagination for years. C#, however, does not support AOP. Even conceptually realizing benefits of the paradigm proved difficult. Then, I experienced functional composition.&lt;/p></description></item><item><title>Service-Orientation and Functional Programming</title><link>https://spencerfarley.com/2020/10/08/service-orientation/</link><pubDate>Thu, 08 Oct 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/10/08/service-orientation/</guid><description>&lt;p>Service-Oriented Programming is my primary programming paradigm. It divides the software into self-contained &amp;ldquo;services&amp;rdquo; or groups of functionality. Services also apply in functional programming, rather, service-like behavior is enforced all the way to the foundational functional concepts.&lt;/p></description></item><item><title>What's Your Duck?</title><link>https://spencerfarley.com/2020/10/02/whats-your-duck/</link><pubDate>Fri, 02 Oct 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/10/02/whats-your-duck/</guid><description>&lt;p>The Pragmatic Programmer tells the now legendary tale of talking with a rubber duck to overcome programming problems. This sounds a bit silly, but programming is a design activity all the way down to the source code implementations. Problems and possibilities often won&amp;rsquo;t reveal themselves until we try to communicate them. Every programmer needs a duck. So what is yours?&lt;/p></description></item><item><title>Language Limited Thought</title><link>https://spencerfarley.com/2020/09/24/language-and-design/</link><pubDate>Thu, 24 Sep 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/09/24/language-and-design/</guid><description>&lt;p>Language is strongly related to the kinds of thoughts we have. Language shapes to favor what it&amp;rsquo;s users most want to describe. This post introduces a series about how I internalized the value of different programming languages. Specifically, my transition to functional-style thinking. I&amp;rsquo;ll be diving into concrete design problems and how FP trivialized my long-standing struggle with them.&lt;/p></description></item><item><title>Clean Architecture+: Check-in and Benefits</title><link>https://spencerfarley.com/2020/09/17/solid-structure-checkin/</link><pubDate>Thu, 17 Sep 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/09/17/solid-structure-checkin/</guid><description>&lt;p>I posted about &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/06/15/splitting-architecture/" rel="noopener">Synthesizing Project Organization Methods&lt;/a> a few months ago. Well&amp;hellip; I&amp;rsquo;ve been busy putting it to practice in my own code, and the results have been been beyond my expectations!&lt;/p></description></item><item><title>Async Task Refactor Case Study</title><link>https://spencerfarley.com/2020/09/11/background-task-refactor/</link><pubDate>Fri, 11 Sep 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/09/11/background-task-refactor/</guid><description>&lt;p>I&amp;rsquo;ve been unhappy with the async/background work model in my system for a while. The async logic always seems excessively complex, either entangled with business logic or creating opaque coupling between flows. However, my recent &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/07/10/synthesizing-structure/" rel="noopener">breakthrough on code structure&lt;/a> suggested a clear path to adding background work in an aspect-oriented style. Let&amp;rsquo;s examine a refactor that helped me prove decorator-style async communication.&lt;/p></description></item><item><title>System Language</title><link>https://spencerfarley.com/2020/09/04/language-of-the-system/</link><pubDate>Fri, 04 Sep 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/09/04/language-of-the-system/</guid><description>&lt;p>&lt;a class="link-markdown-demo-site" href="https://www.youtube.com/watch?v=ROor6_NGIWU" rel="noopener">The Language of the System&lt;/a> by Rick Hickey is an illuminating talk about why systems differ from programs. It provides a clear framework for understanding and addressing the differences. I believe these same ideas underpin some of the recent movements in software design philosophy. Let&amp;rsquo;s explore.&lt;/p></description></item><item><title>Chat Library Case Study: Open-Closed Application</title><link>https://spencerfarley.com/2020/08/28/chat-library-design/</link><pubDate>Fri, 28 Aug 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/08/28/chat-library-design/</guid><description>&lt;p>This is a throw back to one of my earlier wrestlings with the Open-Closed principle and writing extensible frameworks. The goal is to shed some light on an important realization that let me to understanding the Open-Closed Principle.&lt;/p></description></item><item><title>Test Api In Practice</title><link>https://spencerfarley.com/2020/08/21/test-api-inpractice/</link><pubDate>Fri, 21 Aug 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/08/21/test-api-inpractice/</guid><description>&lt;p>A friend of mine, Paul Spoon, wrote a &lt;a class="link-markdown-demo-site" href="https://codewithspoon.com/2019/12/stop-corrupting-yourself-test-against-abstractions/" rel="noopener">delightful article&lt;/a> about using the Anti-Corruption Layer pattern as a tool for more stable tests. I tried the pattern with skepticism, and will now never go back.&lt;/p>
&lt;p>Let&amp;rsquo;s take a brief look at the pattern then dive into the benefits I&amp;rsquo;ve experienced.&lt;/p></description></item><item><title>Notification Refactor Case Study</title><link>https://spencerfarley.com/2020/08/14/notification-design/</link><pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/08/14/notification-design/</guid><description>&lt;p>A general design for integrating notifications (email, text, push, etc) has long eluded me. However, a recent refactor using the concepts of &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/07/10/synthesizing-structure/" rel="noopener">Synthesizing Project Organization Methods&lt;/a> has settled my search. Here I&amp;rsquo;ll explore my refactoring experience and why the conceptual shift is generically more stable.&lt;/p></description></item><item><title>Why Static Structs are Better Than Enums</title><link>https://spencerfarley.com/2020/08/07/structs-vs-enums/</link><pubDate>Fri, 07 Aug 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/08/07/structs-vs-enums/</guid><description>&lt;p>C# (and Java) offer a type call enum (aka enumeration). It represents a fixed list of possible values and is a powerful tool for communicating intentions through the type system. However, a recent legacy project forced me to face the shortcomings of enums and realize an even more powerful pattern, struct named constants.&lt;/p></description></item><item><title>Rediscovering Options - Design Matrix</title><link>https://spencerfarley.com/2020/07/31/configuration-design-matrix/</link><pubDate>Fri, 31 Jul 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/07/31/configuration-design-matrix/</guid><description>&lt;p>I got to thinking about the &lt;a class="link-markdown-demo-site" href="https://spencerfarley.com/2020/07/24/rediscovering-options/" rel="noopener">Rediscovering Options&lt;/a> post. The volatility analysis portion is an important artifact of my design process. The current version requires reading the whole list to comprehend the results. How could I make it better?&lt;/p></description></item><item><title>Rediscovering Options</title><link>https://spencerfarley.com/2020/07/24/rediscovering-options/</link><pubDate>Fri, 24 Jul 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/07/24/rediscovering-options/</guid><description>&lt;p>Configuration is a powerful tool and a dangerous temptation. My goal in this post is to walk through the ways I mishandled configuration, ended up rediscovering the Options configuration pattern, and finally dive into specific design scenarios to show why Options is the most stable solution.&lt;/p></description></item><item><title>Righting Software - Project Design Summary</title><link>https://spencerfarley.com/2020/07/16/idesign-project-summary/</link><pubDate>Thu, 16 Jul 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/07/16/idesign-project-summary/</guid><description>&lt;p>Part 2 of Righting software presents the most complete theory of project management I&amp;rsquo;ve seen: the &lt;a class="link-markdown-demo-site" href="https://en.wikipedia.org/wiki/Critical_path_method" rel="noopener">Critical Path Method&lt;/a>.&lt;/p></description></item><item><title>Synthesizing Project Organization Methods</title><link>https://spencerfarley.com/2020/07/10/synthesizing-structure/</link><pubDate>Fri, 10 Jul 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/07/10/synthesizing-structure/</guid><description>&lt;p>How to organize code into projects/packages can be a challenge. Here&amp;rsquo;s an interesting idea I thought of from synthesizing ideas from Robert Martin, Juval Lowy, Mark Seemann, and how many nuget packages are organized.&lt;/p></description></item><item><title>Righting Software Visual Summary</title><link>https://spencerfarley.com/2020/07/03/idesign-visual-summary/</link><pubDate>Fri, 03 Jul 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/07/03/idesign-visual-summary/</guid><description>&lt;p>Thus far this only includes the System Design portion of the book.&lt;/p></description></item><item><title>Splitting Architecture</title><link>https://spencerfarley.com/2020/06/15/splitting-architecture/</link><pubDate>Mon, 15 Jun 2020 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2020/06/15/splitting-architecture/</guid><description>&lt;p>I was &amp;ldquo;raised&amp;rdquo; on the iDesign school of architecture. To me architecture meant the high-level separation of concerns into clients, managers, engines, accessors, and resources.&lt;/p></description></item><item><title>Technical Collaboration</title><link>https://spencerfarley.com/2018/12/15/technical-collaboration/</link><pubDate>Sat, 15 Dec 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/12/15/technical-collaboration/</guid><description>&lt;blockquote>
&lt;p>“The need for reviewing was so obvious to the best programmer that they
rarely mentioned it in print, while the worst programmers believed they
were so good that their work did not need reviewing”
– Daniel Freedman and Gerald Weinberg&lt;/p>
&lt;/blockquote>
&lt;p>IBM found that every hour of code inspection saved 100 hours of related work (Code Complete, p.480). Pair programmers produce higher quality, more maintainable, code in only 15% more time than an individual (Pair Programming Benefits), and inspected systems require 1/10th the maintenance of non-inspected systems
(Code Complete, p. 485).&lt;/p></description></item><item><title>Spec Docs</title><link>https://spencerfarley.com/2018/12/08/spec-docs/</link><pubDate>Sat, 08 Dec 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/12/08/spec-docs/</guid><description>&lt;blockquote>
&lt;p>“Program specification is the process of taking a requirement and reducing
it down to the point where a programmer’s skill can take over. It is an act
of communication, explaining and clarifying the world in such a way as to
remove major ambiguities” –The Pragmatic Programmer&lt;/p>
&lt;/blockquote></description></item><item><title>Agile</title><link>https://spencerfarley.com/2018/12/02/agile/</link><pubDate>Sun, 02 Dec 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/12/02/agile/</guid><description>&lt;blockquote>
&lt;p>“Individuals and interactions over processes and tools&lt;br>
Working software over comprehensive documentation&lt;br>
Customer collaboration over contract negotiation&lt;br>
Responding to change over following a plan” – Agile manifesto&lt;/p>
&lt;/blockquote>
&lt;p>Agile (in its many flavors) is the de facto standard for work management in software. It identifies core priorities for software collaboration and outlines a flexible structure for managing requirements. This facilitates best practices and a shared methodology.&lt;/p></description></item><item><title>Requirements</title><link>https://spencerfarley.com/2018/11/25/requirements/</link><pubDate>Sun, 25 Nov 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/11/25/requirements/</guid><description>&lt;blockquote>
&lt;p>The most important single aspect of software development is to be clear
about what you are trying to build. - Bjarne Stroustrup (inventor of c++)&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>Plans are worthless, but planning is everything. - Dwight D. Eisenhower&lt;/p>
&lt;/blockquote></description></item><item><title>Iteration</title><link>https://spencerfarley.com/2018/11/15/iteration/</link><pubDate>Thu, 15 Nov 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/11/15/iteration/</guid><description>&lt;blockquote>
&lt;p>“&amp;hellip;the incompletenesses and inconsistencies of our ideas become clear only
during implementation.” – Fred Brooks (Mythical Man-Month)&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>“It is widely accepted that creative design is not a matter of first fixing
the problem and then searching for a satisfactory solution concept; instead
it seems more to be a matter of developing and refining together both the
formulation of the problem and ideas for its solution, with constant
iteration of analysis, synthesis, and evaluation process between the two
“spaces” – problem and solution.” - Nigel Cross and Kees Dorst&lt;/p>
&lt;/blockquote></description></item><item><title>Tools</title><link>https://spencerfarley.com/2018/11/06/tools/</link><pubDate>Tue, 06 Nov 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/11/06/tools/</guid><description>&lt;blockquote>
&lt;p>“Tools amplify your talent. The better your tools, and the better you know
how to use them, the more productive you can be.” – Andrew Hunt (The
Pragmatic Programmer)&lt;/p>
&lt;/blockquote></description></item><item><title>Test-Centered Development</title><link>https://spencerfarley.com/2018/10/29/test-centered-development/</link><pubDate>Mon, 29 Oct 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/10/29/test-centered-development/</guid><description>&lt;blockquote>
&lt;p>“Coding ain’t done ‘til the tests run” - The Pragmatic Programmer&lt;/p>
&lt;/blockquote>
&lt;blockquote>
&lt;p>“The act of writing a unit test closes a remarkable number of feedback
loops, the least of which is the one pertaining to verification of the
function” – Robert Martin&lt;/p>
&lt;/blockquote></description></item><item><title>Patterns</title><link>https://spencerfarley.com/2018/10/24/patterns/</link><pubDate>Wed, 24 Oct 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/10/24/patterns/</guid><description>&lt;blockquote>
&lt;p>“.. the high-level language embodies the constructs wanted in the abstract
program and avoids all the lower ones, it eliminates a whole level of
complexity that was never inherent in the program at all”
– Fred Brooks, No Silver Bullet&lt;/p>
&lt;/blockquote></description></item><item><title>Self-Documenting Code</title><link>https://spencerfarley.com/2018/10/16/self-documenting-code/</link><pubDate>Tue, 16 Oct 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/10/16/self-documenting-code/</guid><description>&lt;blockquote>
&lt;p>“There are two ways of constructing a software design: One way is to make it
so simple that there are obviously no deficiencies and the other way is to
make it so complicated that there are no obvious deficiencies.” – C.A.R. Hoare&lt;/p>
&lt;/blockquote></description></item><item><title>Semantic Naming</title><link>https://spencerfarley.com/2018/10/01/semantic-naming/</link><pubDate>Mon, 01 Oct 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/10/01/semantic-naming/</guid><description>&lt;p>&lt;em>There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors. - Phil Karlton&lt;/em>&lt;/p>
&lt;p>Who do we write code for? This question is not often not
considered, and so the answer is usually nobody. Thus, nobody is who understands the code.&lt;/p></description></item><item><title>Scientific Debugging</title><link>https://spencerfarley.com/2018/09/23/scientific-debugging/</link><pubDate>Sun, 23 Sep 2018 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/2018/09/23/scientific-debugging/</guid><description>&lt;p>&lt;em>“Finding the defect – and understanding it – is usually 90% of the work” - Steve McConnell&lt;/em>&lt;/p></description></item><item><title>Favorites</title><link>https://spencerfarley.com/favorite-posts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/favorite-posts/</guid><description>Ideas and Exploration Programming is Problem Modeling Stable, Incremental, Additive Better Interviews with Defect Detection Efficient Inter-Team Acceptance Tests Test Types and Life Cycle Phases TestApi In Practice Going Fast is Going Well Accessors: Services, Not Servants Righting Software - Project Design Summary Event Stores: An Advance in Data Safety Development Drivers Educational And Overview Posts What&amp;rsquo;s Your Duck (Series) Five Foundational Beliefs Open-Closed Principle By Example SWEBOK key Definitions Pull Request Checklist Test Case Selection Guide Development Cycles Checklist Sharp Dressed Code Going Fast is Going Well Educational techniques</description></item><item><title>Reading List</title><link>https://spencerfarley.com/reading-list/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://spencerfarley.com/reading-list/</guid><description>I love to read and explore new ideas, especially in software. Many software thought leaders share their thoughts in writting. There is a robust body of knowledge out there, but it can hard to get acquainted with. I owe most of my connection to great writings to other writings I&amp;rsquo;ve read. I thought I&amp;rsquo;d collect some of my favorite books into a list to get others started and short cut the laborious crawl between sources.</description></item></channel></rss>