<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tachyon</title>
    <description>The latest articles on DEV Community by Tachyon (@pyxm1618).</description>
    <link>https://dev.to/pyxm1618</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4099685%2Fd2607eb7-3c0b-4cee-bb7a-39e97832b323.jpg</url>
      <title>DEV Community: Tachyon</title>
      <link>https://dev.to/pyxm1618</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pyxm1618"/>
    <language>en</language>
    <item>
      <title>A4 Paper Broke My Responsive Layout — and Made the Product Better</title>
      <dc:creator>Tachyon</dc:creator>
      <pubDate>Mon, 09 Nov 2026 07:32:12 +0000</pubDate>
      <link>https://dev.to/pyxm1618/a4-paper-broke-my-responsive-layout-and-made-the-product-better-4n8a</link>
      <guid>https://dev.to/pyxm1618/a4-paper-broke-my-responsive-layout-and-made-the-product-better-4n8a</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgrtxz6tasskms6wdihv5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgrtxz6tasskms6wdihv5.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most frontend work trains us to think in flexible dimensions.&lt;/p&gt;

&lt;p&gt;The viewport changes. Components stretch. Text wraps. Images crop. If something gets a little taller, the rest of the page moves down.&lt;/p&gt;

&lt;p&gt;Then I tried to print four game cards on one sheet of A4 paper.&lt;/p&gt;

&lt;p&gt;Suddenly, none of that flexibility was helpful.&lt;/p&gt;

&lt;p&gt;I ran into this while working on &lt;a href="https://wyrplay.com/" rel="noopener noreferrer"&gt;WYRPlay&lt;/a&gt;, a Would You Rather game I’ve been building for families and kids.&lt;/p&gt;

&lt;p&gt;The web version was already responsive.&lt;/p&gt;

&lt;p&gt;I thought printing would mostly mean hiding the navigation, adding &lt;code&gt;@media print&lt;/code&gt;, and calling it done.&lt;/p&gt;

&lt;p&gt;It was not.&lt;/p&gt;

&lt;h2&gt;
  
  
  Paper has an API, and it is extremely strict
&lt;/h2&gt;

&lt;p&gt;My target sounded simple:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A4 landscape&lt;/li&gt;
&lt;li&gt;four cards&lt;/li&gt;
&lt;li&gt;two columns&lt;/li&gt;
&lt;li&gt;two rows&lt;/li&gt;
&lt;li&gt;consistent outer margins&lt;/li&gt;
&lt;li&gt;consistent gaps&lt;/li&gt;
&lt;li&gt;nothing spilling onto a second page&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On a screen, being off by a few pixels usually doesn't matter.&lt;/p&gt;

&lt;p&gt;On paper, a few millimeters can be the difference between four cards on one sheet and the fourth card appearing alone on page two.&lt;/p&gt;

&lt;p&gt;That changed the problem completely.&lt;/p&gt;

&lt;p&gt;I was no longer designing for:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;available width → responsive layout
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I was designing for:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;fixed page
- margins
- gaps
- card geometry
= exact usable area
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;There was nowhere for overflow to go.&lt;/p&gt;

&lt;h2&gt;
  
  
  My first instinct was to make a separate PDF system
&lt;/h2&gt;

&lt;p&gt;That would have been the obvious architecture.&lt;/p&gt;

&lt;p&gt;The web app renders one version.&lt;/p&gt;

&lt;p&gt;A PDF generator renders another.&lt;/p&gt;

&lt;p&gt;Something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Question data
   ├── Web UI
   └── PDF template
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It gives you a lot of control.&lt;/p&gt;

&lt;p&gt;It also gives you two presentation systems to maintain.&lt;/p&gt;

&lt;p&gt;That bothered me more than the print problem itself.&lt;/p&gt;

&lt;p&gt;If I changed a question layout, I would eventually need to remember the PDF version.&lt;/p&gt;

&lt;p&gt;If I fixed an illustration bug, there would be two rendering paths to check.&lt;/p&gt;

&lt;p&gt;And if the printable experience became more important later, I would effectively be maintaining a second product.&lt;/p&gt;

&lt;p&gt;So I tried a different approach.&lt;/p&gt;

&lt;h2&gt;
  
  
  Same content, different rendering rules
&lt;/h2&gt;

&lt;p&gt;The breakthrough was realizing that I didn't need the screen UI to become printable.&lt;/p&gt;

&lt;p&gt;I only needed the &lt;strong&gt;same content&lt;/strong&gt; to have a print presentation.&lt;/p&gt;

&lt;p&gt;That sounds like a small distinction, but it cleaned up the architecture.&lt;/p&gt;

&lt;p&gt;The model became:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Question
   ↓
Shared content
   ↓
Screen presentation
Print presentation
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The web version is free to be responsive.&lt;/p&gt;

&lt;p&gt;The print version is free to be rigid.&lt;/p&gt;

&lt;p&gt;Neither one has to pretend it lives in the other's environment.&lt;/p&gt;

&lt;p&gt;That meant I could use print-specific CSS for the physical geometry without creating a completely separate content pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  Responsive design became the wrong tool
&lt;/h2&gt;

&lt;p&gt;This was probably the strangest part.&lt;/p&gt;

&lt;p&gt;In normal frontend work, making something more responsive is usually an improvement.&lt;/p&gt;

&lt;p&gt;For the print layout, I wanted almost the opposite.&lt;/p&gt;

&lt;p&gt;I wanted predictable dimensions.&lt;/p&gt;

&lt;p&gt;Predictable gaps.&lt;/p&gt;

&lt;p&gt;Predictable image areas.&lt;/p&gt;

&lt;p&gt;Predictable text regions.&lt;/p&gt;

&lt;p&gt;Predictable page breaks.&lt;/p&gt;

&lt;p&gt;A printable card needs to know where its boundaries are.&lt;/p&gt;

&lt;p&gt;So instead of asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What should this component do at 768px?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;I was asking:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;How large can this card physically be after page margins and gaps are removed?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It felt closer to designing packaging than designing a website.&lt;/p&gt;

&lt;h2&gt;
  
  
  The hardest variable wasn't CSS
&lt;/h2&gt;

&lt;p&gt;It was the content.&lt;/p&gt;

&lt;p&gt;A rectangle has predictable dimensions.&lt;/p&gt;

&lt;p&gt;A sentence does not.&lt;/p&gt;

&lt;p&gt;One Would You Rather question might be:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Fly or breathe underwater?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Another can be several times longer.&lt;/p&gt;

&lt;p&gt;A responsive web card can simply grow.&lt;/p&gt;

&lt;p&gt;A physical card on a 2 × 2 A4 sheet cannot.&lt;/p&gt;

&lt;p&gt;That meant typography wasn't just decoration anymore. It became part of the layout constraint.&lt;/p&gt;

&lt;p&gt;Font size, line height, padding, illustration height, and maximum expected question length all affected each other.&lt;/p&gt;

&lt;p&gt;Eventually I realized I needed to think in terms of a &lt;strong&gt;content envelope&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The card wasn't designed for arbitrary text.&lt;/p&gt;

&lt;p&gt;It was designed for a known range of question lengths.&lt;/p&gt;

&lt;p&gt;That also changed how I wrote and reviewed the content itself.&lt;/p&gt;

&lt;p&gt;Sometimes the correct frontend fix was not another CSS rule.&lt;/p&gt;

&lt;p&gt;It was shortening the sentence.&lt;/p&gt;

&lt;h2&gt;
  
  
  Illustrations had the same problem
&lt;/h2&gt;

&lt;p&gt;WYRPlay uses illustrations for many of its questions.&lt;/p&gt;

&lt;p&gt;On a responsive screen, slightly different source compositions can still look acceptable.&lt;/p&gt;

&lt;p&gt;Printed next to each other, inconsistency becomes obvious.&lt;/p&gt;

&lt;p&gt;One subject is too close to the edge.&lt;/p&gt;

&lt;p&gt;Another image crops differently.&lt;/p&gt;

&lt;p&gt;Another has a focal point in the wrong place.&lt;/p&gt;

&lt;p&gt;Four cards on the same physical sheet expose those differences immediately.&lt;/p&gt;

&lt;p&gt;So the print feature ended up changing how I thought about image production too.&lt;/p&gt;

&lt;p&gt;The source illustrations needed more consistent composition before CSS ever touched them.&lt;/p&gt;

&lt;p&gt;That was unexpected.&lt;/p&gt;

&lt;p&gt;I thought I was implementing printing.&lt;/p&gt;

&lt;p&gt;I ended up changing the asset pipeline.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;code&gt;@media print&lt;/code&gt; is only the beginning
&lt;/h2&gt;

&lt;p&gt;The CSS itself wasn't especially exotic.&lt;/p&gt;

&lt;p&gt;The difficult part was deciding what the print environment actually required.&lt;/p&gt;

&lt;p&gt;Things that suddenly mattered included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;@page&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;physical units&lt;/li&gt;
&lt;li&gt;print margins&lt;/li&gt;
&lt;li&gt;page-break behavior&lt;/li&gt;
&lt;li&gt;whether backgrounds are printed&lt;/li&gt;
&lt;li&gt;image cropping&lt;/li&gt;
&lt;li&gt;browser scaling&lt;/li&gt;
&lt;li&gt;text overflow&lt;/li&gt;
&lt;li&gt;elements that should disappear entirely&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And then there is the print dialog.&lt;/p&gt;

&lt;p&gt;A layout can look perfect in the browser and still surprise you there.&lt;/p&gt;

