데브허브 | DEVHUB | You could be doing more with static typing in Gleam
The first 500 people to use my link https://skl.sh/isaacharrisholt01251 will get a 1 month free trial of Skillshare!
Static typing is really cool, but most people don't take full advantage of all of it's features. Did you know you can tighten up your business logic with compile time types? Let me show you how!
Resources:
Pevensie: https://github.com/Pevensie/pevensie
Hayleigh's article: https://blog.hayleigh.dev/phantom-typ...
__________________________________________
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:37 - What are phantom types?
01:57 - Phantom types in scientific computing
04:05 - Making type-safe database IDs
05:09 - Pevensie
06:12 - Not a silver bullet
#gleam #softwareengineer
This video is sponsored by Skillshare.