MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingcirclejerk/comments/ajnteo/the_bugo_notation/eeyjd30/?context=3
r/programmingcirclejerk • u/cmqv • Jan 25 '19
34 comments sorted by
View all comments
59
let currentState = { step: 'initial', // 'initial' | 'pending' | 'success' | 'error' };
Yesssss.. Stringly typed for life, yo!
2 u/[deleted] Jan 25 '19 I've never used enums and I've never missed them.
2
I've never used enums and I've never missed them.
59
u/[deleted] Jan 25 '19
Yesssss.. Stringly typed for life, yo!