&lt;p&gt;Margins get added.&lt;/p&gt;

&lt;p&gt;Background graphics disappear.&lt;/p&gt;

&lt;p&gt;Scaling changes.&lt;/p&gt;

&lt;p&gt;Text wraps differently.&lt;/p&gt;

&lt;p&gt;So Chrome's print preview became part of my development loop instead of something I checked at the end.&lt;/p&gt;

&lt;p&gt;That was another mindset change:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;print wasn't an export step anymore. It was a rendering target.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The final system is intentionally boring
&lt;/h2&gt;

&lt;p&gt;That's probably a good sign.&lt;/p&gt;

&lt;p&gt;There isn't a complicated PDF service.&lt;/p&gt;

&lt;p&gt;There isn't another database of printable questions.&lt;/p&gt;

&lt;p&gt;There isn't a manually designed file for every card.&lt;/p&gt;

&lt;p&gt;The same content feeds two layouts:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;                  Question data
                       │
              ┌────────┴────────┐
              │                 │
          Screen UI         Print UI
              │                 │
        responsive          fixed A4
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The screen experience optimizes for devices.&lt;/p&gt;

&lt;p&gt;The print experience optimizes for paper.&lt;/p&gt;

&lt;p&gt;They share the thing that should be shared — the content — and disagree about the thing that should be different — the layout.&lt;/p&gt;

&lt;h2&gt;
  
  
  The print button changed more than I expected
&lt;/h2&gt;

&lt;p&gt;I started with what sounded like a minor feature:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Let people print the cards.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;But forcing the product onto a fixed physical page exposed assumptions that the responsive version had been hiding.&lt;/p&gt;

&lt;p&gt;It made me define card geometry more carefully.&lt;/p&gt;

&lt;p&gt;It made me think about maximum content length.&lt;/p&gt;

&lt;p&gt;It made the illustration format more consistent.&lt;/p&gt;

&lt;p&gt;And it forced a much cleaner separation between content and presentation.&lt;/p&gt;

&lt;p&gt;In that sense, A4 paper broke my responsive layout.&lt;/p&gt;

&lt;p&gt;I'm glad it did.&lt;/p&gt;

&lt;p&gt;Sometimes a less flexible rendering environment is exactly what exposes the flexibility your architecture was relying on too much.&lt;/p&gt;

</description>
      <category>css</category>
      <category>webdev</category>
      <category>showdev</category>
      <category>frontend</category>
    </item>
    <item>
      <title>How I Built a Multi-Game Tier List Site Without Hardcoding Every Ranking</title>
      <dc:creator>Tachyon</dc:creator>
      <pubDate>Sun, 08 Nov 2026 08:55:49 +0000</pubDate>
      <link>https://dev.to/pyxm1618/how-i-built-a-multi-game-tier-list-site-without-hardcoding-every-ranking-51nl</link>
      <guid>https://dev.to/pyxm1618/how-i-built-a-multi-game-tier-list-site-without-hardcoding-every-ranking-51nl</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1yl7tgqbp6w5ey3iixiv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1yl7tgqbp6w5ey3iixiv.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;br&gt;
Tier lists looked deceptively simple when I started building &lt;a href="https://tierlistbase.com/" rel="noopener noreferrer"&gt;TierListBase&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Put a few characters, classes, or weapons into S, A, and B tiers, add some explanations, and ship the page.&lt;/p&gt;

&lt;p&gt;That works surprisingly well — until you add another game.&lt;/p&gt;

&lt;p&gt;I started with a ranking experience built around one game. Once I began expanding the site, some of the assumptions I had baked into the first implementation stopped making sense.&lt;/p&gt;

&lt;p&gt;The terminology was different.&lt;/p&gt;

&lt;p&gt;The things being ranked were different.&lt;/p&gt;

&lt;p&gt;The available evidence was different.&lt;/p&gt;

&lt;p&gt;Even the questions players cared about were different.&lt;/p&gt;

&lt;p&gt;At that point I realized I wasn't really building a tier board anymore.&lt;/p&gt;

&lt;p&gt;I was building a small publishing system for rankings.&lt;/p&gt;
&lt;h2&gt;
  
  
  Hardcoding works until it doesn't
&lt;/h2&gt;

&lt;p&gt;A very simple tier list can be represented like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Character A → S
Character B → A
Character C → B
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You can put that directly into a React component and be done with it.&lt;/p&gt;

&lt;p&gt;The problem starts when rankings change.&lt;/p&gt;

&lt;p&gt;Now you need to update the tier, the explanation, maybe the supporting data, and make sure everything still agrees.&lt;/p&gt;

&lt;p&gt;Do that for several games and the page components slowly become part content, part database, and part ranking logic.&lt;/p&gt;

&lt;p&gt;That was the direction I wanted to avoid.&lt;/p&gt;

