Skip to content

Commit

Permalink
Simplify title 20240827
Browse files Browse the repository at this point in the history
  • Loading branch information
damianooldoni committed Aug 27, 2024
1 parent 6013fe8 commit fa1ea01
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/sessions/20240827_the_art_of_debugging.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -559,7 +559,7 @@
---
class: left, top

# Miscellaneous tips: optimize your code
# Tips: optimize your code

We are typically lazy, aren't we?

Expand All @@ -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.

Expand Down

0 comments on commit fa1ea01

Please sign in to comment.