diff --git a/docs/sessions/20240827_the_art_of_debugging.html b/docs/sessions/20240827_the_art_of_debugging.html index 8e526fd..4a91cd4 100644 --- a/docs/sessions/20240827_the_art_of_debugging.html +++ b/docs/sessions/20240827_the_art_of_debugging.html @@ -522,7 +522,7 @@ --- class: left, top -# Miscellaneous tips: smaller the better +# Tips: smaller the better 1. Build up code in small pieces, testing along the way, step by step 1. Make big changes in small steps @@ -531,7 +531,7 @@ --- class: left, top -# Miscellaneous tips: do not code so _hard_ +# Tips: do not code so _hard_ 1. Do not __hard__code numbers: use variables instead (number of iterations, parameter values in simulations, ...). Easier to read and reduce the amount of potential bugs when you use the same number multiple times. 1. Avoid using **global variables** in your function @@ -559,7 +559,7 @@ --- class: left, top -# Miscellaneous tips: optimize your code +# Tips: optimize your code We are typically lazy, aren't we? @@ -578,7 +578,7 @@ --- class: left, top -# Miscellaneous tips: share your debugging story +# Tips: share your debugging story Some bugs are worth being shared with others: package developers, your team, all the R community! It will help future-you, it will help your colleagues, it will help others worldwide.