No video

Make invalid states unrepresentable: the untaught revelation

  Рет қаралды 1,398

GeekLaunch

GeekLaunch

Күн бұрын

How much power can you derive from a good type system? Let's use Rust to illustrate a concept I never once heard in college, but has been invaluable to me throughout my software development career:
"Make invalid states unrepresentable."
You may have seen this statement on Haskell forums, etc. but if you're not familiar with Haskell or other languages with similarly expressive type systems, it might not seem feasible to encode much or complex structure into your types.
This video is a short discussion and overview of some of the ideas underlying that mantra. I hope you find it useful!
Additional resources:
fsharpforfunan...
blog.janestree...
khalilstemmler...
hugotunius.se/...
oleb.net/blog/...
• CppCon 2016: Ben Deane...
The style of this video was inspired somewhat by ‪@CodeAesthetic‬ and ‪@NoBoilerplate‬ , both excellent channels I would highly recommend you peruse.
I also publish articles on my website: geeklaunch.io/
Follow GeekLaunch on Twitter: / geek_launch
Follow Jacob on Twitter: / sudo_build
Not a geek? Start today!

Пікірлер: 7
@jonahbranch5625
@jonahbranch5625 Жыл бұрын
Great video! I like how this was general philosophical information which is applicable to pretty much any code base. Very underrated channel
@GeekLaunch
@GeekLaunch Жыл бұрын
Thank you!
@fabricehategekimana5350
@fabricehategekimana5350 11 ай бұрын
This video is incredible ! I was looking for people that talk about code as a tool for reasoning. I suscribbed
@trendingtopicresearch9440
@trendingtopicresearch9440 Жыл бұрын
Awesome, thanks!
@armandomedina6650
@armandomedina6650 Жыл бұрын
Hey Jacob! at min 3:29 hash or hex? 🤔
@ZoomQuiet
@ZoomQuiet Жыл бұрын
“白” means white == "#FFFFFF" is color name ;-)
@GeekLaunch
@GeekLaunch Жыл бұрын
Correct 😁 it was a joke.
Rust makes you feel like a GENIUS
10:48
No Boilerplate
Рет қаралды 404 М.
Harley Quinn lost the Joker forever!!!#Harley Quinn #joker
00:19
Harley Quinn with the Joker
Рет қаралды 28 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 36 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 39 МЛН
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 143 М.
Rust Functions Are Weird (But Be Glad)
19:52
Logan Smith
Рет қаралды 133 М.
The Ultimate Guide to C# Records
12:55
Zoran Horvat
Рет қаралды 17 М.
Rust Data Modelling Without Classes
11:25
No Boilerplate
Рет қаралды 169 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 164 М.
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 439 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 333 М.
Rusty Enums - Learn Rust EP.6
16:14
Null Labs
Рет қаралды 2,2 М.
I Cannot Believe TypeScript Recommends You Do This!
7:45
Web Dev Simplified
Рет қаралды 169 М.