&lt;p&gt;The first important change was separating the ranking data from the UI.&lt;/p&gt;

&lt;p&gt;Instead of asking a page component to know how a game works, the page receives a normalized representation of the result.&lt;/p&gt;

&lt;p&gt;Conceptually, something like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"entity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Example Character"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"tier"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"S"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"role"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"DPS"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"summary"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Strong overall performance"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"evidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The actual model is more detailed, but the important idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;the frontend shouldn't need to understand how the ranking was produced.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Different games should stay different
&lt;/h2&gt;

&lt;p&gt;One mistake I almost made was trying to create one universal ranking system for every game.&lt;/p&gt;

&lt;p&gt;That sounds elegant until you actually try it.&lt;/p&gt;

&lt;p&gt;A WoW-style ranking may depend heavily on roles, performance data, and specific content types.&lt;/p&gt;

&lt;p&gt;Another game may rank characters or weapons using completely different inputs.&lt;/p&gt;

&lt;p&gt;Trying to force both into the same ranking logic would make the shared system more complicated, not less.&lt;/p&gt;

&lt;p&gt;So I ended up separating the product into two layers.&lt;/p&gt;

&lt;p&gt;The shared layer handles things such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;navigation&lt;/li&gt;
&lt;li&gt;tier presentation&lt;/li&gt;
&lt;li&gt;filters&lt;/li&gt;
&lt;li&gt;entity cards&lt;/li&gt;
&lt;li&gt;methodology&lt;/li&gt;
&lt;li&gt;sources and evidence&lt;/li&gt;
&lt;li&gt;common page structure&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The game-specific layer handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what is being ranked&lt;/li&gt;
&lt;li&gt;roles and categories&lt;/li&gt;
&lt;li&gt;game terminology&lt;/li&gt;
&lt;li&gt;ranking inputs&lt;/li&gt;
&lt;li&gt;source logic&lt;/li&gt;
&lt;li&gt;game-specific interpretation&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That boundary turned out to matter much more than the tier board itself.&lt;/p&gt;

&lt;p&gt;The board is just presentation.&lt;/p&gt;

&lt;p&gt;The difficult part is deciding what should be shared and what should remain specific to each game.&lt;/p&gt;

&lt;h2&gt;
  
  
  I also wanted rankings to explain themselves
&lt;/h2&gt;

&lt;p&gt;Another thing that bothered me about many tier list sites is how often the ranking itself is the entire argument.&lt;/p&gt;

&lt;p&gt;Something is S Tier because the page says it is S Tier.&lt;/p&gt;

&lt;p&gt;That may be enough for someone who only wants a quick answer, but it becomes difficult to maintain once the ranking changes.&lt;/p&gt;

&lt;p&gt;I wanted the pages to be able to answer a few basic questions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why is this ranked here?&lt;/li&gt;
&lt;li&gt;What evidence was used?&lt;/li&gt;
&lt;li&gt;What changed?&lt;/li&gt;
&lt;li&gt;Is this based on data, editorial judgment, or both?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That doesn't make a tier list completely objective.&lt;/p&gt;

&lt;p&gt;I don't think that's realistic.&lt;/p&gt;

&lt;p&gt;But there is a meaningful difference between publishing an opinion and publishing an opinion with visible evidence and methodology behind it.&lt;/p&gt;

&lt;p&gt;It also makes updates easier.&lt;/p&gt;

&lt;p&gt;If a ranking changes, I can look at the reason for the old position instead of just replacing one letter with another.&lt;/p&gt;

&lt;h2&gt;
  
  
  Adding the second game was the real architecture test
&lt;/h2&gt;

&lt;p&gt;The first game didn't really prove the architecture.&lt;/p&gt;

&lt;p&gt;Almost any system can look well designed when it only has to support one use case.&lt;/p&gt;

&lt;p&gt;The useful test came when I started adding another game.&lt;/p&gt;

&lt;p&gt;That exposed assumptions that had accidentally become part of the shared product.&lt;/p&gt;

&lt;p&gt;Things I thought were generic were actually game-specific.&lt;/p&gt;

&lt;p&gt;Some filters didn't make sense anymore.&lt;/p&gt;

&lt;p&gt;Some terminology didn't travel well.&lt;/p&gt;

&lt;p&gt;Some ranking fields existed because the first game needed them, not because a tier list product needed them.&lt;/p&gt;

&lt;p&gt;That process forced me to simplify the shared layer.&lt;/p&gt;

&lt;p&gt;If a concept only existed because one game needed it, it usually belonged in that game's module.&lt;/p&gt;

&lt;p&gt;If multiple games needed the same behavior, then it had a better chance of belonging in the shared product.&lt;/p&gt;

&lt;p&gt;That sounds obvious in retrospect, but it was much easier to see after the second implementation existed.&lt;/p&gt;

