Really like generators! The concept really clicked when I first heard them described as "pausable functions". Also, that you can get information in and out at any times is really cool, like opening a portal between different dimensions. 🌌
When I used Redux Saga for frontend state management for a project I got to go more in depth with them, really fun!
I was completely taken off guard the first time I saw yield in a code base. I just thought of them as alternative to returning arrays until I learned about what generators are.
I haven't used them a lot but now I know what I'm looking at in third party code! 😅
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Really like generators! The concept really clicked when I first heard them described as "pausable functions". Also, that you can get information in and out at any times is really cool, like opening a portal between different dimensions. 🌌
When I used Redux Saga for frontend state management for a project I got to go more in depth with them, really fun!
Plausible functions are a great way to put it! 💡
I was completely taken off guard the first time I saw
yield
in a code base. I just thought of them as alternative to returning arrays until I learned about what generators are.I haven't used them a lot but now I know what I'm looking at in third party code! 😅