Interactions
Reply from Oto Šťáva:
(Original Post)
@h4kor Very nice! By the way, in Zig you don't need that assert at the top, the .? operator already does that exact same assertion for you.
(Original Post)
Liked by
Oto Šťáva
Reply from theludovyc:
(Original Post)
@h4kor Great, more readable ! Maybe if you want to go further, you can create a State class 😊 https://refactoring.guru/design-patterns/state
(Original Post)
Liked by
fritzlolpro
Liked by
OtterSpace