&lt;h2&gt;
  
  
  The same separation helped with SEO
&lt;/h2&gt;

&lt;p&gt;There was an unexpected benefit to this structure.&lt;/p&gt;

&lt;p&gt;Tier list sites naturally end up with many search-driven pages.&lt;/p&gt;

&lt;p&gt;Games, characters, weapons, classes, builds, and other entities can all have different search intent.&lt;/p&gt;

&lt;p&gt;If every page is built independently, things like titles, headings, internal navigation, methodology sections, and page structure quickly drift apart.&lt;/p&gt;

&lt;p&gt;Having a shared page model made that easier to control.&lt;/p&gt;

&lt;p&gt;It doesn't mean generating thousands of near-identical pages.&lt;/p&gt;

&lt;p&gt;I'm actually trying to avoid that.&lt;/p&gt;

&lt;p&gt;It means that when I add a page, I don't also have to reinvent the site's information architecture.&lt;/p&gt;

&lt;p&gt;The game-specific content can change while the underlying product structure remains predictable.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I ended up building
&lt;/h2&gt;

&lt;p&gt;I originally thought I was building a tier board.&lt;/p&gt;

&lt;p&gt;What I actually ended up building was a small system for publishing and maintaining rankings across different games.&lt;/p&gt;

&lt;p&gt;The flow is now closer to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Game-specific evidence
        ↓
Game-specific ranking logic
        ↓
Normalized result
        ↓
Shared presentation
        ↓
Explanation and evidence
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The useful part of this architecture is not that every game becomes identical.&lt;/p&gt;

&lt;p&gt;It's that they don't have to.&lt;/p&gt;

&lt;p&gt;The differences stay where they belong, while the rest of the product can remain stable.&lt;/p&gt;

&lt;p&gt;I'm still refining that boundary as I add more games, but so far it has been much easier to work with than treating every tier list as a separate static page.&lt;/p&gt;

&lt;p&gt;For anyone building ranking, comparison, benchmark, or other data-heavy content sites, I'm curious where you draw the line between structured data and editorial judgment.&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>webdev</category>
      <category>nextjs</category>
    </item>
    <item>
      <title>How I Built an AI Interpretation Pipeline Without Letting the LLM Control the Rules</title>
      <dc:creator>Tachyon</dc:creator>
      <pubDate>Sat, 07 Nov 2026 09:15:31 +0000</pubDate>
      <link>https://dev.to/pyxm1618/how-i-built-an-ai-interpretation-pipeline-without-letting-the-llm-control-the-rules-33nj</link>
      <guid>https://dev.to/pyxm1618/how-i-built-an-ai-interpretation-pipeline-without-letting-the-llm-control-the-rules-33nj</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fow9p2z9ul50hzhazhikg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fow9p2z9ul50hzhazhikg.png" alt=" " width="800" height="336"&gt;&lt;/a&gt;&lt;br&gt;
When I started building an AI-powered I Ching application, one architectural question became important very quickly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What should the AI actually be allowed to decide?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;My answer was: much less than I originally thought.&lt;/p&gt;

&lt;p&gt;I’m building &lt;a href="https://quickiching.com/" rel="noopener noreferrer"&gt;Quick I Ching&lt;/a&gt;, an application that combines traditional I Ching casting methods with AI-generated interpretation.&lt;/p&gt;

&lt;p&gt;The interesting part was not simply connecting an LLM to a prompt.&lt;/p&gt;

&lt;p&gt;The real challenge was separating &lt;strong&gt;deterministic product rules&lt;/strong&gt; from &lt;strong&gt;probabilistic AI output&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;
  
  
  The basic architecture
&lt;/h2&gt;

&lt;p&gt;A simplified version of the flow looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;User question
      ↓
Safety / eligibility checks
      ↓
Deterministic casting
      ↓
Structured hexagram data
      ↓
AI interpretation
      ↓
Output validation
      ↓
Successful result
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The LLM is deliberately placed fairly late in the pipeline.&lt;/p&gt;

&lt;p&gt;It does not decide the underlying hexagram.&lt;/p&gt;

&lt;p&gt;It does not decide whether a generation should consume a paid credit.&lt;/p&gt;

&lt;p&gt;It does not decide whether certain high-risk questions should be processed.&lt;/p&gt;

&lt;p&gt;Those are application rules.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Keep deterministic rules outside the LLM
&lt;/h2&gt;

&lt;p&gt;An I Ching reading contains structured information:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the primary hexagram&lt;/li&gt;
&lt;li&gt;six lines&lt;/li&gt;
&lt;li&gt;moving lines&lt;/li&gt;
&lt;li&gt;the resulting hexagram when applicable&lt;/li&gt;
&lt;li&gt;the casting method&lt;/li&gt;
&lt;li&gt;contextual information supplied by the user&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That information should already be correct before it reaches the model.&lt;/p&gt;

