Mental Models, Programming Fictions, and Wittgenstein

<p>This is a follow-up essay to my previous one about&nbsp;<a href="https://vojtechtuma.medium.com/debuggers-and-empathy-ec7d0a976436" rel="noopener">Empathy and Debuggers</a>, where I confessed to my preference for empathically understanding the code rather than for line-oriented debugging.</p> <p>Here, I would like to expand that slightly mystic notion of empathic understanding with a more exact one of mental models and share a few tips on how I build and update them.</p> <h1>Mental Models for Fixing Bugs</h1> <p>Troubleshooting why an alert has appeared, why tests started to fail after you did a change, why a command is failing for your colleague yet works for you &mdash; those are very often solved by one small change at a single place, and the difficulty lies in finding that place and that change. My usual strategy to find it is to consult the&nbsp;<em>mental model</em>&nbsp;I have for the pipeline/code/command in question:</p> <p><a href="https://medium.com/better-programming/mental-models-programming-fictions-and-wittgenstein-d97f1c849df2"><strong>Read More</strong></a></p>
Tags: Wittgenstein