Skip to content

Commit

Permalink
Document use of global mutability in robot-name (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor authored Dec 19, 2023
1 parent bfbd00f commit 0a9469c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions exercises/practice/robot-name/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Instructions append

## Global Mutable State

The way the tests are setup, you will be forced to use global mutable state.
This is generally frowned-upon and considered unidiomatic in Rust.
However, it's a delibarate choice for the purpose of learning here.

Can you think of a better API design that doesn't use global mutable state?

0 comments on commit 0a9469c

Please sign in to comment.