When muscles are not used for a long period (like during prolonged bed rest, wearing a cast, or lack of physical activity), they start shrinking in size and become weaker.
We could focus on our body, our breathing, listening to sounds, or looking at a visual object. This helps us to be present, and it teaches us how not to get too entangled in our thoughts.
rustlang ? operator
- It either returns the Ok value directly, or performs an early exit and propagates the Err value further out.
- will also perform an implicit "upcast" on the exception type
- anyhow (or eyre) for a boxed portmanteau error type
TypeScript Discriminated Unions for Type Safety
- also known as tagged unions
- this pattern uses a common property (the "discriminant") to distinguish between the different types in the union, allowing TypeScript to infer the correct type based on the value of that property