My favourite Gleam feature - use - is often misunderstood, and many people find it confusing. Let's take a look at how it works, how to use it, and when not to.
Resources:
Using use in Gleam: https://erikarow.land/notes/using-use...
__________________________________________
Check out my other socials!
🎮 Discord ▶ https://discordapp.com/invite/bWrctJ7
🐦 Twitter ▶ / isaacharrisholt
🖥️ Portfolio ▶ https://ihh.dev
📝 Blog ▶ https://isaacharrisholt.com
__________________________________________
Timestamps:
00:00 - Introduction and explanation
00:43 - Callback hell
01:28 - What `use` does
03:51 - When NOT to use `use`
#gleam #softwareengineer