mirror of
https://github.com/zakirullin/cognitive-load.git
synced 2025-10-09 13:42:36 +03:00
add blockquote
This commit is contained in:
@@ -29,8 +29,7 @@ The tricky part is that the previous author may not have experienced a high cogn
|
||||
It is likely that the previous author(s) created this huge mess one tiny increment at a time, not all at once. So you are the first person who has ever had to try to make sense of it all at once.<br><br>
|
||||
In my class I describe a sprawling SQL stored procedure we were looking at one day, with hundreds of lines of conditionals in a huge WHERE clause. Someone asked how anyone could have let it get this bad. I told them: “When there are only 2 or 3 conditionals, adding another one doesn’t make any difference. By the time there are 20 or 30 conditionals, adding another one doesn’t make any difference!”<br><br>
|
||||
There is no “simplifying force” acting on the code base other than deliberate choices that you make. Simplifying takes effort, and people are too often in a hurry.<br><br>
|
||||
<i>Thanks to <a href="https://dannorth.net">Dan North</a> for sharing his ideas.</i>
|
||||
|
||||
<i>Thanks to <a href="https://dannorth.net">Dan North</a> for sharing his ideas.</i><br><br>
|
||||
<blockquote>Once you onboard new people on your project, try to measure the amount of confusion they have (pair programming may help). If they're confused for more than ~40 minutes in a row - you've got things to improve.</blockquote>
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user