<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>TIL - Tag - My Notes</title><link>https://blog.emecas.net/tags/til/</link><description>TIL - Tag - My Notes</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Tue, 12 Feb 2019 13:46:49 -0500</lastBuildDate><atom:link href="https://blog.emecas.net/tags/til/" rel="self" type="application/rss+xml"/><item><title>python -m idlelib.idle</title><link>https://blog.emecas.net/posts/2019-02-12-python-m-idlelib-idle/</link><pubDate>Tue, 12 Feb 2019 13:46:49 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-02-12-python-m-idlelib-idle/</guid><description><![CDATA[<p>python -m idlelib.idle<br>
Starts IDLE, the editor and interactive shell that comes with Python, from a terminal.<br>
<a href="https://docs.python.org/3/library/idle.html" target="_blank" rel="noopener noreffer ">https://docs.python.org/3/library/idle.html</a></p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/92ec7bbdf1adb3c5a16b63f38c4d73c749f5dfc1" target="_blank" rel="noopener noreffer "><code>92ec7bb</code></a> in My-Notes, improved in <a href="https://github.com/emecas/My-Notes/commit/f8bcb345fe8e49f5acb721e484214afe2a67b3c8" target="_blank" rel="noopener noreffer "><code>f8bcb34</code></a> (2026-11-22).</em></p>]]></description></item><item><title>Don't Measure Unit Test Code Coverage</title><link>https://blog.emecas.net/posts/2019-02-02-don-t-measure-unit-test-code-coverage/</link><pubDate>Sat, 02 Feb 2019 14:53:12 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-02-02-don-t-measure-unit-test-code-coverage/</guid><description><![CDATA[<p>Don&rsquo;t Measure Unit Test Code Coverage<br>
By James Shore<br>
01 Feb, 2019<br>
<a href="https://www.jamesshore.com/v2/blog/2019/dont-measure-unit-test-code-coverage" target="_blank" rel="noopener noreffer ">https://www.jamesshore.com/v2/blog/2019/dont-measure-unit-test-code-coverage</a></p>
<blockquote>
<p>If you&rsquo;re using test-driven development, don&rsquo;t measure unit test code coverage. It&rsquo;s worse than a useless statistic; it will actively lead you astray.</p>
</blockquote>
<p>What should you do instead? That depends on what you want to accomplish.</p>
<ul>
<li>To improve code and test practices: perform root-cause analysis of escaped defects, then improve your design and process to prevent that sort of defect from happening again</li>
<li>To improve programmer code quality: teach testing skills, speed up the test loop, refactor more, use evolutionary design, and try pairing or mobbing</li>
<li>To improve test discipline: use coaching and discipline-enhancing practices such as pairing or mobbing</li>
<li>To add tests to legacy code: nurture a habit of adding tests as part of working on any code</li>
<li>To improve requirements code quality: involve customer representatives early in the process</li>
<li>To improve non-functional quality: use a mix of real-world monitoring, fail-fast code, and specialized testbeds</li>
<li>(TDD reflexion) Here&rsquo;s the thing about TDD: any code you want to cover is ipso facto covered. If you&rsquo;re still getting defects, something else is wrong.</li>
</ul>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/659e7c7d2383a4d347fc8f85f12272e48ffbaadc" target="_blank" rel="noopener noreffer "><code>659e7c7</code></a> in My-Notes, improved in <a href="https://github.com/emecas/My-Notes/commit/6cc6d0e312c3631b64e5bc52a4393e9a60787946" target="_blank" rel="noopener noreffer "><code>6cc6d0e</code></a> (2026-11-23).</em></p>]]></description></item><item><title>.gitignore nice pattern</title><link>https://blog.emecas.net/posts/2019-02-01-gitignore-nice-pattern/</link><pubDate>Fri, 01 Feb 2019 12:55:12 -0500</pubDate><author>emecas</author><guid>https://blog.emecas.net/posts/2019-02-01-gitignore-nice-pattern/</guid><description><![CDATA[<p>.gitignore nice pattern</p>
<p>[TIL] : there is not other place where you can see a practical example<br>
Ref: <a href="https://stackoverflow.com/a/8527645/833336" target="_blank" rel="noopener noreffer ">https://stackoverflow.com/a/8527645/833336</a></p>
<p>Line Examples:</p>
<p>#<br>
[Tt]est[Rr]esult*/</p>
<p># Build results<br>
[Dd]ebug/<br>
[Dd]ebugPublic/<br>
[Rr]elease/<br>
[Rr]eleases/<br>
x64/<br>
x86/<br>
bld/<br>
[Bb]in/<br>
[Oo]bj/<br>
[Ll]og/</p>
<p>More refs:<br>
<a href="https://git-scm.com/docs/gitignore" target="_blank" rel="noopener noreffer ">https://git-scm.com/docs/gitignore</a><br>
<a href="http://man7.org/linux/man-pages/man3/fnmatch.3.html" target="_blank" rel="noopener noreffer ">http://man7.org/linux/man-pages/man3/fnmatch.3.html</a><br>
[TC] Repo: <a href="https://github.com/github/gitignore" target="_blank" rel="noopener noreffer ">https://github.com/github/gitignore</a> <a class="star-note-link" href="/posts/2018-06-06-github-gitignore/" title="github/gitignore: my star note">★&nbsp;star&nbsp;note</a></p>
<hr>
<p><em>Source: commit <a href="https://github.com/emecas/My-Notes/commit/df05c293725e3941cfbe0f13f56b867cd4d777b9" target="_blank" rel="noopener noreffer "><code>df05c29</code></a> in My-Notes.</em></p>]]></description></item></channel></rss>