&lt;p&gt;The AI receives a structured representation and is responsible for &lt;strong&gt;interpretation&lt;/strong&gt;, not for reconstructing the underlying state.&lt;/p&gt;

&lt;p&gt;This dramatically reduces an entire class of errors.&lt;/p&gt;

&lt;p&gt;Instead of asking the model:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Figure out the hexagram and explain it.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;the application can effectively tell it:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Here is the verified state. Interpret this state.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That distinction turned out to be one of the most important architectural decisions in the product.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Don't let AI control billing
&lt;/h2&gt;

&lt;p&gt;Another problem appears when AI generation costs money.&lt;/p&gt;

&lt;p&gt;A naive credit system looks like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Start request
→ deduct credit
→ call model
→ hope generation succeeds
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I didn't want that behavior.&lt;/p&gt;

&lt;p&gt;A generation can fail, time out, produce incomplete output, or fail validation. Charging the user simply because a request started would couple billing to infrastructure behavior rather than delivered value.&lt;/p&gt;

&lt;p&gt;So the flow is closer to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Reserve generation
→ generate
→ validate
→ success: consume credit
→ failure: release it
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The important state transition is &lt;strong&gt;successful delivery&lt;/strong&gt;, not “API request sent.”&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Validate the output after generation
&lt;/h2&gt;

&lt;p&gt;A successful HTTP response does not necessarily mean a successful AI result.&lt;/p&gt;

&lt;p&gt;The generated interpretation can still be unusable.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;required sections may be missing&lt;/li&gt;
&lt;li&gt;the response may be truncated&lt;/li&gt;
&lt;li&gt;structured facts may conflict with the verified casting result&lt;/li&gt;
&lt;li&gt;content may repeat unexpectedly&lt;/li&gt;
&lt;li&gt;the interpretation may contain internal inconsistencies&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So generation is followed by another application-controlled step:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LLM output
   ↓
Structural validation
   ↓
Consistency checks
   ↓
Accept / reject
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the result fails the required checks, it should not be treated the same as a valid completed reading.&lt;/p&gt;

&lt;p&gt;This also makes the credit system easier to reason about: &lt;strong&gt;quality failure is a failed job, not a successful purchase.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Put safety checks before expensive generation
&lt;/h2&gt;

&lt;p&gt;Some categories of questions should not simply be forwarded to a generative model.&lt;/p&gt;

&lt;p&gt;In this application, higher-risk topics such as medical, legal, or investment decisions are handled before the interpretation job begins.&lt;/p&gt;

&lt;p&gt;That means the system can stop the workflow without:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;generating an answer&lt;/li&gt;
&lt;li&gt;consuming a generation credit&lt;/li&gt;
&lt;li&gt;pretending that a disclaimer fixes the underlying product problem&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Again, this logic belongs to the application rather than the model.&lt;/p&gt;

&lt;h2&gt;
  
  
  The principle I ended up using
&lt;/h2&gt;

&lt;p&gt;The architecture can be summarized with one rule:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Use code to determine what is true in the product. Use the LLM to interpret what the product has already determined.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;That boundary has made the system easier to test, easier to reason about, and much less dependent on prompt behavior.&lt;/p&gt;

&lt;p&gt;It also changed how I think about building AI products generally.&lt;/p&gt;

&lt;p&gt;The LLM does not need to be the application.&lt;/p&gt;

&lt;p&gt;It can be one component inside a much more deterministic system.&lt;/p&gt;

&lt;p&gt;Quick I Ching is where I've been applying this architecture in production, and I'm continuing to refine the boundary between structured application logic and generative interpretation.&lt;/p&gt;

&lt;p&gt;I'd be interested to hear how other developers are drawing that boundary in production AI applications.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>showdev</category>
      <category>architecture</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What I Learned Building an Online I Ching Casting Tool</title>
      <dc:creator>Tachyon</dc:creator>
      <pubDate>Sat, 29 Aug 2026 08:19:50 +0000</pubDate>
      <link>https://dev.to/pyxm1618/what-i-learned-building-an-online-i-ching-casting-tool-48gp</link>
      <guid>https://dev.to/pyxm1618/what-i-learned-building-an-online-i-ching-casting-tool-48gp</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7e6uxx99zd6apt1wbd73.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7e6uxx99zd6apt1wbd73.png" alt=" " width="799" height="387"&gt;&lt;/a&gt;&lt;br&gt;
At first, building an online I Ching tool sounded like a fairly small web project.&lt;/p&gt;

&lt;p&gt;There are 64 hexagrams. A user performs a cast. The application identifies the result and displays an interpretation.&lt;/p&gt;

&lt;p&gt;But while building &lt;a href="https://www.quickiching.com/" rel="noopener noreferrer"&gt;Quick I Ching&lt;/a&gt;, I found that the difficult part was not displaying a hexagram.&lt;/p&gt;

