diff --git a/handbook/computing/todo.html b/handbook/computing/todo.html index 04caf8d88..156cd5fd0 100644 --- a/handbook/computing/todo.html +++ b/handbook/computing/todo.html @@ -208,7 +208,7 @@ Click here if no todo list appears here.</div></a> <li><!--2020-07-24 psargent-->Both recursive load and linear load parsers/survex could do this. <li><!--2020-07-24 psargent-->In the logbooks parsing and cache loading. </details> -<details><summary><!--2020-07-24 psargent-->Replace assert() with dataIssue [NOTIFICATION pattern] or Exceptions</summary> +<details><summary><!--2020-07-24 psargent-->Enhance some exceptions with dataIssue [NOTIFICATION pattern], not just in parsers</summary> <li><!--2020-07-24 psargent-->https://martinfowler.com/articles/replaceThrowWithNotification.html </details> <details><summary><!--2020-07-24 psargent-->Python documentation: Django's use of modern unobvious idioms</summary> diff --git a/handbook/troggle/trogkill.html b/handbook/troggle/trogkill.html index c03cbc955..471539a9f 100644 --- a/handbook/troggle/trogkill.html +++ b/handbook/troggle/trogkill.html @@ -52,6 +52,8 @@ nearly half of it is directly relevant to us: </ul> <p>The book was published in March 2021. +<h3>Refactoring</h3> +<p>So how do we repair old code? By <a href="https://refactoring.com/catalog/">refactoring</a>. I use the first edition of Fowler's book rather than the 2nd. And Brett Slatkin's <a href="https://effectivepython.com/">Effective Python</a> (second edition) is absolutely invaluable. <br> <hr /> Return to: <a href="trogintro.html">Troggle intro</a><br />