<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>Musing - Category - WeepingDogel&#39;s Blog</title>
        <link>http://blog.weepingdogel.vip/categories/musing/</link>
        <description>Musing - Category - WeepingDogel&#39;s Blog</description>
        <generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>weepingdogel@gmail.com (WeepingDogel)</managingEditor>
            <webMaster>weepingdogel@gmail.com (WeepingDogel)</webMaster><lastBuildDate>Mon, 04 Sep 2023 01:41:52 &#43;0800</lastBuildDate><atom:link href="http://blog.weepingdogel.vip/categories/musing/" rel="self" type="application/rss+xml" /><item>
    <title>A Chronicle of the Eight A.M. Class</title>
    <link>http://blog.weepingdogel.vip/posts/early-eight/</link>
    <pubDate>Mon, 04 Sep 2023 01:41:52 &#43;0800</pubDate><author>
        <name>WeepingDogel</name>
    </author><guid>http://blog.weepingdogel.vip/posts/early-eight/</guid>
    <description><![CDATA[<div class="featured-image">
                <img src="/img/early-eight.jpg" referrerpolicy="no-referrer">
            </div><p>At eight in the morning, the instructor set out to teach us the art of Python, as part of our computer operations and maintenance course.</p>
<p>Yet among those seated in the classroom, no one knew about numbers or lists, let alone functions and objects.</p>
<p>Seeing this, the instructor proceeded to teach us the art of manipulating strings, reviewing the fundamentals of Python once again.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
<p>After several hours, the instructor instructed us to use Python to convert strings into floating-point numbers and calculate their average.</p>
<p>The instructor said:</p>
<blockquote>
  <p>&ldquo;The art of Python requires practice. Write your code and annotate it. Examine it line by line, find what is missing, and fill in the gaps.&rdquo;</p>

</blockquote><p>I spent a few moments writing and annotating my code, using static methods and an object-oriented approach.<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup> Having finished the code, I grew drowsy, yet was not allowed to rest.</p>
<p>My classmates knew next to nothing. They kept interrupting me with questions, apparently unaware that indentation is what Python uses to distinguish blocks of code.<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup></p>
<p>The instructor could only close their eyes and sigh, before hurriedly distributing the solutions to everyone&rsquo;s computers.<sup id="fnref:4"><a href="#fn:4" class="footnote-ref" role="doc-noteref">4</a></sup></p>
<blockquote>
  <p>&ldquo;Refer to the examples, but don&rsquo;t copy them. Think for yourselves and write your own code. Otherwise, all your effort will be for nothing.&rdquo;</p>

</blockquote><p>I submitted my assignment and went to sleep, only to hear the instructor explaining what a string was and how to split and join one. How dreadfully boring!</p>
<p>By the end of the class, someone still hadn&rsquo;t grasped the technique. In desperation, they copied and pasted the code, only to be greeted by red error messages and a swarm of bugs.</p>
<p>I woke up and asked what was wrong.</p>
<blockquote>
  <p>&ldquo;I don&rsquo;t understand what these foreign words mean, and all these red symbols keep appearing…&rdquo;</p>

</blockquote><p>I was baffled. An entire semester had already passed, yet some people still didn&rsquo;t understand the nature of Python, let alone how to use those red error messages to correct their mistakes and squash their bugs.</p>
<hr>
<p>The hours dragged on. From eight in the morning until noon,<sup id="fnref:5"><a href="#fn:5" class="footnote-ref" role="doc-noteref">5</a></sup> the instructor had taught nothing but these elementary Python techniques, and still no one had grasped them.</p>
<p>I could only laugh helplessly. Knowing how tedious and pointless the class had been, I headed to the market to buy fried chicken and cola.</p>
<p>The fried chicken was delicious. For a mere twelve yuan, I got half a chicken with a cola—and another half chicken was thrown in for free.<sup id="fnref:6"><a href="#fn:6" class="footnote-ref" role="doc-noteref">6</a></sup></p>
<p>I ate to my heart&rsquo;s content, promptly forgetting the tedium of class and turning instead to the pleasures of Minecraft.<sup id="fnref:7"><a href="#fn:7" class="footnote-ref" role="doc-noteref">7</a></sup></p>
<hr>
<blockquote>
  <p>How utterly pathetic I am! To be studying at the same school as these people is proof enough that I&rsquo;m a fool myself.</p>

</blockquote><p><span style="float:right;">September 4, 2023</span>
<br />
<br /></p>
<h4 id="translators-notes" class="headerLink">
    <a href="#translators-notes" class="header-mark"></a>Translator&rsquo;s Notes</h4><div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p><strong>String manipulation:</strong> The original uses a playful, mock-classical expression for basic Python string operations.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p><strong>Static methods and object-oriented programming:</strong> The author completed the assignment using these techniques, rather than merely following the simplest approach.&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:3">
<p><strong>Indentation:</strong> Python uses indentation to define code blocks. According to the original footnote, some classmates did not even understand this fundamental feature and wrote inconsistently formatted code.&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:4">
<p><strong>Distributing the solutions:</strong> The instructor hurriedly sent the students the worked solutions or answers.&#160;<a href="#fnref:4" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:5">
<p><strong>Eight until noon:</strong> The class occupied the entire morning: four major class periods, each consisting of two shorter periods.&#160;<a href="#fnref:5" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:6">
<p><strong>The extra chicken:</strong> This was a promotion for new customers at the restaurant at the time.&#160;<a href="#fnref:6" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:7">
<p><strong>Minecraft:</strong> The original calls it &ldquo;the game of blocks,&rdquo; a humorous, mock-classical description of Minecraft.&#160;<a href="#fnref:7" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>]]></description>
</item></channel>
</rss>
