Content-Length: 233440 | pFad | http://github.com/advent-of-craft/2023/blob/main/docs/exercise/day20/challenge.md

28 2023/docs/exercise/day20/challenge.md at main · advent-of-craft/2023 · GitHub
Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 986 Bytes

challenge.md

File metadata and controls

28 lines (16 loc) · 986 Bytes

Day 20: A game of dice.

Today, you are hitting the storm and it's much bigger than anticipated.

You have to navigate carefully in order to avoid the worst of it. A simple mistake can be costly.

Today's exercise is about insuring safe states in your main logic.

You now know how to remove exception but ensuring a safe state is another thing.

It's all about protection of your code

Challenge of day 20: No more exceptions in our domain.

You are not allowed to extend the output of the methods (by returning a monadic container) as yesterday... You need to find another way to solve it 🤔

May your crafting journey be safe!

  • 💡HINT: What triggers the unsafe state here?

To better understand the game rules we invite you to take a look them here.

snippet of the day

Proposed Solution

Proposed Solution Guide









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/advent-of-craft/2023/blob/main/docs/exercise/day20/challenge.md

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy