<story><title>Writing Python like Rust (2020)</title><url>https://oatzy.github.io/2020/05/10/writing-python-like-rust.html</url></story><parent_chain><item><author>Turskarama</author><text>This is why I can&amp;#x27;t help but mentally roll my eyes when people say that static typing makes programming slower.&lt;p&gt;It makes writing the happy path slower, but is writing the happy path _programming?_&lt;p&gt;By the time you have a program which is complete and (at least mostly) bug free, the static typing has saved you hundreds of hours.</text></item><item><author>ddejohn</author><text>My current role is at a company with a few hundred &lt;i&gt;thousand&lt;/i&gt; lines of un-typed, undocumented, mostly un-tested Python. I get a small allowance of &amp;quot;tech debt busting&amp;quot; time, and it&amp;#x27;s absurd how many bugs I find just by trying to suss out the types on a given code path. It&amp;#x27;s maddening work.</text></item></parent_chain><comment><author>lixtra</author><text>&amp;gt; It makes writing the happy path slower, but is writing the happy path _programming?_&lt;p&gt;The happy path is just fine for many cases.&lt;p&gt;Your home isn’t built to withstand a determined attacker with a tank. But we live in a happy world and a lot of stuff exists because people can cut corners.&lt;p&gt;Good managers&amp;#x2F;programmers know where they can be sloppy and where they have to be super careful.&lt;p&gt;The beauty of technical debt is that it only has to be repaid in case of success.</text></comment>
<story><title>Writing Python like Rust (2020)</title><url>https://oatzy.github.io/2020/05/10/writing-python-like-rust.html</url></story><parent_chain><item><author>Turskarama</author><text>This is why I can&amp;#x27;t help but mentally roll my eyes when people say that static typing makes programming slower.&lt;p&gt;It makes writing the happy path slower, but is writing the happy path _programming?_&lt;p&gt;By the time you have a program which is complete and (at least mostly) bug free, the static typing has saved you hundreds of hours.</text></item><item><author>ddejohn</author><text>My current role is at a company with a few hundred &lt;i&gt;thousand&lt;/i&gt; lines of un-typed, undocumented, mostly un-tested Python. I get a small allowance of &amp;quot;tech debt busting&amp;quot; time, and it&amp;#x27;s absurd how many bugs I find just by trying to suss out the types on a given code path. It&amp;#x27;s maddening work.</text></item></parent_chain><comment><author>eweise</author><text>plus modern statically typed languages have type inference so I don&amp;#x27;t buy the argument that the happy path is faster in dynamically typed languages.</text></comment>