<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xsl" href="rss.xsl"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>HyoYoonNam Blog Blog</title>
        <link>https://hyoyoonnam.github.io/en</link>
        <description>HyoYoonNam Blog Blog</description>
        <lastBuildDate>Fri, 06 Nov 2026 07:05:22 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <item>
            <title><![CDATA[The Day Kakao Gave Me a Beating]]></title>
            <link>https://hyoyoonnam.github.io/en/a-day-of-kakao-problems</link>
            <guid>https://hyoyoonnam.github.io/en/a-day-of-kakao-problems</guid>
            <pubDate>Fri, 06 Nov 2026 07:05:22 GMT</pubDate>
            <description><![CDATA[Getting stuck counts as growth, right?]]></description>
            <content:encoded><![CDATA[<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="getting-stuck-counts-as-growth-right">Getting stuck counts as growth, right?<a href="https://hyoyoonnam.github.io/en/a-day-of-kakao-problems#getting-stuck-counts-as-growth-right" class="hash-link" aria-label="Direct link to Getting stuck counts as growth, right?" title="Direct link to Getting stuck counts as growth, right?" translate="no">​</a></h2>
<p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/hide-the-cactus-85c90df15c3db2626af3f241f38bc113.png" width="1458" height="896" class="img_ev3q"></p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-source-of-my-heartburn">The source of my heartburn<a href="https://hyoyoonnam.github.io/en/a-day-of-kakao-problems#the-source-of-my-heartburn" class="hash-link" aria-label="Direct link to The source of my heartburn" title="Direct link to The source of my heartburn" translate="no">​</a></h2>
<p><img decoding="async" loading="lazy" alt="17bcf00719bce84c1058d82030c7fe08307e20d2.heic" src="https://hyoyoonnam.github.io/en/assets/images/photo-1-68f9dacbae50a95ab3e523da7b66cb75.jpg" width="1170" height="1048" class="img_ev3q"></p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="please-dont-cross-that-river">Please don’t cross that river<a href="https://hyoyoonnam.github.io/en/a-day-of-kakao-problems#please-dont-cross-that-river" class="hash-link" aria-label="Direct link to Please don’t cross that river" title="Direct link to Please don’t cross that river" translate="no">​</a></h2>
<p>I looked up some Level 1 problems I’d solved more than a year ago. Back then their solve rates had been low. They’d gone up quite a bit since.</p>
<p><img decoding="async" loading="lazy" alt="9f16ab6e49b557894e94c39a26da45c22d0aff1e.heic" src="https://hyoyoonnam.github.io/en/assets/images/photo-2-a6e619edf2b0bba5bf59e58fc7f942d9.jpg" width="2532" height="438" class="img_ev3q"></p>
<p>I figured the same thing had happened with Hide the Cactus.<br>
<!-- -->I really should’ve left that one alone…</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="time-complexity">Time complexity<a href="https://hyoyoonnam.github.io/en/a-day-of-kakao-problems#time-complexity" class="hash-link" aria-label="Direct link to Time complexity" title="Direct link to Time complexity" translate="no">​</a></h2>
<p>I’ll reconstruct the problem roughly from memory. Absolutely nothing to do with being afraid to look at it again.</p>
<ul>
<li class="">1 &lt;= m, n &lt;= 500_000</li>
<li class="">1 &lt;= m x n &lt;= 500_000</li>
</ul>
<p>Given those constraints, even a loop over m with a loop over n inside it would stay within a reasonable bound. “Well, I can just brute-force this,” I thought.</p>
<p>Then my very humble solution (does it count as a solution if I never solved it?) grew to four nested loops, and suddenly I was looking at <code>250_000_000_000</code>.</p>
<p>“I’ll come up with something so ingenious even Ludens will fall over backwards.” I turned it over every which way. What actually fell into a ditch was two hours of my time.</p>
<p><img decoding="async" loading="lazy" alt="2fd49a82ca3d4bc0b6da2b998aeaa165ed8b23e2.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/reaction-6bc5aadc7dab7c8662fe33cd21a358b6.jpg" width="250" height="250" class="img_ev3q"></p>
<p>I tried an easier Kakao problem after that. I don’t know. The problem itself seemed fine. My head and whatever was going on inside it were another story.<br>
<!-- -->One more failed attempt, and then the eleven o’clock ride home from campus.</p>
<p>Where did my time go?</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="next-time-cactus">Next time, cactus<a href="https://hyoyoonnam.github.io/en/a-day-of-kakao-problems#next-time-cactus" class="hash-link" aria-label="Direct link to Next time, cactus" title="Direct link to Next time, cactus" translate="no">​</a></h2>
<p>Ludens looked through a few blogs and told me this one called for a monotonic queue. I’ve done a few monotonic stack problems before. I wonder how much carries over? A few more stack problems, and next week I’ll come back and give that cactus what for.</p>
<p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/next-problem-abcf4e6bdbefbf65a80bc1b17ade1c57.png" width="1430" height="212" class="img_ev3q"></p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/512" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Technology</category>
        </item>
        <item>
            <title><![CDATA[Hiding Debug Output When You Submit a Solution]]></title>
            <link>https://hyoyoonnam.github.io/en/hide-debug-output-on-submission</link>
            <guid>https://hyoyoonnam.github.io/en/hide-debug-output-on-submission</guid>
            <pubDate>Thu, 29 Oct 2026 23:56:14 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-c184ff4a0748ca0caf8fdcd6ea5fdca2.png" width="1198" height="590" class="img_ev3q"></p>
<p>The examples are in <strong>Java</strong>, taken from my solution to <a href="https://school.programmers.co.kr/learn/courses/30/lessons/172928" target="_blank" rel="noopener noreferrer" class="">Park Walk on Programmers</a>.</p>
<p><strong>What you’ll take away</strong></p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">When a problem gets confusing, you can print as much intermediate state as you need</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">and still keep those lines out of the output the judge sees.</span><br></span></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-short-version">The short version<a href="https://hyoyoonnam.github.io/en/hide-debug-output-on-submission#the-short-version" class="hash-link" aria-label="Direct link to The short version" title="Direct link to The short version" translate="no">​</a></h2>
<p>Define the <code>print(String format, Object... args)</code> helper below and use it wherever you want to inspect a value.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic">// Example 1</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"Can move? now=%s(%d, %d)%n"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> mat</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">x</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">tempY</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> x</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> tempY</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"Move allowed! now=%s(%d, %d)%n"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> mat</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">x</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">tempY</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> x</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> tempY</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"Move (Y): %d -&gt; %d%n"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> y</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> tempY</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic">// Example 2</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"=== step %d (start_%s) | oper_%s ===%n"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> count</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> start</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> oper</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">final</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">boolean</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">DEBUG_MODE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token boolean" style="color:#36acaa">false</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">private</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">void</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">String</span><span class="token plain"> format</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token class-name">Object</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"> args</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">if</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token constant" style="color:#36acaa">DEBUG_MODE</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token class-name">System</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">out</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">printf</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">format</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> args</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-i-was-struggling-with">What I was struggling with<a href="https://hyoyoonnam.github.io/en/hide-debug-output-on-submission#what-i-was-struggling-with" class="hash-link" aria-label="Direct link to What I was struggling with" title="Direct link to What I was struggling with" translate="no">​</a></h2>
<p>I kept getting my bearings wrong at first: how far did I need to search, and from which starting point? I wanted to see the intermediate results, so I started with plain <code>System.out.println()</code> calls.</p>
<p>I soon got tired of <u>typing the same output method over and over</u> and <u>joining strings with</u> <code>+</code> <u>just to inspect a value</u>. I wrote <code>print()</code> to take care of both.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">private</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">void</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">String</span><span class="token plain"> format</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token class-name">Object</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"> args</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token class-name">System</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">out</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">printf</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">format</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> args</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<ul>
<li class="">A short helper takes care of <u>typing the same method repeatedly</u>.</li>
<li class=""><code>printf()</code> and the varargs parameter <code>Object... args</code> take care of <u>assembling debug messages with string concatenation</u>.</li>
</ul>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="an-excerpt-from-my-solution">An excerpt from my solution<a href="https://hyoyoonnam.github.io/en/hide-debug-output-on-submission#an-excerpt-from-my-solution" class="hash-link" aria-label="Direct link to An excerpt from my solution" title="Direct link to An excerpt from my solution" translate="no">​</a></h2>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">char</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> mat </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">new</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">char</span><span class="token punctuation" style="color:#393A34">[</span><span class="token number" style="color:#36acaa">55</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">[</span><span class="token number" style="color:#36acaa">55</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">ROW_SIZE</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">COL_SIZE</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">int</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">solution</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">String</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> park</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Each cell contains S, O, or X.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">String</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> routes </span><span class="token comment" style="color:#999988;font-style:italic">// Commands for the dog, in the form "op n": direction and number of squares</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token constant" style="color:#36acaa">ROW_SIZE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> park</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">length </span><span class="token operator" style="color:#393A34">-</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token constant" style="color:#36acaa">COL_SIZE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> park</span><span class="token punctuation" style="color:#393A34">[</span><span class="token number" style="color:#36acaa">0</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">length</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">-</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">Pos</span><span class="token plain"> start </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">new</span><span class="token plain"> </span><span class="token class-name">Pos</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"&lt;ROW_SIZE=%d, COL_SIZE=%d&gt;%n"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">ROW_SIZE</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">COL_SIZE</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> row </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">0</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> row </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">ROW_SIZE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> row</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> col </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">0</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> col </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">COL_SIZE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> col</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">                </span><span class="token keyword" style="color:#00009f">char</span><span class="token plain"> target </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> park</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">row</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">charAt</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">col</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">                mat</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">row</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">col</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> target</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">                </span><span class="token keyword" style="color:#00009f">if</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">target </span><span class="token operator" style="color:#393A34">==</span><span class="token plain"> </span><span class="token char">'S'</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> start </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">new</span><span class="token plain"> </span><span class="token class-name">Pos</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">row</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> col</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> row </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">0</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> row </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">ROW_SIZE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> row</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> col </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">0</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> col </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain"> </span><span class="token constant" style="color:#36acaa">COL_SIZE</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> col</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">                </span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"%s "</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> mat</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">row</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">col</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"%n"</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> count </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">String</span><span class="token plain"> oper </span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> routes</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token function" style="color:#d73a49">print</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"=== step %d (start_%s) | oper_%s ===%n"</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> count</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> start</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> oper</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token keyword" style="color:#00009f">if</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">start</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">canMoveTo</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">oper</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">                start</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">move</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">oper</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">int</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> answer </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain">start</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">x</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> start</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">y</span><span class="token punctuation" style="color:#393A34">}</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Dog’s final position after all commands: [row, column]</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> answer</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/328" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Technology</category>
        </item>
        <item>
            <title><![CDATA[I Solved a Programmers Problem. It’s Been a Year and a Half.]]></title>
            <link>https://hyoyoonnam.github.io/en/back-to-programmers</link>
            <guid>https://hyoyoonnam.github.io/en/back-to-programmers</guid>
            <pubDate>Tue, 27 Oct 2026 15:32:08 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-16d9b4f767f90b36712a7cfbfacd0f1b.jpg" width="600" height="400" class="img_ev3q"></p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-little-digression">A little digression<a href="https://hyoyoonnam.github.io/en/back-to-programmers#a-little-digression" class="hash-link" aria-label="Direct link to A little digression" title="Direct link to A little digression" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="consistency-is-a-weapon">Consistency is a weapon<a href="https://hyoyoonnam.github.io/en/back-to-programmers#consistency-is-a-weapon" class="hash-link" aria-label="Direct link to Consistency is a weapon" title="Direct link to Consistency is a weapon" translate="no">​</a></h3>
<figure><p><img decoding="async" loading="lazy" alt="ordinary twig" src="https://hyoyoonnam.github.io/en/assets/images/ordinary-twig-ed4892b77a8cbea474a4176b07855f85.png" width="471" height="204" class="img_ev3q"></p><figcaption>Ordinary Twig. A perfectly ordinary-looking twig made through alchemy. It doesn’t seem to have any special powers. (<a href="https://zyquest.tistory.com/270">Image source</a>)</figcaption></figure>
<p>↳ And there’s my weapon.</p>
<p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/solving-history-dc4ac2412b52b4f113f8d4b411316634.png" width="768" height="1110" class="img_ev3q"></p>
<p>My history shows I was solving problems until about the <em>summer of 2025</em>. After that, nothing. Back to square zero, then?</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="could-rudevico-have-been-a-frontend-developer">Could Rudevico have been a frontend developer?<a href="https://hyoyoonnam.github.io/en/back-to-programmers#could-rudevico-have-been-a-frontend-developer" class="hash-link" aria-label="Direct link to Could Rudevico have been a frontend developer?" title="Direct link to Could Rudevico have been a frontend developer?" translate="no">​</a></h3>
<p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/javascript-history-850a67391bcb1617a379ea6bd4893da1.png" width="1986" height="956" class="img_ev3q"></p>
<p>Apparently I solved some in JS, too. Was that when I was preparing for Naver Boostcamp? I remember how exciting it felt just to be using a new language. At the time, the missions that landed every day were so… incredibly… hard. I was forever staying up all night and crashing at four in the afternoon. I was a wreck. Funny how many good memories I have of it now.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-first-problem-on-my-return">The first problem on my return<a href="https://hyoyoonnam.github.io/en/back-to-programmers#the-first-problem-on-my-return" class="hash-link" aria-label="Direct link to The first problem on my return" title="Direct link to The first problem on my return" translate="no">​</a></h2>
<p>I went with <code>Running Race | Practice | Level 1</code>.</p>
<p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/running-race-3feae89dafc8d0ab5f2b7441cc87cd4f.png" width="1602" height="126" class="img_ev3q"></p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="my-solution">My solution<a href="https://hyoyoonnam.github.io/en/back-to-programmers#my-solution" class="hash-link" aria-label="Direct link to My solution" title="Direct link to My solution" translate="no">​</a></h3>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">import</span><span class="token plain"> </span><span class="token import namespace" style="opacity:0.7">java</span><span class="token import namespace punctuation" style="opacity:0.7;color:#393A34">.</span><span class="token import namespace" style="opacity:0.7">util</span><span class="token import namespace punctuation" style="opacity:0.7;color:#393A34">.</span><span class="token import operator" style="color:#393A34">*</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">class</span><span class="token plain"> </span><span class="token class-name">Solution</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token comment" style="color:#999988;font-style:italic">// A runner’s name is called when they overtake someone.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token class-name">String</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">solution</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">String</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> players</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Runners in their current order, starting with first place</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">String</span><span class="token punctuation" style="color:#393A34">[</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> callings </span><span class="token comment" style="color:#999988;font-style:italic">// Names in the order they are called</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">Map</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">String</span><span class="token generics punctuation" style="color:#393A34">,</span><span class="token generics"> </span><span class="token generics class-name">Integer</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> playerOrderMap </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">new</span><span class="token plain"> </span><span class="token class-name">HashMap</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> i </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">0</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> i </span><span class="token operator" style="color:#393A34">&lt;</span><span class="token plain"> players</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">length</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> i</span><span class="token operator" style="color:#393A34">++</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            playerOrderMap</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">put</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">players</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">i</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> i</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token comment" style="color:#999988;font-style:italic">// 1. Call a name.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">for</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">String</span><span class="token plain"> calling </span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> callings</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> order </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> playerOrderMap</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">get</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">calling</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Runner in second, for example</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            </span><span class="token class-name">String</span><span class="token plain"> temp </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> players</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">order</span><span class="token operator" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Runner in first</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            players</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">order</span><span class="token operator" style="color:#393A34">-</span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> players</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">order</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Move the second runner into first.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            players</span><span class="token punctuation" style="color:#393A34">[</span><span class="token plain">order</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> temp</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Move the former leader into second.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            playerOrderMap</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">put</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">calling</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> order </span><span class="token operator" style="color:#393A34">-</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Overtook</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">            playerOrderMap</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">put</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">temp</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> order</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Was overtaken</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token comment" style="color:#999988;font-style:italic">// Names in finishing order, from first through nth</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> players</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="looking-back">Looking back<a href="https://hyoyoonnam.github.io/en/back-to-programmers#looking-back" class="hash-link" aria-label="Direct link to Looking back" title="Direct link to Looking back" translate="no">​</a></h3>
<p>At first I skipped the <code>Map</code> and tried <code>for (String calling : callings) { brute-force : players }</code>. It timed out. So far, fine. I suspected I’d need a map anyway. A quick solution I expected to fail would tell me whether I was approaching the problem the right way.</p>
<h4 class="anchor anchorTargetStickyNavbar_Vzrq" id="where-i-went-wrong">Where I went wrong<a href="https://hyoyoonnam.github.io/en/back-to-programmers#where-i-went-wrong" class="hash-link" aria-label="Direct link to Where I went wrong" title="Direct link to Where I went wrong" translate="no">​</a></h4>
<p>Then I kept getting the swap wrong. All I wanted to do was use <code>temp</code> to exchange the runners in positions n and n−1.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">playerOrderMap</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">put</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">calling</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> order </span><span class="token operator" style="color:#393A34">-</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Overtook</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic">// Fix: temp still holds the runner who occupied [order-1].</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">playerOrderMap</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">put</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">temp</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> order</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"> </span><span class="token comment" style="color:#999988;font-style:italic">// Was overtaken</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic">// Bug: [order-1] has already changed, but I treated it as if it still held the previous runner.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token comment" style="color:#999988;font-style:italic">// playerOrderMap.put(players[order-1], order);</span><br></span></code></pre></div></div>
<ul>
<li class="">I’d written <code>playerOrderMap.put(players[order-1], order)</code> where I needed <code>playerOrderMap.put(temp, order)</code>. The original runner in position n−1 dropped out of the ordering, and the runner from position n appeared twice.</li>
</ul>
<p>Maybe I was rusty. I had to print the whole thing out before I could see it.</p>
<div class="language-shellscript codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-shellscript codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">kai overtakes poe</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"># bug: poe disappears and kai appears twice</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Current order: mumu,soe,kai,kai,mine,</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">kai overtakes kai</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"># bug: kai disappears and mine appears twice</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Current order: mumu,soe,kai,kai,mine,</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">mine overtakes kai</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Current order: mumu,soe,kai,mine,mine,</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">mine overtakes mine</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Current order: mumu,soe,kai,mine,mine,</span><br></span></code></pre></div></div>
<h4 class="anchor anchorTargetStickyNavbar_Vzrq" id="something-for-next-time">Something for next time<a href="https://hyoyoonnam.github.io/en/back-to-programmers#something-for-next-time" class="hash-link" aria-label="Direct link to Something for next time" title="Direct link to Something for next time" translate="no">​</a></h4>
<p>There’s a Duck in our group who’s suspiciously good at these problems. I had a peek at their solution. While I was losing track of what <code>temp</code>, <code>players[order]</code>, and <code>players[order-1]</code> stood for, Duck had a variable called <code>frontName</code>. I liked that word, <em>front</em>. It told me who was standing where.</p>
<p>Duck did say nice things about my solution. Whether that was praise or a way to fish a drowning newbie out by the collar and keep them from escaping the group… I’m still not sure.</p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/313" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Technology</category>
        </item>
        <item>
            <title><![CDATA[A Moment of Compassion]]></title>
            <link>https://hyoyoonnam.github.io/en/a-moment-of-compassion</link>
            <guid>https://hyoyoonnam.github.io/en/a-moment-of-compassion</guid>
            <pubDate>Mon, 26 Oct 2026 20:57:30 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-64eef12bfaaaee95bdfc647d6f597ac7.png" width="854" height="506" class="img_ev3q"></p>
<p>Was it two or three weeks ago? For some reason I woke early and went for a run along the Tancheon. Dawn had passed, but the sunlight still looked blue. I’d run an easy two kilometers or so and was heading back up.</p>
<p>The paved ramp was broad enough for maintenance vehicles. Most of the time a metal barrier keeps them out, leaving just enough of a gap for one person to pass.</p>
<p>[Photo of the ramp goes here]</p>
<p>I’d just finished my run and was puffing my way uphill. Behind me came a middle-aged man who looked as though he’d been out for a leisurely walk.</p>
<p>As I reached the top, another middle-aged man on a bicycle went past me in the opposite direction. He looked a little younger than the man coming up.</p>
<p>They were both heading for the same gap. Only one could get through at a time. The man coming uphill was looking at his phone, and it seemed to fall to the cyclist to do enough dodging for the pair of them, in rather a hurry.</p>
<p>He must have steered well, because they didn’t collide. He did mutter a startled “Ah, damn it” on his way down.</p>
<p>For all his attention to the phone, the other man heard that part perfectly well. “Hey! What did you just say?” Their voices rose.</p>
<p>...</p>
<p>Watching them, I felt sorry for them both. I’m grateful whenever I get to go outside and enjoy the morning air. A surprising number of things have to come together for me to do it, from going to bed early the night before to getting past the urge to spend five more minutes under the covers. All that, spoiled for want of a moment’s patience. I wondered whether they’d spend the day complaining about each other to their families, or replaying it alone and getting upset all over again.</p>
<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-64eef12bfaaaee95bdfc647d6f597ac7.png" width="854" height="506" class="img_ev3q"></p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/288" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Technology</category>
        </item>
        <item>
            <title><![CDATA[I Bought Two Books and Felt Less Excited Than Usual]]></title>
            <link>https://hyoyoonnam.github.io/en/buying-two-books</link>
            <guid>https://hyoyoonnam.github.io/en/buying-two-books</guid>
            <pubDate>Fri, 23 Oct 2026 15:27:35 GMT</pubDate>
            <description><![CDATA[postcard]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="postcard" src="https://hyoyoonnam.github.io/en/assets/images/postcard-e5c472a2940e579a80ebb5bac543faba.jpg" width="3024" height="4032" class="img_ev3q"></p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="i-bought-a-book">I bought a book.<a href="https://hyoyoonnam.github.io/en/buying-two-books#i-bought-a-book" class="hash-link" aria-label="Direct link to I bought a book." title="Direct link to I bought a book." translate="no">​</a></h2>
<p>Volume one of Haruki Murakami’s <em>The Wind-Up Bird Chronicle</em>.</p>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2332.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/wind-up-bird-8fbedc2b3e39c46b4638c73b20b1a950.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>Volume one of The Wind-Up Bird Chronicle, from an Aladin secondhand bookshop.</figcaption></figure>
<p>I got it secondhand for 4,900 won. Isn’t that ridiculously cheap? I was happy. What made me happier still was that it was a <strong>well-aged book</strong>.</p>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2333.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/postcard-e5c472a2940e579a80ebb5bac543faba.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>Tucked inside was a postcard that expired in 2008.</figcaption></figure>
<p>Oh, and I bought a fabric book cover. Was it 10,800 won?</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="except">Except…<a href="https://hyoyoonnam.github.io/en/buying-two-books#except" class="hash-link" aria-label="Direct link to Except…" title="Direct link to Except…" translate="no">​</a></h2>
<p>Here’s where things went awry. Two beeps from the scanner, and the cashier said:</p>
<blockquote>
<p>“If you spend 20,000 won, you get 3,000 won off. Shall I ring these up as they are?”</p>
</blockquote>
<p>This happened last time, too. Buying more to get the discount would cost me more than skipping it, I thought.</p>
<blockquote>
<p>“Just these, please.”</p>
</blockquote>
<p>And then I went home.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="so-why">So why…?<a href="https://hyoyoonnam.github.io/en/buying-two-books#so-why" class="hash-link" aria-label="Direct link to So why…?" title="Direct link to So why…?" translate="no">​</a></h2>
<p>Why was it that today I heard myself say,</p>
<blockquote>
<p>“Oh, then I’ll have another look around.”</p>
</blockquote>
<p>Where did that come from?</p>
<p>Off I went to find a book that would bring me up to the threshold. If I was buying one, I wanted one I actually cared about. English and American fiction, Japanese fiction, popular science, the Minumsa World Literature shelves… I drifted from section to section.</p>
<p>Nothing. Nothing I felt drawn to.</p>
<p>It’s hot in Aladin. I was wearing long sleeves, a lightweight puffer, and a trench coat. The trench coat had long since ended up over my arm. I thought my arm might give out if I added the puffer, so I wandered around with it half off, flapping behind me.</p>
<p>Half off, half overheated. My arm was heavy, and the rest of me was starting to feel it. Still no book. I’d already sunk ten minutes into this. I finally took the puffer all the way off and browsed in slightly more comfort, but my body had already got the message.</p>
<p>And so, suddenly worn out, I picked up Julian Barnes’s <em>Departure(s)</em> and trudged home.</p>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2334.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/departures-e11102434272f5c03a95b298af4fa6d9.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>The book I finally settled on, Departure(s) by Julian Barnes.</figcaption></figure>
<p>When I pick a book, something about the title and the author’s name has to catch me on sight. It has to look cool to me. This title is so much my sort of thing that I’d had my eye on it for ages. How did it take me that long to spot it?</p>
<p>When I started writing this I was still thinking, <strong>what a waste of a trip to the bookshop</strong>. Now I’m looking at my two books and I feel rather pleased. Maybe it does come down to where you choose to end the story.</p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/264" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Reflections</category>
        </item>
        <item>
            <title><![CDATA[A Wife and Children Are a Great Hindrance to Great Undertakings]]></title>
            <link>https://hyoyoonnam.github.io/en/on-marriage-and-single-life</link>
            <guid>https://hyoyoonnam.github.io/en/on-marriage-and-single-life</guid>
            <pubDate>Thu, 22 Oct 2026 16:43:06 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-fd7da067673823a8fdab17e3180506f0.png" width="1040" height="638" class="img_ev3q"></p>
<blockquote>
<p><em>A man with a wife and children has given hostages to fortune. In good undertakings and bad alike, they are a great hindrance to anyone who would do great things.</em> — <a href="https://www.yes24.com/product/goods/147564050" target="_blank" rel="noopener noreferrer" class="">Francis Bacon, “Of Marriage and Single Life,” translated here from the Moonye edition</a></p>
</blockquote>
<p>Quite a provocative thing to say. Would I really concentrate harder on my work if I had no children? Couldn’t the responsibility of having a child give me a reason to concentrate harder?</p>
<p>It’s exam season at university. I walk into the library determined to pull an all-nighter. It’s ten in the evening, and my computer simulation class starts at two the next afternoon. Sixteen whole hours. Finishing just one chapter every three hours will do nicely.</p>
<p>〰️〰️</p>
<p>Do those sixteen hours I’ve conjured up by staying awake all belong to me?</p>
<p>〰️〰️</p>
<p>And would every hour freed up by having no children be an hour I could spend concentrating? I doubt it. As I was saying, having a child might help me settle into something more deeply and do it well. Though if we’re talking about a newborn who wakes, sleeps, cries, and fusses at all hours and completely wrecks my sleep… well, that would be hard.</p>
<p>I like children, but I don’t consciously go around thinking, “I need a wife and kids.” Maybe a child is someone who comes along in the course of living, one more person to share the journey with.</p>
<p>If I did share my life with a child, I’d want to meet them as an equal. Another whole person living a life like mine and utterly different from it. That feels a little different from being what people call “a parent who’s like a friend.”</p>
<p>〰️〰️</p>
<p>Parent | Child | Lover | Friend | Teacher</p>
<p>Different, and much the same.</p>
<p>〰️〰️</p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/249" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Life</category>
        </item>
        <item>
            <title><![CDATA[When Indifference Fades | Fitzgerald’s Winter Dreams]]></title>
            <link>https://hyoyoonnam.github.io/en/fading-indifference-in-winter-dreams</link>
            <guid>https://hyoyoonnam.github.io/en/fading-indifference-in-winter-dreams</guid>
            <pubDate>Wed, 21 Oct 2026 12:57:32 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-dded26f6a7e684743f1a6fbc12b2466f.png" width="936" height="1114" class="img_ev3q"></p>
<blockquote>
<p><em>As he saw it, she hadn’t reproached him because she didn’t want anything to dilute the complete indifference she’d shown him, an indifference that had seemed quite genuine.</em> — F. Scott Fitzgerald, “Winter Dreams,” translated here from the Korean edition</p>
</blockquote>
<p>I don’t linger over books. I tend to skim along by feel, with no particular ambition to understand a book in its entirety. Every so often, though, I catch myself slowing down.</p>
<p>〰️〰️</p>
<p>It happened when I came across the idea that <strong>indifference could fade</strong>. It stayed with me enough that <a href="https://chaekchaek.com/download" target="_blank" rel="noopener noreferrer" class="">I even wrote down a thought about it</a>.</p>
<figure><p><img decoding="async" loading="lazy" alt="chaekchaek note" src="https://hyoyoonnam.github.io/en/assets/images/chaekchaek-note-8102fee04ae3f8ba2b9bb201a1d4d22e.png" width="1672" height="640" class="img_ev3q"></p><figcaption>The note I left on Chaekchaek about fading indifference.</figcaption></figure>
<p>Think of something you’re indifferent to. Perhaps you’ve never even noticed your indifference. A tissue fluttering in the air conditioning at a restaurant, say, or a gray ball of dust on the floor beside your desk.</p>
<p>Then there’s a moment when that indifference wears thin. The fluttering tissue suddenly starts to bother you. Someone walks past and the little ball of dust goes skittering off, and your eyes follow it…</p>
<p>〰️〰️</p>
<p>I wonder if it’s the same with people. Maybe what I feel first is my indifference fading.</p>
<p>〰️〰️</p>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2315.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/winter-dreams-78253b23ae5e01502a444ea6c8dbc7d7.jpg" width="4032" height="3024" class="img_ev3q"></p><figcaption>Fading indifference. The end.</figcaption></figure>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/231" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Life</category>
        </item>
        <item>
            <title><![CDATA[Does Elephant Actually Like Fish Cake? Reading Bacon on Parents and Children]]></title>
            <link>https://hyoyoonnam.github.io/en/on-parents-and-children</link>
            <guid>https://hyoyoonnam.github.io/en/on-parents-and-children</guid>
            <pubDate>Mon, 19 Oct 2026 14:59:21 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-6245fdc1f49235d0d821b3bb79e3e671.png" width="662" height="592" class="img_ev3q"></p>
<p>I’m ending the day with a teabag of fish-cake broth. Anyone at Woowacourse could tell you that Elephant, yours truly, doesn’t like fish cake. Especially fish-cake soup.</p>
<p>And yet today is the sort of day I want to end with that teabag. Does Elephant actually like fish cake?</p>
<hr>
<blockquote>
<p>To be remembered, to accomplish something, to do noble deeds: these belong to human beings. The noblest works and foundations have come from people without children. Having no image of their bodies to leave behind, they strive to give expression to an image of their minds. — From the Korean edition</p>
</blockquote>
<p>I liked the way Bacon starts with the animal instinct to continue a line. If you don’t satisfy it by leaving descendants, an image of your body, he suggests you’ll try to leave an image of your mind.</p>
<p>Having a child is a great thing in itself. It can change what you live for and what you hope to do. And surely it changes how you divide up your hours? People often marry around the time they’re coming into their own physically and at work. If they put marriage aside and poured those hours into their work or research, I can imagine more of what Bacon calls an image of the mind surviving them.</p>
<p>Then again, the longer you wait for the right time to marry, the more tempted you are to hold out for the <em>best</em> time. Maybe there’s something to marrying when you still don’t feel ready.</p>
<blockquote>
<p>Parents would do well to choose their children’s occupations and paths early, when the children are still adaptable. It is possible to defer too much to their preferences in the belief that they should do whatever they please. Where a child shows a remarkable inclination or talent, of course, it is best to let it have its way.</p>
</blockquote>
<p>Does he mean that if parents choose early, the child gets to try something sooner and has less to lose by trying something else if it doesn’t fit? I’m going by that bit about being adaptable. I’m finding this one difficult.</p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/217" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Life</category>
        </item>
        <item>
            <title><![CDATA[Be water, my friend.]]></title>
            <link>https://hyoyoonnam.github.io/en/be-water-my-friend</link>
            <guid>https://hyoyoonnam.github.io/en/be-water-my-friend</guid>
            <pubDate>Sun, 18 Oct 2026 14:37:36 GMT</pubDate>
            <description><![CDATA[Be water, my friend.]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="Be water, my friend." src="https://hyoyoonnam.github.io/en/assets/images/cover-82f4edd48116e0f15d0526c9184361b9.jpg" width="798" height="418" class="img_ev3q"></p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="becoming-water">Becoming water<a href="https://hyoyoonnam.github.io/en/be-water-my-friend#becoming-water" class="hash-link" aria-label="Direct link to Becoming water" title="Direct link to Becoming water" translate="no">​</a></h2>
<figure><p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/rain-warning-ytn-211a1f8434d1b21dc8a71457ab300ee6.png" width="1314" height="340" class="img_ev3q"></p><figcaption>1. YTN reports a heavy rain advisory for Seoul and Gyeonggi.</figcaption></figure>
<figure><p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/rain-warning-kbs-b43f30265bd20e3d547370c2f47e7c12.png" width="1314" height="392" class="img_ev3q"></p><figcaption>2. The same advisory on KBS.</figcaption></figure>
<p><em>It’s a Sunday in the autumn of 2026, and the rain is coming down hard.</em> By about six in the evening, though, it was letting up. I started getting my running things together.</p>
<p>Down at the Tancheon, you could see what the rain had done. The water was just shy of covering the stepping stones between the two banks.</p>
<figure><p><img decoding="async" loading="lazy" alt="stepping stones" src="https://hyoyoonnam.github.io/en/assets/images/stepping-stones-9ebe38c29044da42aa98861684291ba3.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>3. The stepping stones, just above water.</figcaption></figure>
<p>As if the stream had decided it couldn’t hold much more, the current was picking up, carrying the water off to some place far away.</p>
<figure><p><img decoding="async" loading="lazy" alt="image.png" src="https://hyoyoonnam.github.io/en/assets/images/river-current-73b7f305445fc2edd9082d14c4a960f2.png" width="2044" height="1288" class="img_ev3q"></p><figcaption>4. All that water rushing downstream.</figcaption></figure>
<p>I was admiring the way water could flow quietly or pick up speed as the occasion called for it, when something I’d heard once came back to me. A lot of our technology comes from watching what nature does.</p>
<blockquote>
<p>It matters to me to have some breathing room in my life. But when things need doing, maybe I can let the current run a little faster for a while. Like water.</p>
</blockquote>
<p>So I’ve decided to be water. With so little of my time at Woowacourse left, I think I’m going to need a fairly brisk current.</p>
<figure><p><img decoding="async" loading="lazy" alt="biomimetics" src="https://hyoyoonnam.github.io/en/assets/images/biomimetics-53e572fc432e8a939973a60543c428d5.png" width="1936" height="1056" class="img_ev3q"></p><figcaption>5. Biomimetics, on Wikipedia.</figcaption></figure>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2278.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/run-record-3fbd4696f6b8fd365f1a15bc74983d4a.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>6. Today’s run.</figcaption></figure>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="friends-along-the-tancheon">Friends along the Tancheon<a href="https://hyoyoonnam.github.io/en/be-water-my-friend#friends-along-the-tancheon" class="hash-link" aria-label="Direct link to Friends along the Tancheon" title="Direct link to Friends along the Tancheon" translate="no">​</a></h3>
<p>Last time I ran here I saw raccoon dogs and a bird. I wonder how they fared today.</p>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2243.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/raccoon-a-805e7a24422fdf5c09592dfc6d481f2b.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>7. Raccoon dog A.</figcaption></figure>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2246.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/raccoon-b-fe7cf665cdaca39d7e81d6894096f7af.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>8. Raccoon dog B.</figcaption></figure>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2241.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/bird-67fd10624894200d76ad08d9e1ce222c.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>9. A bird. Asleep, perhaps?</figcaption></figure>
<figure><p><img decoding="async" loading="lazy" alt="IMG_2240.jpeg" src="https://hyoyoonnam.github.io/en/assets/images/bird-close-up-3fb2cfdf35d05b6ac55f608571db9cad.jpg" width="3024" height="4032" class="img_ev3q"></p><figcaption>10. A closer look.</figcaption></figure>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="reading-bacons-of-adversity-in-the-moonye-edition">Reading Bacon’s “Of Adversity” in the Moonye edition<a href="https://hyoyoonnam.github.io/en/be-water-my-friend#reading-bacons-of-adversity-in-the-moonye-edition" class="hash-link" aria-label="Direct link to Reading Bacon’s “Of Adversity” in the Moonye edition" title="Direct link to Reading Bacon’s “Of Adversity” in the Moonye edition" translate="no">​</a></h2>
<p>This essay suggests a way to take pleasure in adversity. Several passages circle the same idea, so I’ll finish by gathering them here. The excerpts below are translated from the Korean edition.</p>
<blockquote>
<p>The good things of prosperity are worth wishing for. The good things of adversity are worth admiring. — Seneca</p>
</blockquote>
<p>I’ve been seeing <strong><a href="https://www.yes24.com/product/goods/192474512" target="_blank" rel="noopener noreferrer" class="">a Korean collection of Seneca for people who feel today slipping away</a></strong> everywhere lately. It was a surprise to run into him in Francis Bacon, too.</p>
<blockquote>
<p>Surely, if miracles have power over nature, it’s in adversity that they tend to appear.</p>
</blockquote>
<blockquote>
<p>The virtue of prosperity is temperance, and the virtue of adversity is fortitude. Of the two, fortitude is by far the more heroic.</p>
</blockquote>
<blockquote>
<p>Prosperity is the blessing of the Old Testament. Adversity is the blessing of the New. It promises greater grace and reveals God’s protection more clearly.</p>
</blockquote>
<blockquote>
<p>Even in adversity there is comfort and hope. In needlework or embroidery, how much more pleasing to set a lively pattern against a grave, somber ground than to lay a dark, melancholy pattern on a bright one.</p>
</blockquote>
<blockquote>
<p>Prosperity brings our vices into view. Adversity brings out our virtues.</p>
</blockquote>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="words-i-had-to-look-up">Words I had to look up<a href="https://hyoyoonnam.github.io/en/be-water-my-friend#words-i-had-to-look-up" class="hash-link" aria-label="Direct link to Words I had to look up" title="Direct link to Words I had to look up" translate="no">​</a></h3>
<ul>
<li class=""><strong>Holy Spirit</strong>, also <em>Holy Ghost</em>. It’s a Christian term. Even with an explanation in front of me, I find it hard to grasp. I’ve seen Christians in Korea and elsewhere writing about their own confusion over it, too.</li>
</ul>
<blockquote>
<p>The pen of the Holy Spirit also dwells more on the afflictions of Job than on the splendor of Solomon.</p>
</blockquote>
<ul>
<li class=""><strong>Needlework.</strong> Making something by hand, sometimes with the help of a simple tool.</li>
</ul>
<blockquote>
<p>In needlework or embroidery, to set a lively pattern against a grave, somber ground…</p>
</blockquote>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/198" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Life</category>
        </item>
        <item>
            <title><![CDATA[Francis Bacon on Having No Cause for Anger]]></title>
            <link>https://hyoyoonnam.github.io/en/francis-bacon-on-revenge</link>
            <guid>https://hyoyoonnam.github.io/en/francis-bacon-on-revenge</guid>
            <pubDate>Sat, 17 Oct 2026 16:07:48 GMT</pubDate>
            <description><![CDATA[cover]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="cover" src="https://hyoyoonnam.github.io/en/assets/images/cover-260ac954cc7195a1bb02591ca8942af1.webp" width="700" height="460" class="img_ev3q"></p>
<p>Was it five days ago? I bought the Moonye edition of Francis Bacon’s essays. I knew his line about knowledge being power, and that was about all I knew of him. I happened upon the book and wanted to get better acquainted. My other reason was the size of the essays. There are nearly sixty subjects in some 270 pages. One a day sounded like a pleasant little habit.</p>
<figure><p><img decoding="async" loading="lazy" alt="XL" src="https://hyoyoonnam.github.io/en/assets/images/bacon-essays-5c6548f4354fde57b74af388638387f8.jpg" width="800" height="1200" class="img_ev3q"></p><figcaption><a href="https://www.yes24.com/product/goods/147564050" target="_blank" rel="noopener noreferrer" class="">https://www.yes24.com/product/goods/147564050</a></figcaption></figure>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="no-cause-to-be-angry-with-someone">No cause to be angry with someone?<a href="https://hyoyoonnam.github.io/en/francis-bacon-on-revenge#no-cause-to-be-angry-with-someone" class="hash-link" aria-label="Direct link to No cause to be angry with someone?" title="Direct link to No cause to be angry with someone?" translate="no">​</a></h2>
<blockquote>
<p><em>Who does another person harm just for the pleasure of doing harm? People do it for some gain or pleasure or honor of their own. Why, then, should I be angry with someone for loving himself more than he loves me?</em> — Francis Bacon, “Of Revenge,” translated here from the Korean edition</p>
</blockquote>
<p>It reminded me of the saying that if you expect nothing, you won’t get angry. But suppose someone has a bad habit, and I keep quiet because, well, it’s their loss. Isn’t that also a failure to communicate? If we care about each other’s growth, wouldn’t it be better to say something?</p>
<p>Bacon stops at “there’s no need to get angry.” He doesn’t offer an alternative like “keep calm and talk it through.” I’m left wondering how much he includes under anger. Does it cover telling someone off in a temper and giving them ordinary feedback? If I read it that broadly, I’m back where I started. Staying quiet could end up hurting us both.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="words-i-had-to-look-up">Words I had to look up<a href="https://hyoyoonnam.github.io/en/francis-bacon-on-revenge#words-i-had-to-look-up" class="hash-link" aria-label="Direct link to Words I had to look up" title="Direct link to Words I had to look up" translate="no">​</a></h2>
<ul>
<li class=""><strong>Gomaehada</strong> (고매하다). To be distinguished or noble in character, learning, or talent.</li>
</ul>
<blockquote>
<p>By comparison, the spirit of Job speaks in a nobler voice.</p>
</blockquote>
<ul>
<li class=""><strong>Proverbs.</strong> The biblical book numbered 24th or 20th, depending on the ordering. Solomon is traditionally credited with writing or compiling many of its sayings. These are the names in different languages. I take the word to mean something like a maxim or a piece of counsel.</li>
</ul>
<table><tbody><tr><th scope="row">Hebrew</th><td>משלי (Mishlei)</td></tr><tr><th scope="row">Greek</th><td>Παροιμίαι (Paroimiai)</td></tr><tr><th scope="row">Latin</th><td>Proverbia</td></tr><tr><th scope="row">English</th><td>Proverbs</td></tr><tr><th scope="row">Korean</th><td>잠언 (箴言), literally “words that prick like a needle”</td></tr></tbody></table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-little-feedback-for-rilog">A little feedback for Rilog<a href="https://hyoyoonnam.github.io/en/francis-bacon-on-revenge#a-little-feedback-for-rilog" class="hash-link" aria-label="Direct link to A little feedback for Rilog" title="Direct link to A little feedback for Rilog" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="1-i-cant-nest-a-table-under-a-bullet">1. I can’t nest a table under a bullet<a href="https://hyoyoonnam.github.io/en/francis-bacon-on-revenge#1-i-cant-nest-a-table-under-a-bullet" class="hash-link" aria-label="Direct link to 1. I can’t nest a table under a bullet" title="Direct link to 1. I can’t nest a table under a bullet" translate="no">​</a></h3>
<ul>
<li class="">A bullet<!-- -->
<ul>
<li class="">A nested bullet</li>
</ul>
</li>
<li class="">A bullet</li>
</ul>
<blockquote>
<p>I can put a quotation under a bullet.</p>
</blockquote>
<ul>
<li class="">A bullet</li>
</ul>
<table><tbody><tr><td>The table won’t go under the bullet.</td><td></td></tr><tr><td></td><td></td></tr></tbody></table>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="2-searching-the-commands-for-table-turns-up-nothing">2. Searching the commands for “table” turns up nothing<a href="https://hyoyoonnam.github.io/en/francis-bacon-on-revenge#2-searching-the-commands-for-table-turns-up-nothing" class="hash-link" aria-label="Direct link to 2. Searching the commands for “table” turns up nothing" title="Direct link to 2. Searching the commands for “table” turns up nothing" translate="no">​</a></h3>
<p>When I type <code>/table</code>, I expect a table to come up. It doesn’t.</p>
<hr>
<p><a href="https://www.rilog.kr/@homo_scribens/posts/195" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Life</category>
        </item>
        <item>
            <title><![CDATA[A Hamburger and The Stranger]]></title>
            <link>https://hyoyoonnam.github.io/en/a-hamburger-and-the-stranger</link>
            <guid>https://hyoyoonnam.github.io/en/a-hamburger-and-the-stranger</guid>
            <pubDate>Tue, 06 Oct 2026 18:33:46 GMT</pubDate>
            <description><![CDATA[My hamburger at McDonald’s]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="My hamburger at McDonald’s" src="https://hyoyoonnam.github.io/en/assets/images/hamburger-c8a65dd4aa4a3600fce8efb9cd5ca9ec.jpg" width="3024" height="4032" class="img_ev3q"></p>
<p>Actually, the hamburger can’t keep me company. I’ve already devoured it without mercy. Then again, maybe it’s closer to me now than it was before I ate it. <em>What does it matter, anyway?</em></p>
<p>It’s 2:50 in the morning. Wednesday, October 7. I’m at the McDonald’s by Sunae Station. There’s something reassuring about a chain that stays open all night. Even when I’m away from home, there’s somewhere I can stay, whatever the hour.</p>
<p>Why am I awake at this hour? And why am I here when I have a perfectly cozy home? Well, here you’ve found me, writing about <em>The Stranger</em>. I figured if I was going to work through the small hours anyway, I might as well get something to eat and give myself a change of scenery.</p>
<p>I hadn’t actually set out to write about <em>The Stranger</em>. I did have to write it eventually. A few of us at Woowacourse had read the book and got together to talk about it, and we’d agreed to bring something we’d written to follow up. But just before I started this, I was making a list of things I’d done, for my application to an entry-level opening at MyRealTrip.</p>
<p>Then a couple of thoughts occurred to me.</p>
<ul>
<li class="">Looking back over my time at Woowacourse for the application, I could see a resemblance between MyRealTrip and our project. In both, the starting point was the problem we wanted to solve.</li>
<li class="">If I got the job, what could I do at MyRealTrip with the things I already love?<!-- -->
<ul>
<li class="">I like books. I have a soft spot for films, music, other books, food, even places, once I’ve come across them in a book. Japanese fiction does this to me in particular. People travel around taking photos of places they’ve seen in anime. What if you could plan a route that let you visit places you’d read about, or try the food? I remember reading Haruki Murakami’s <em>After Dark</em> and jotting down the things that turned up in it in the back of my copy. A lot of it was music. It was fun. It made me want to build a little wiki of my own as I went through life.</li>
</ul>
</li>
</ul>
<p><img decoding="async" loading="lazy" alt="The notes I kept while reading After Dark" src="https://hyoyoonnam.github.io/en/assets/images/after-dark-notes-34c9f6a92c5178c912644d10cdcedc40.png" width="846" height="1444" class="img_ev3q"></p>
<ul>
<li class="">I like running. Travel abroad has never stirred much in me either way. Lately, though, just picturing myself out for a run overseas makes my heart swell. And a good running route is hard to plan. Especially a long one. There are only so many laps of a track you can do before it gets old. It’s tricky enough at home, so I imagine it would be harder in another country. What if we could map out routes in enough detail for people to go running with peace of mind?</li>
</ul>
<p>As you can probably tell from all that rambling, I got quite excited at the thought of where MyRealTrip was headed and how much fun I might have there. Forming hypotheses, making decisions with data, seeing something through from start to finish even when it took me outside my area. I’d made a point of practicing all that at Woowacourse. I could almost believe those experiences had come my way specifically for MyRealTrip.</p>
<p>And then there’s this. Would another company recognize what I’m writing down here? Would they see any value in it? The other backend developers in my cohort seem to be preparing for their applications in a rather different way.</p>
<blockquote>
<p><em>Am I a stranger on the job market?</em></p>
</blockquote>
<p>Getting as far as that question is the beginning and the end of this book report. It’s a question that worries me. It makes me anxious. It’s a challenge, too. I’ve got all these names for the situation, and I don’t know quite what to do with any of them.</p>
<p>Even this is a hypothesis. It needs testing. The weight of it is rather different from that of a hypothesis in a project or a survey. A good deal heavier. Still, it’s mine to bear.</p>
<blockquote>
<p><em>Is this life? Good. Then I’ll do it again.</em></p>
</blockquote>
<p>I’ve written a book report without saying what happens in <em>The Stranger</em>. Yet I feel closer to Meursault now than I did when I still had the whole book fresh in my head, scribbling in the margins about what a scene was doing or what a sentence stood for.</p>
<p>The way I used to read was to get a feel for the people in a book, for the time they lived in, and to enjoy being there. People say books let you learn about other people’s lives. And yet, as far as Meursault’s own life goes, I feel further away from it now. I don’t know what the book is about. I don’t know what it’s about, but right now, I’m a stranger.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="333-am-this-is-where-i-stop"><em>3:33 a.m. This is where I stop.</em><a href="https://hyoyoonnam.github.io/en/a-hamburger-and-the-stranger#333-am-this-is-where-i-stop" class="hash-link" aria-label="Direct link to 333-am-this-is-where-i-stop" title="Direct link to 333-am-this-is-where-i-stop" translate="no">​</a></h3>
<p><img decoding="async" loading="lazy" alt="After the meal" src="https://hyoyoonnam.github.io/en/assets/images/after-the-meal-229df36f70d6ec124efcc86cb9637c12.jpg" width="3024" height="4032" class="img_ev3q"></p>
<hr>
<p><a href="https://www.rilog.kr/@rudevico/posts/155" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Reflections</category>
        </item>
        <item>
            <title><![CDATA[[Backend] Integrating an External API Means Translating Its Contract]]></title>
            <link>https://hyoyoonnam.github.io/en/translating-external-apis</link>
            <guid>https://hyoyoonnam.github.io/en/translating-external-apis</guid>
            <pubDate>Fri, 28 Aug 2026 03:19:38 GMT</pubDate>
            <description><![CDATA[* How mapping data between DTOs can involve translating between two different API contracts.]]></description>
            <content:encoded><![CDATA[<div class="theme-admonition theme-admonition-note admonition_xJq3 alert alert--secondary"><div class="admonitionHeading_Gvgb"><span class="admonitionIcon_Rf37"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>What you’ll take away</div><div class="admonitionContent_BuS1"><ul>
<li class="">How mapping data between DTOs can involve translating between two different API contracts.</li>
<li class="">Where to translate external data, and when it makes sense to move that work closer to the external system.</li>
</ul></div></div>
<!-- -->
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="1-do-separate-dtos-make-us-independent-of-the-external-api">1. Do separate DTOs make us independent of the external API?<a href="https://hyoyoonnam.github.io/en/translating-external-apis#1-do-separate-dtos-make-us-independent-of-the-external-api" class="hash-link" aria-label="Direct link to 1. Do separate DTOs make us independent of the external API?" title="Direct link to 1. Do separate DTOs make us independent of the external API?" translate="no">​</a></h2>
<p>Chaekchaek uses Aladin’s Search API to look up books. From the outset, we had one data transfer object (DTO) for the response we received from Aladin and another for the response we returned to our client.</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Aladin Search API</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓     (enter our backend)</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">AladinSearchResponse</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">BookSearchResponse</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓     (leave our backend)</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Chaekchaek Client</span><br></span></code></pre></div></div>
<p>On paper, that gives the two APIs a clean separation. Yet fields from Aladin’s pagination model showed up in our public response almost word for word.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">record</span><span class="token plain"> </span><span class="token class-name">BookSearchResponse</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> totalResults</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> startIndex</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> itemsPerPage</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">boolean</span><span class="token plain"> hasNext</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">BookItem</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> items</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>We had two objects, but <strong>our public contract still reflected the way Aladin represented its data</strong>. A client using Chaekchaek should only have to learn Chaekchaek’s contract. Splitting the DTOs had left that part of the job unfinished.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="2-the-provider-and-our-service-speak-different-languages">2. The provider and our service speak different languages<a href="https://hyoyoonnam.github.io/en/translating-external-apis#2-the-provider-and-our-service-speak-different-languages" class="hash-link" aria-label="Direct link to 2. The provider and our service speak different languages" title="Direct link to 2. The provider and our service speak different languages" translate="no">​</a></h2>
<p>Even two providers offering the same book search can describe a result quite differently.</p>
<table><thead><tr><th>Meaning</th><th>Aladin</th><th>Another provider</th></tr></thead><tbody><tr><td>Search results</td><td><code>item</code></td><td><code>documents</code></td></tr><tr><td>Authors</td><td><code>author: String</code>, including contributor roles</td><td><code>authors: String[]</code></td></tr><tr><td>Translators</td><td>Included in <code>author</code></td><td><code>translators: String[]</code></td></tr><tr><td>Next page</td><td>Calculated from pagination fields</td><td>A separate flag such as <code>is_end</code></td></tr></tbody></table>
<p>The differences go deeper than field names. Providers decide how to divide the same information into fields and how to represent state. Each model makes sense in its own context. <strong>Aladin has a model for its service, and Chaekchaek needs one for ours.</strong></p>
<p>In practice, we made three kinds of translation.</p>
<ol>
<li class="">We adopted our own terms. For the number of books found, <code>totalResults</code> became <code>totalCount</code>.</li>
<li class="">We gave loosely structured data a shape our client could use. One string containing authors and translators became a separate array for each role.</li>
<li class="">We turned the provider’s state into the client’s next action. The current page number helped us work out which page to request next.</li>
</ol>
<p>The last two in particular required a decision about <strong>which information matters to our service</strong>.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="3-the-external-dto-keeps-the-providers-vocabulary">3. The external DTO keeps the provider’s vocabulary<a href="https://hyoyoonnam.github.io/en/translating-external-apis#3-the-external-dto-keeps-the-providers-vocabulary" class="hash-link" aria-label="Direct link to 3. The external DTO keeps the provider’s vocabulary" title="Direct link to 3. The external DTO keeps the provider’s vocabulary" translate="no">​</a></h2>
<p>That raises a fair question.</p>
<blockquote>
<p>If our service needs authors and translators separately, why don’t we split them as soon as we receive the response? Do we really need both <code>AladinSearchResponse</code> and <code>BookSearchResponse</code>?</p>
</blockquote>
<p>Technically, we could do that. I’d still keep a DTO specifically for Aladin’s response. If you’re familiar with SOLID, the single responsibility principle gives a good reason. Consider what would make us change each model:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">AladinSearchResponse changes</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">→ when Aladin changes its API contract</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Chaekchaek’s search result model changes</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">→ when Chaekchaek’s requirements change</span><br></span></code></pre></div></div>
<p>Those are two different responsibilities. Keeping them separate gives us somewhere to absorb a change in Aladin’s API before it reaches our clients.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="4-what-the-translation-actually-does">4. What the translation actually does<a href="https://hyoyoonnam.github.io/en/translating-external-apis#4-what-the-translation-actually-does" class="hash-link" aria-label="Direct link to 4. What the translation actually does" title="Direct link to 4. What the translation actually does" translate="no">​</a></h2>
<p>Two parts of the implementation made this especially clear.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="41-turning-contributor-credits-into-structured-data">4.1. Turning contributor credits into structured data<a href="https://hyoyoonnam.github.io/en/translating-external-apis#41-turning-contributor-credits-into-structured-data" class="hash-link" aria-label="Direct link to 4.1. Turning contributor credits into structured data" title="Direct link to 4.1. Turning contributor credits into structured data" translate="no">​</a></h3>
<p>Aladin puts authors and translators in a single string:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">앤디 위어 (지은이), 박아람 (옮긴이)</span><br></span></code></pre></div></div>
<p>Here, <code>지은이</code> marks the author and <code>옮긴이</code> marks the translator. Our client needs to use those roles separately:</p>
<div class="language-json codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-json codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"authors"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">[</span><span class="token string" style="color:#e3116c">"앤디 위어"</span><span class="token punctuation" style="color:#393A34">]</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  </span><span class="token property" style="color:#36acaa">"translators"</span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">[</span><span class="token string" style="color:#e3116c">"박아람"</span><span class="token punctuation" style="color:#393A34">]</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>I wrote an <code>AladinContributorParser</code> to interpret the string. Along the way I found a case where splitting on commas would give the wrong answer:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">민관식 (필명, 청원) (지은이)</span><br></span></code></pre></div></div>
<p>The comma inside the parentheses introduces a pen name. It doesn’t separate two contributors.</p>
<p>We had to interpret Aladin’s conventions to get a structure Chaekchaek could use. That also meant deciding what to keep. Suppose our service uses only authors and translators and drops illustrators (<code>그림</code>), editorial supervisors (<code>감수</code>), and compilers (<code>엮은이</code>). That’s a product decision, too.</p>
<blockquote>
<p><strong>The information we allow a translation to lose is part of our policy.</strong></p>
</blockquote>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="42-turning-pagination-state-into-a-next-action">4.2. Turning pagination state into a next action<a href="https://hyoyoonnam.github.io/en/translating-external-apis#42-turning-pagination-state-into-a-next-action" class="hash-link" aria-label="Direct link to 4.2. Turning pagination state into a next action" title="Direct link to 4.2. Turning pagination state into a next action" translate="no">​</a></h3>
<p>Aladin describes pagination with three fields:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">totalResults</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">startIndex</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">itemsPerPage</span><br></span></code></pre></div></div>
<p>At first, we exposed those fields alongside <code>hasNext</code>. To fetch another page, the client had to know the rule:</p>
<div class="language-js codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-js codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">const</span><span class="token plain"> nextPage </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> hasNext </span><span class="token operator" style="color:#393A34">?</span><span class="token plain"> startIndex </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> </span><span class="token number" style="color:#36acaa">1</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">:</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">null</span><span class="token punctuation" style="color:#393A34">;</span><br></span></code></pre></div></div>
<p>Our server already understood Aladin’s pagination model. It made sense to do the calculation there. That gave us a simpler public response:</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">record</span><span class="token plain"> </span><span class="token class-name">BookSearchResponse</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> totalCount</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">Integer</span><span class="token plain"> nextPage</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">BookItem</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> items</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<p>The client can now use the value of <code>nextPage</code> directly:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">nextPage = 3</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">→ Request page 3 next.</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">nextPage = null</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">→ There are no more pages.</span><br></span></code></pre></div></div>
<p>The distinction between these fields is easy to miss. <code>hasNext</code> describes <strong>the current state</strong>. <code>nextPage</code> gives the client <strong>the value it needs to act</strong>. The client no longer needs to interpret <code>startIndex</code> and <code>itemsPerPage</code> or work out the page number itself.</p>
<blockquote>
<p><strong>We translated the provider’s state into the next action our client could take.</strong></p>
</blockquote>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="5-where-should-the-translation-happen">5. Where should the translation happen?<a href="https://hyoyoonnam.github.io/en/translating-external-apis#5-where-should-the-translation-happen" class="hash-link" aria-label="Direct link to 5. Where should the translation happen?" title="Direct link to 5. Where should the translation happen?" translate="no">​</a></h2>
<p>At the time, we did the translation in <code>BookSearchService</code>:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Aladin Search API</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">AladinBookClient</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">AladinSearchResponse</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">BookSearchService</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  - Structure the contributor credits</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  - Calculate nextPage</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  - Convert fields</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">BookSearchResponse</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Chaekchaek Client</span><br></span></code></pre></div></div>
<p>This kept Aladin’s field names and pagination rules out of the client. Inside the backend, though, <code>BookSearchService</code> still depended directly on provider types such as <code>AladinSearchResponse</code> and <code>AladinBookItem</code>. <strong>The external contract reached as far as our application service.</strong></p>
<p>That was a reasonable trade-off at the time. We had one search provider, and getting search working mattered more. Abstractions have a cost of their own. What I want to understand about a boundary is <strong>what it would cost us to make a change with that boundary in place</strong>.</p>
<p>If adding or replacing a provider became a realistic prospect, we could finish the translation before the response reached the application service:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Aladin Search API</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">Aladin Adapter</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  - Interpret the external contract</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  - Structure the contributor credits</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">  - Calculate pagination</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">BookSearchResult</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        ↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">BookSearchService</span><br></span></code></pre></div></div>
<p>By the time the service receives the result, it’s already in Chaekchaek’s terms. The service can use it without knowing who supplied it or how they encoded it. The particular interface or adapter pattern is secondary here.</p>
<blockquote>
<p><strong>Where a boundary belongs can change as the pressures on the system change.</strong></p>
</blockquote>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="6-a-change-in-the-response-can-break-the-translation">6. A change in the response can break the translation<a href="https://hyoyoonnam.github.io/en/translating-external-apis#6-a-change-in-the-response-can-break-the-translation" class="hash-link" aria-label="Direct link to 6. A change in the response can break the translation" title="Direct link to 6. A change in the response can break the translation" translate="no">​</a></h2>
<p>Our <code>AladinContributorParser</code> understands credits like this one:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">앤디 위어 (지은이), 박아람 (옮긴이)</span><br></span></code></pre></div></div>
<p>Its knowledge of labels such as <code>(지은이)</code> and <code>(옮긴이)</code> comes with an assumption: <strong>Aladin will keep sending credits in a format we recognize.</strong></p>
<p>What if a new role such as <code>엮은이</code> appears? What if the same information arrives as <code>지은이=앤디 위어, ...</code>? A missing JSON field might cause deserialization to fail immediately. The harder case is when the code runs successfully and produces the wrong result.</p>
<p>If the parser credits someone as an author by mistake, or silently discards a role it doesn’t recognize, the request can still succeed. <strong>The client receives an incorrect result that looks perfectly ordinary.</strong> How to detect a change upstream, what to do with a value we can’t interpret, and how much to guard against are questions worth a separate post.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="7-integrating-an-external-api-means-translating">7. Integrating an external API means translating<a href="https://hyoyoonnam.github.io/en/translating-external-apis#7-integrating-an-external-api-means-translating" class="hash-link" aria-label="Direct link to 7. Integrating an external API means translating" title="Direct link to 7. Integrating an external API means translating" translate="no">​</a></h2>
<p>When I started, I pictured the work like this:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Aladin response</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">→ Put it in a DTO</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">→ Pick the fields we need and return them</span><br></span></code></pre></div></div>
<p>What I ended up doing was different. We read two distinct roles out of a single contributor credit:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">앤디 위어 (지은이), 박아람 (옮긴이)</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">authors: ["앤디 위어"]</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">translators: ["박아람"]</span><br></span></code></pre></div></div>
<p>We also turned the pagination fields into a value the client could use directly:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">totalResults + startIndex + itemsPerPage</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">nextPage</span><br></span></code></pre></div></div>
<p>Seen from the client’s side, that same change looks like this:</p>
<div class="language-text codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">Aladin’s pagination data</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">totalResults + startIndex + itemsPerPage</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">↓</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">The value the client will use</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">nextPage</span><br></span></code></pre></div></div>
<p>In both cases, the work was in deciding <strong>what the provider’s data meant for our service</strong>. That’s what I mean by translation.</p>
<hr>
<p><a href="https://www.rilog.kr/@chaekchaek/posts/23" target="_blank" rel="noopener noreferrer" class="">Original post on Rilog (Korean)</a></p>]]></content:encoded>
            <category>Technology</category>
        </item>
        <item>
            <title><![CDATA[Learning to Read with SQ3R]]></title>
            <link>https://hyoyoonnam.github.io/en/explanation-about-SQ3R</link>
            <guid>https://hyoyoonnam.github.io/en/explanation-about-SQ3R</guid>
            <pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[SQ3R is a way to study as you read.]]></description>
            <content:encoded><![CDATA[<p><strong>SQ3R</strong> is a way to study as you read.</p>
<p>The idea is to read deliberately, coming up with your own questions and looking for answers as you go.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-i-came-across-it">How I came across it<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#how-i-came-across-it" class="hash-link" aria-label="Direct link to How I came across it" title="Direct link to How I came across it" translate="no">​</a></h2>
<p>I used the sources below to put together an account of what SQ3R is and how to try it.</p>
<p>I first encountered it in <a href="https://product.kyobobook.co.kr/detail/S000001033071" target="_blank" rel="noopener noreferrer" class="">Growing Together, by Kim Chang-joon</a>. Lately I’ve wanted to get better at picking up new things quickly and effectively, so I decided to look into it and give it a try.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="survey">Survey<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#survey" class="hash-link" aria-label="Direct link to Survey" title="Direct link to Survey" translate="no">​</a></h2>
<p>Hold off on reading the text itself. Look at the contents, titles, and subheadings to get a sense of the whole.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="question">Question<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#question" class="hash-link" aria-label="Direct link to Question" title="Direct link to Question" translate="no">​</a></h2>
<p>Write down questions about anything you couldn’t understand or anticipate during the survey.</p>
<p>For instance, what might a chapter called “The Programming Language Master” cover? Will it just tell me how good the expert is? Will they share how they got there? What would I have to do to get that good myself?</p>
<div class="theme-admonition theme-admonition-note admonition_xJq3 alert alert--secondary"><div class="admonitionHeading_Gvgb"><span class="admonitionIcon_Rf37"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>note</div><div class="admonitionContent_BuS1"><p>Reading with your own questions in mind gives you somewhere to direct your attention.</p></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="read">Read<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#read" class="hash-link" aria-label="Direct link to Read" title="Direct link to Read" translate="no">​</a></h2>
<p>Highlight or annotate the passages that bear on the questions you picked out. Give your eyes something to come back to.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="recite">Recite<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#recite" class="hash-link" aria-label="Direct link to Recite" title="Direct link to Recite" translate="no">​</a></h2>
<p>After reading the parts that address a question, try answering it out loud in your own words. With a bit of luck, your reading has given you what you need.</p>
<p>Make a note of any questions you struggle to answer. You’ll use them in the last step.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="review">Review<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#review" class="hash-link" aria-label="Direct link to Review" title="Direct link to Review" translate="no">​</a></h2>
<p>Go back through the questions you wrote down earlier.</p>
<p>Keep the questions physically separate from what you read. Quiz cards are one way to do it.</p>
<p>With the questions and the text side by side, you can pick up clues without noticing and mistake recognition for knowing the answer.</p>
<p>Give yourself the harder job of pulling it out of memory. After all, you generally can’t look it up during an exam! (Well, there are open-book exams…)</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="references">References<a href="https://hyoyoonnam.github.io/en/explanation-about-SQ3R#references" class="hash-link" aria-label="Direct link to References" title="Direct link to References" translate="no">​</a></h2>
<ul>
<li class=""><a href="https://product.kyobobook.co.kr/detail/S000001033071" target="_blank" rel="noopener noreferrer" class="">Growing Together, by Kim Chang-joon</a>, the chapter on mastering a programming language</li>
<li class=""><a href="https://academicresourcecenter.harvard.edu/2024/03/27/sq3r/" target="_blank" rel="noopener noreferrer" class="">SQ3R - Harvard Univ.</a></li>
</ul>]]></content:encoded>
            <category>Practicing SQ3R</category>
        </item>
        <item>
            <title><![CDATA[Unmodifiable Lists and Immutable Lists in Java]]></title>
            <link>https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist</link>
            <guid>https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist</guid>
            <pubDate>Fri, 13 Mar 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[1. How a view and a snapshot explain the difference between an unmodifiable collection and an immutable one.]]></description>
            <content:encoded><![CDATA[<div class="theme-admonition theme-admonition-note admonition_xJq3 alert alert--secondary"><div class="admonitionHeading_Gvgb"><span class="admonitionIcon_Rf37"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>What you’ll take away</div><div class="admonitionContent_BuS1"><ol>
<li class="">
<p>How a view and a snapshot explain the difference between an unmodifiable collection and an immutable one.</p>
</li>
<li class="">
<p>How the lists produced by these calls differ:</p>
<ul>
<li class=""><code>Collections.unmodifiableList()</code></li>
<li class=""><code>List.of()</code> or <code>List.copyOf()</code></li>
</ul>
</li>
</ol></div></div>
<p>Calling a mutating method throws an <code>UnsupportedOperationException</code>.</p>
<iframe frameborder="0" src="https://onecompiler.com/java/44gg6wqev?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="600px" title="Unmodifiable vs Immutable List Java Example"></iframe>
<h1>2. Where they differ</h1>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="21-they-use-different-implementation-classes">2.1. They use different implementation classes<a href="https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist#21-they-use-different-implementation-classes" class="hash-link" aria-label="Direct link to 2.1. They use different implementation classes" title="Direct link to 2.1. They use different implementation classes" translate="no">​</a></h2>
<iframe frameborder="0" src="https://onecompiler.com/java/44gh4m5rq?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="600px" title="Unmodifiable vs Immutable List Java Example"></iframe>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="22-they-have-different-relationships-to-the-original-collection">2.2. They have different relationships to the original collection<a href="https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist#22-they-have-different-relationships-to-the-original-collection" class="hash-link" aria-label="Direct link to 2.2. They have different relationships to the original collection" title="Direct link to 2.2. They have different relationships to the original collection" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="unmodifiablelist">UnmodifiableList<a href="https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist#unmodifiablelist" class="hash-link" aria-label="Direct link to UnmodifiableList" title="Direct link to UnmodifiableList" translate="no">​</a></h3>
<p>The <code>UnmodifiableRandomAccessList</code> implementation (which I’ll call <code>UnmodifiableList</code> here) is a <strong>view</strong> of the original collection.</p>
<p>As the code below shows, it holds the original <code>list</code> in a field. For a read like <code>get</code>, the wrapper delegates to the corresponding method on that list and returns the result.</p>
<p>Say <code>x001</code> refers to the original list and <code>x002</code> to the view. You can call <code>add</code> through <code>x001</code>. Trying it through <code>x002</code> throws.</p>
<p>A change made through <code>x001</code> also shows up through <code>x002</code>, since the wrapper still holds that same list.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">class</span><span class="token plain"> </span><span class="token class-name">UnmodifiableList</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">extends</span><span class="token plain"> </span><span class="token class-name">UnmodifiableCollection</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">                              </span><span class="token keyword" style="color:#00009f">implements</span><span class="token plain"> </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">final</span><span class="token plain"> </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics operator" style="color:#393A34">?</span><span class="token generics"> </span><span class="token generics keyword" style="color:#00009f">extends</span><span class="token generics"> </span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> list</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token class-name">UnmodifiableList</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics operator" style="color:#393A34">?</span><span class="token generics"> </span><span class="token generics keyword" style="color:#00009f">extends</span><span class="token generics"> </span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> list</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">super</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">list</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">this</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">list </span><span class="token operator" style="color:#393A34">=</span><span class="token plain"> list</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token class-name">E</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">get</span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> index</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> list</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">get</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">index</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain" style="display:inline-block"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">void</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">add</span><span class="token punctuation" style="color:#393A34">(</span><span class="token keyword" style="color:#00009f">int</span><span class="token plain"> index</span><span class="token punctuation" style="color:#393A34">,</span><span class="token plain"> </span><span class="token class-name">E</span><span class="token plain"> element</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">throw</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">new</span><span class="token plain"> </span><span class="token class-name">UnsupportedOperationException</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<br>
<p>You can try it in this example.</p>
<iframe frameborder="0" src="https://onecompiler.com/java/44gh57eya?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="600px" title="Unmodifiable vs Immutable List Java Example"></iframe>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="immutablelist">ImmutableList<a href="https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist#immutablelist" class="hash-link" aria-label="Direct link to ImmutableList" title="Direct link to ImmutableList" translate="no">​</a></h3>
<p>This list captures the contents of the original collection at the moment of the copy. Later structural changes to the original list don’t affect it.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic">// List.java</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">copyOf</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">Collection</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics operator" style="color:#393A34">?</span><span class="token generics"> </span><span class="token generics keyword" style="color:#00009f">extends</span><span class="token generics"> </span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> coll</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> </span><span class="token class-name">ImmutableCollections</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">listCopy</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">coll</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><br></span></code></pre></div></div>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic">// ImmutableCollections.java</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">listCopy</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">Collection</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics operator" style="color:#393A34">?</span><span class="token generics"> </span><span class="token generics keyword" style="color:#00009f">extends</span><span class="token generics"> </span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> coll</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">else</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token comment" style="color:#999988;font-style:italic">// Copy the elements into a collection independent of the original.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token punctuation" style="color:#393A34">)</span><span class="token class-name">List</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">of</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">coll</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">toArray</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><span class="token punctuation" style="color:#393A34">.</span><br></span></code></pre></div></div>
<h1>3. When List.copyOf() can return the list it was given</h1>
<p>I left out a branch earlier to keep the example manageable. Here’s the full body of <code>ImmutableCollections.listCopy()</code>. Look at the first <code>if</code>.</p>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token keyword" style="color:#00009f">static</span><span class="token plain"> </span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">listCopy</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">Collection</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics operator" style="color:#393A34">?</span><span class="token generics"> </span><span class="token generics keyword" style="color:#00009f">extends</span><span class="token generics"> </span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> coll</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token comment" style="color:#999988;font-style:italic">// List12 and ListN both extend AbstractImmutableList.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token comment" style="color:#999988;font-style:italic">// For these compatible immutable lists, copyOf can return the input itself.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token keyword" style="color:#00009f">if</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">coll </span><span class="token keyword" style="color:#00009f">instanceof</span><span class="token plain"> </span><span class="token class-name">List12</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">||</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">coll </span><span class="token keyword" style="color:#00009f">instanceof</span><span class="token plain"> </span><span class="token class-name">ListN</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics operator" style="color:#393A34">?</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token plain"> c </span><span class="token operator" style="color:#393A34">&amp;&amp;</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">!</span><span class="token plain">c</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">allowNulls</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain">coll</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token comment" style="color:#999988;font-style:italic">// The remaining branches handle other inputs.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">else</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">if</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">coll</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">isEmpty</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> </span><span class="token class-name">List</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">of</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">else</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">        </span><span class="token keyword" style="color:#00009f">return</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">List</span><span class="token generics punctuation" style="color:#393A34">&lt;</span><span class="token generics class-name">E</span><span class="token generics punctuation" style="color:#393A34">&gt;</span><span class="token punctuation" style="color:#393A34">)</span><span class="token class-name">List</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">of</span><span class="token punctuation" style="color:#393A34">(</span><span class="token plain">coll</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">toArray</span><span class="token punctuation" style="color:#393A34">(</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">    </span><span class="token punctuation" style="color:#393A34">}</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<br>
<p>You can also find this in the Javadoc’s implementation note:</p>
<div class="theme-admonition theme-admonition-note admonition_xJq3 alert alert--secondary"><div class="admonitionHeading_Gvgb"><span class="admonitionIcon_Rf37"><svg viewBox="0 0 14 16"><path fill-rule="evenodd" d="M6.3 5.69a.942.942 0 0 1-.28-.7c0-.28.09-.52.28-.7.19-.18.42-.28.7-.28.28 0 .52.09.7.28.18.19.28.42.28.7 0 .28-.09.52-.28.7a1 1 0 0 1-.7.3c-.28 0-.52-.11-.7-.3zM8 7.99c-.02-.25-.11-.48-.31-.69-.2-.19-.42-.3-.69-.31H6c-.27.02-.48.13-.69.31-.2.2-.3.44-.31.69h1v3c.02.27.11.5.31.69.2.2.42.31.69.31h1c.27 0 .48-.11.69-.31.2-.19.3-.42.31-.69H8V7.98v.01zM7 2.3c-3.14 0-5.7 2.54-5.7 5.68 0 3.14 2.56 5.7 5.7 5.7s5.7-2.55 5.7-5.7c0-3.15-2.56-5.69-5.7-5.69v.01zM7 .98c3.86 0 7 3.14 7 7s-3.14 7-7 7-7-3.12-7-7 3.14-7 7-7z"></path></svg></span>Implementation Note:</div><div class="admonitionContent_BuS1"><p>If the given Collection is an unmodifiable List, calling copyOf will generally not create a copy.</p></div></div>
<br>
<p>In the next example, compare the references. For this immutable list, <code>List.copyOf</code> returns the same object.</p>
<iframe frameborder="0" src="https://onecompiler.com/embed/java/44gg6962y?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="500px"></iframe>
<p>The last example times repeated calls with the same immutable input. There’s no copying to do, and the elapsed time shown in this run is 0 ms.</p>
<iframe frameborder="0" src="https://onecompiler.com/embed/java/44gh5xgjx?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="500px"></iframe>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="references">References<a href="https://hyoyoonnam.github.io/en/difference-between-collections-unmodifiablelist-and-List-of-immutablelist#references" class="hash-link" aria-label="Direct link to References" title="Direct link to References" translate="no">​</a></h2>]]></content:encoded>
            <category>Java</category>
        </item>
        <item>
            <title><![CDATA[Sending a Message and Calling a Method]]></title>
            <link>https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling</link>
            <guid>https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling</guid>
            <pubDate>Sun, 18 Jan 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[We often say that we call a method. Seen through the lens of object-oriented programming, a more precise description of what the sender does is send a message.]]></description>
            <content:encoded><![CDATA[<p>We often say that we <em>call a method</em>. Seen through the lens of object-oriented programming, a more precise description of what the sender does is <em>send a message</em>.</p>
<p>I learned this in Java, a statically typed language, where the two are easy to conflate. Comparing it with JavaScript helped me see the distinction.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="0-a-little-terminology">0. A little terminology<a href="https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling#0-a-little-terminology" class="hash-link" aria-label="Direct link to 0. A little terminology" title="Direct link to 0. A little terminology" translate="no">​</a></h2>
<div class="language-java codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-java codeBlock_bY9V thin-scrollbar" style="color:#393A34;background-color:#f6f8fa"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token comment" style="color:#999988;font-style:italic">// The return type, name, and parameters are part of the declaration. In discussing the interface, we’ll refer to the operation and its signature.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token keyword" style="color:#00009f">public</span><span class="token plain"> </span><span class="token keyword" style="color:#00009f">void</span><span class="token plain"> </span><span class="token function" style="color:#d73a49">sayHello</span><span class="token punctuation" style="color:#393A34">(</span><span class="token class-name">String</span><span class="token plain"> name</span><span class="token punctuation" style="color:#393A34">)</span><span class="token plain"> </span><span class="token punctuation" style="color:#393A34">{</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">	</span><span class="token comment" style="color:#999988;font-style:italic">// The body supplies the implementation, also called the method.</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">	</span><span class="token class-name">System</span><span class="token punctuation" style="color:#393A34">.</span><span class="token plain">out</span><span class="token punctuation" style="color:#393A34">.</span><span class="token function" style="color:#d73a49">println</span><span class="token punctuation" style="color:#393A34">(</span><span class="token string" style="color:#e3116c">"안녕 "</span><span class="token plain"> </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> name </span><span class="token operator" style="color:#393A34">+</span><span class="token plain"> </span><span class="token string" style="color:#e3116c">"!"</span><span class="token punctuation" style="color:#393A34">)</span><span class="token punctuation" style="color:#393A34">;</span><span class="token plain"></span><br></span><span class="token-line" style="color:#393A34"><span class="token plain"></span><span class="token punctuation" style="color:#393A34">}</span><br></span></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="1-java-checks-types-before-the-program-runs">1. Java checks types before the program runs<a href="https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling#1-java-checks-types-before-the-program-runs" class="hash-link" aria-label="Direct link to 1. Java checks types before the program runs" title="Direct link to 1. Java checks types before the program runs" translate="no">​</a></h2>
<p>Java is statically typed. The compiler checks the type at compile time.
When the sender tries to send a message, the receiver’s declared type has to expose the corresponding operation. Otherwise, the program never gets to send it.
Compilation fails.</p>
<p>Working in a language like Java, it’s easy to come away thinking that sending a message and calling a method are the same thing.</p>
<iframe frameborder="0" src="https://onecompiler.com/embed/java/44axz2pcq?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="500px"></iframe>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="2-javascript-checks-at-runtime">2. JavaScript checks at runtime<a href="https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling#2-javascript-checks-at-runtime" class="hash-link" aria-label="Direct link to 2. JavaScript checks at runtime" title="Direct link to 2. JavaScript checks at runtime" translate="no">​</a></h2>
<p>JavaScript is dynamically typed. There’s no compile-time check that a <code>sayHello()</code> method exists on the receiver.
You can try sending the message to a <code>rock</code> object that has no such method. Ordinarily, trying to call it will then fail at runtime.</p>
<iframe frameborder="0" src="https://onecompiler.com/embed/java/44axefzbe?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="500px"></iframe>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-receiver-can-even-respond-without-defining-the-named-method">A receiver can even respond without defining the named method<a href="https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling#a-receiver-can-even-respond-without-defining-the-named-method" class="hash-link" aria-label="Direct link to A receiver can even respond without defining the named method" title="Direct link to A receiver can even respond without defining the named method" translate="no">​</a></h3>
<p>It’s hard to explain the next example as a call to a method on <code>rock</code>. There’s no <code>sayHello()</code> implementation sitting on that object.</p>
<p>The message model makes it easier to follow. The sender sends a message named <code>sayHello</code>. The receiver intercepts it and decides how to respond at runtime.</p>
<iframe frameborder="0" src="https://onecompiler.com/embed/java/44ay38vb2?codeEditors=true&amp;hideNew=true&amp;hideNewFile=true" width="100%" height="500px"></iframe>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="references">References<a href="https://hyoyoonnam.github.io/en/difference-between-message-sending-and-method-calling#references" class="hash-link" aria-label="Direct link to References" title="Direct link to References" translate="no">​</a></h2>
<p><em>Objects</em>, Cho Young-ho, p. 49.</p>]]></content:encoded>
            <category>Object-oriented programming</category>
        </item>
        <item>
            <title><![CDATA[I Won Inflearn’s 2025 Answer Award!]]></title>
            <link>https://hyoyoonnam.github.io/en/inflearn-2025-end-of-year-awards</link>
            <guid>https://hyoyoonnam.github.io/en/inflearn-2025-end-of-year-awards</guid>
            <pubDate>Wed, 24 Dec 2025 00:00:00 GMT</pubDate>
            <description><![CDATA[my-award]]></description>
            <content:encoded><![CDATA[<p><img decoding="async" loading="lazy" alt="my-award" src="https://hyoyoonnam.github.io/en/assets/images/my-award-390a557acebb8ce71a87d27fe37d64fb.png" width="460" height="334" class="img_ev3q"></p>
<p>Inflearn picked me for its end-of-year award for answering questions!</p>
<p><img decoding="async" loading="lazy" src="https://media1.tenor.com/m/wOlC5m7NikkAAAAd/%EC%A0%9C%EB%A6%AC%EC%9D%B8%EC%82%AC-%EC%A1%B4%EC%A4%91.gif" alt="jerry" class="img_ev3q"></p>
<p>Yes, that’s me. I’d like to share this award with the production team, who worked so hard, and with… well, you know the speech.</p>
<hr>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-the-gift-found-its-way-to-me">How the gift found its way to me<a href="https://hyoyoonnam.github.io/en/inflearn-2025-end-of-year-awards#how-the-gift-found-its-way-to-me" class="hash-link" aria-label="Direct link to How the gift found its way to me" title="Direct link to How the gift found its way to me" translate="no">​</a></h2>
<p><img decoding="async" loading="lazy" alt="inflearn-awards-2025" src="https://hyoyoonnam.github.io/en/assets/images/inflearn-awards-2025-8d9a16a58e7c1d1778be170351b4f5a0.png" width="1200" height="926" class="img_ev3q">
I didn’t even know Inflearn had end-of-year awards. When an email came asking for my address, I took it for one of their regular promotional emails and went right past it.</p>
<p>Luckily for me, someone at Inflearn thought to follow up by text. I got my address in after all.</p>
<p><img decoding="async" loading="lazy" alt="present-1" src="https://hyoyoonnam.github.io/en/assets/images/present-1-e281f409589382bab53d4cbae0589ffa.jpg" width="3024" height="4032" class="img_ev3q">
<img decoding="async" loading="lazy" alt="present-2" src="https://hyoyoonnam.github.io/en/assets/images/present-2-0453a4415c9b385d2196a05d8880ff75.jpg" width="3024" height="4032" class="img_ev3q">
And what arrived? Wine and cheese! Just the thing for us grown-up kids studying hard on Inflearn.</p>
<p><img decoding="async" loading="lazy" alt="present-3" src="https://hyoyoonnam.github.io/en/assets/images/present-3-a996ade374eb96d3c15b27b4136cb5b9.jpg" width="1170" height="579" class="img_ev3q"></p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="why-did-i-start-answering-questions">Why did I start answering questions?<a href="https://hyoyoonnam.github.io/en/inflearn-2025-end-of-year-awards#why-did-i-start-answering-questions" class="hash-link" aria-label="Direct link to Why did I start answering questions?" title="Direct link to Why did I start answering questions?" translate="no">​</a></h2>
<p>I learn a surprising amount from answering other people’s questions. And I enjoy the answering itself.</p>
<p>There’s quite a distance between knowing something and helping someone else understand it. Sometimes I wonder how well I know a thing if I can only explain it to myself.</p>
<p>I’ve often started typing with a cheerful “Oh, I know this one! Let me explain,”
only to stop halfway through. “I’ve always taken this bit for granted. How would I explain it to this person?” Or, “Is that actually true? Where does the official documentation say so?”</p>
<p>That’s the weight of telling someone how something works.</p>
<p>To finish the answer, I have to put what I know into words someone else can follow and find evidence for it. In the process I fill in gaps I hadn’t realized were there.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-soft-spot-for-inflearn">A soft spot for Inflearn<a href="https://hyoyoonnam.github.io/en/inflearn-2025-end-of-year-awards#a-soft-spot-for-inflearn" class="hash-link" aria-label="Direct link to A soft spot for Inflearn" title="Direct link to A soft spot for Inflearn" translate="no">​</a></h2>
<p><img decoding="async" loading="lazy" alt="smile" src="https://hyoyoonnam.github.io/en/assets/images/smile-36f6b74e1332427112be75d66745ea9a.gif" width="456" height="406" class="img_ev3q"></p>
<p>I already liked Inflearn and was happy using it. I can hardly pretend an end-of-year present hasn’t made me a little fonder of it.</p>
<p>Inflearn gave me a chance to leave them a message, so I tried to fit all that affection into it. I’ll leave it here to close out the post.</p>
<hr>
<h4 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-note-to-inflearn">A note to Inflearn<a href="https://hyoyoonnam.github.io/en/inflearn-2025-end-of-year-awards#a-note-to-inflearn" class="hash-link" aria-label="Direct link to A note to Inflearn" title="Direct link to A note to Inflearn" translate="no">​</a></h4>
<blockquote>
<p>I had no idea you did anything like this. What a lovely way to end the year!</p>
<p>For the past couple of months I’ve been at the Baemin bootcamp, working on the fundamentals as I prepare to look for a job. I haven’t been on Inflearn as much, so it was lovely to be included on the strength of the answers I’d been posting before that.</p>
<p>I kept volunteering answers for two reasons. Writing them helped me, and I thought someone might get as much out of mine as I’d gotten out of other people’s.</p>
<p>Other students’ answers have often left me with a new question. Chasing it down helped me grow, and sometimes one answer gave me a way of seeing something that hadn’t occurred to me at all.</p>
<p>I started answering to return a little of that kindness. Of course, having to explain something to someone else helped me work on my own weak spots, too.</p>
<p>Inflearn was there when I first started learning to program. I’m pretty attached to it.</p>
<p>Over the last few years I’ve watched the mobile app get updates, new features arrive, and events come and go. I catch myself thinking, “They’re really working at this. Look how much room they still have to grow.” It makes me oddly proud.</p>
<p>I’ve found every course I needed on Inflearn. I haven’t even signed up for another service, though I think there are two or three others in Korea.</p>
<p>I’m not sure what you currently offer new members. A generous welcome offer might be worth a try. Once people start taking courses, I can see them sticking around.</p>
<p>Another way to reach new students might be to get in touch with university administrators or student councils and set up a little campus booth with courses or coupons to give away.</p>
<p>They’re in different businesses, but Notion recruits student ambassadors, and I’ve often seen Monster giving away energy drinks on campus.</p>
<p>Another thought as I write this: if a few instructors were interested, perhaps Inflearn could approach a university about hosting a guest lecture. I can imagine that going over quite well.</p>
<p>This has turned into a long note. I hope you have a lovely end to the year, and that in 2026 both Inflearn and I get a little closer to the things we’re working toward!</p>
</blockquote>]]></content:encoded>
            <category>Life</category>
        </item>
    </channel>
</rss>