&lt;p&gt;The difficult part was deciding which parts of a traditional casting process had to survive the move into software.&lt;/p&gt;

&lt;p&gt;That turned into a useful lesson in domain modeling, product design, and the risks of simplifying a system too aggressively.&lt;/p&gt;

&lt;h2&gt;
  
  
  The final hexagram is not enough
&lt;/h2&gt;

&lt;p&gt;One of the first architectural decisions was to avoid treating a reading as nothing more than a number between 1 and 64.&lt;/p&gt;

&lt;p&gt;A cast contains more information than that.&lt;/p&gt;

&lt;p&gt;For the traditional line-based methods, six lines are generated. Those lines determine the primary hexagram, but they can also contain changing lines.&lt;/p&gt;

&lt;p&gt;If changing lines are present, they transform and produce a relating hexagram.&lt;/p&gt;

&lt;p&gt;So the useful state of a reading includes more than:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;“Hexagram 24”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It also needs to preserve things such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the six original line values&lt;/li&gt;
&lt;li&gt;the primary hexagram&lt;/li&gt;
&lt;li&gt;which lines are changing&lt;/li&gt;
&lt;li&gt;the relating hexagram&lt;/li&gt;
&lt;li&gt;the casting method used&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That distinction became important very quickly.&lt;/p&gt;

&lt;p&gt;If I stored only the final hexagram number, I would have thrown away information that the interface later needed in order to explain the reading properly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Line order is a domain rule, not a UI detail
&lt;/h2&gt;

&lt;p&gt;An I Ching hexagram is built from the bottom upward.&lt;/p&gt;

&lt;p&gt;The first line cast is line 1 at the bottom. The sixth line is at the top.&lt;/p&gt;

&lt;p&gt;That sounds like a small implementation detail, but it is actually a domain rule.&lt;/p&gt;

&lt;p&gt;The application therefore keeps the six lines in bottom-up order rather than allowing the rendering layer to decide what the order “probably” means.&lt;/p&gt;

&lt;p&gt;This was a useful reminder that domain-specific software often breaks in very ordinary places.&lt;/p&gt;

&lt;p&gt;A developer can build something that looks visually correct while quietly reversing the meaning of the underlying data.&lt;/p&gt;

&lt;p&gt;When the domain has established rules, those rules should be represented explicitly rather than reconstructed later from UI assumptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Changing lines need to remain first-class data
&lt;/h2&gt;

&lt;p&gt;Changing lines are another place where an implementation can become too lossy.&lt;/p&gt;

&lt;p&gt;A changing yin line becomes yang.&lt;/p&gt;

&lt;p&gt;A changing yang line becomes yin.&lt;/p&gt;

&lt;p&gt;The transformed lines create the relating hexagram.&lt;/p&gt;

&lt;p&gt;For the software, that means the important sequence is not simply:&lt;/p&gt;

&lt;p&gt;cast → hexagram&lt;/p&gt;

&lt;p&gt;It is closer to:&lt;/p&gt;

&lt;p&gt;cast → primary hexagram → identify changing lines → transform them → relating hexagram&lt;/p&gt;

&lt;p&gt;The application needs to preserve that relationship all the way through to the result page.&lt;/p&gt;

&lt;p&gt;This is why I did not want changing lines to become a small decorative annotation added after the hexagram had already been calculated.&lt;/p&gt;

&lt;p&gt;They are part of the result itself.&lt;/p&gt;

&lt;p&gt;For users who want the non-technical explanation, I also documented the concept separately in the guide to &lt;a href="https://www.quickiching.com/guides/changing-lines" rel="noopener noreferrer"&gt;changing lines&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Different casting methods should remain different
&lt;/h2&gt;

&lt;p&gt;Another design problem appeared when supporting more than one way to cast.&lt;/p&gt;

&lt;p&gt;Quick I Ching currently supports traditional methods including the Three-Coin Method, Yarrow Stalk Method, and Mei Hua Yi Shu, alongside a Manual Cast option in the product.&lt;/p&gt;

&lt;p&gt;From a UI perspective, it would be tempting to make them all variations of one generic “random hexagram” function.&lt;/p&gt;

&lt;p&gt;That would certainly make the application simpler.&lt;/p&gt;

&lt;p&gt;It would also be misleading.&lt;/p&gt;

&lt;p&gt;The methods do not represent the same process with different labels.&lt;/p&gt;

&lt;p&gt;So in the codebase, the casting domain separates the method-specific logic instead of pretending that every method is interchangeable.&lt;/p&gt;

&lt;p&gt;There are distinct areas for Three-Coin casting, Yarrow Stalk casting, and Mei Hua Yi Shu, while shared hexagram logic sits separately.&lt;/p&gt;

&lt;p&gt;That boundary matters because the application can change or test one casting method without redefining what a hexagram result means everywhere else.&lt;/p&gt;

&lt;p&gt;The user-facing explanation of one of these methods is available in the &lt;a href="https://www.quickiching.com/methods/three-coin" rel="noopener noreferrer"&gt;Three-Coin I Ching Method&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Normalize the result, not the tradition
&lt;/h2&gt;

&lt;p&gt;The useful architectural pattern turned out to be:&lt;/p&gt;

&lt;p&gt;different inputs → method-specific logic → common result model&lt;/p&gt;

&lt;p&gt;The methods can differ, while the rest of the application can still work with a stable representation of a completed cast.&lt;/p&gt;

&lt;p&gt;That shared result can describe:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;six lines in their correct order&lt;/li&gt;
&lt;li&gt;the primary hexagram&lt;/li&gt;
&lt;li&gt;moving-line positions&lt;/li&gt;
&lt;li&gt;the relating hexagram when one exists&lt;/li&gt;
&lt;li&gt;which casting method produced the result&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This creates a clean boundary between “how the cast is produced” and “what the rest of the application needs to know about the cast.”&lt;/p&gt;

&lt;p&gt;I think this is a useful pattern for many domain-heavy products.&lt;/p&gt;

&lt;p&gt;Normalization should happen after the important domain-specific behavior, not by erasing those differences at the beginning.&lt;/p&gt;

&lt;h2&gt;
  
  
  Versioning the algorithm was worth doing
&lt;/h2&gt;

&lt;p&gt;One detail I initially could have treated as unnecessary was algorithm versioning.&lt;/p&gt;

&lt;p&gt;The casting result does not only record which method produced it. The domain model also has room for the algorithm version and the classic hexagram mapping version.&lt;/p&gt;

&lt;p&gt;That may look excessive for a small tool, but there is a practical reason for it.&lt;/p&gt;

&lt;p&gt;If an implementation changes later, a historical result should not become impossible to explain.&lt;/p&gt;

&lt;p&gt;Being able to say “this result was produced by this method using this version of the algorithm” makes debugging and future migrations much safer.&lt;/p&gt;

&lt;p&gt;It also prevents a subtle class of bugs where the software changes but old saved results silently acquire new meaning.&lt;/p&gt;

&lt;p&gt;The lesson here was not “version everything.”&lt;/p&gt;

&lt;p&gt;It was:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;If an algorithm creates meaningful persisted output, knowing which algorithm created that output can be part of the data.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The interface should simplify work, not erase structure
&lt;/h2&gt;

&lt;p&gt;There is always pressure to make a web tool feel effortless.&lt;/p&gt;

&lt;p&gt;For an I Ching product, the most aggressive version of that idea would be:&lt;/p&gt;

&lt;p&gt;click once → receive an answer&lt;/p&gt;

&lt;p&gt;But that removes almost everything that distinguishes an actual cast from a generic random result.&lt;/p&gt;

&lt;p&gt;I wanted the interface to reduce mechanical work while still making the important structure visible.&lt;/p&gt;

&lt;p&gt;A user should still be able to understand:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;how the cast was produced&lt;/li&gt;
&lt;li&gt;what the six lines are&lt;/li&gt;
&lt;li&gt;which lines are changing&lt;/li&gt;
&lt;li&gt;which hexagram is primary&lt;/li&gt;
&lt;li&gt;whether a relating hexagram exists&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The computer can do the bookkeeping.&lt;/p&gt;

&lt;p&gt;It does not need to hide the system.&lt;/p&gt;

&lt;p&gt;That became one of the main product principles behind Quick I Ching:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Simplify the work, not the underlying model.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Domain modeling matters even in a small product
&lt;/h2&gt;

&lt;p&gt;Quick I Ching is not an enterprise-scale system.&lt;/p&gt;

&lt;p&gt;But building it reinforced something I usually associate with much larger software projects:&lt;/p&gt;

&lt;p&gt;good domain boundaries matter even when the product is small.&lt;/p&gt;

&lt;p&gt;If I had modeled a reading as only a hexagram number, almost every later feature involving changing lines, relating hexagrams, different methods, or reproducibility would have required reconstructing information that had already been discarded.&lt;/p&gt;

&lt;p&gt;Preserving the meaningful state made the rest of the product easier to reason about.&lt;/p&gt;

&lt;p&gt;It also made the implementation closer to the thing it was trying to represent.&lt;/p&gt;

&lt;p&gt;That is probably the main engineering lesson I took from building &lt;a href="https://www.quickiching.com/" rel="noopener noreferrer"&gt;Quick I Ching&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When digitizing a traditional system, simplify the interaction — not the rules that give the system its meaning.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>nextjs</category>
      <category>typescript</category>
      <category>product</category>
    </item>
  </channel>
</rss>
