The Big OOPs: Anatomy of a Thirty-five-year Mistake [Casey Muratori]
(www.youtube.com)
from cm0002@lemmy.world to programming@programming.dev on 19 Jul 02:44
https://lemmy.world/post/33163891
from cm0002@lemmy.world to programming@programming.dev on 19 Jul 02:44
https://lemmy.world/post/33163891
“Compile-time hierarchy of encapsulation that matches the domain model was a mistake.”
threaded - newest
This guy knows his stuff. Saw him on the standup podcast, and he vomits knowledge at you.
So much time in my undergrad designing stupid inheritance hierarchies for systems (petrol stations, web servers, guidance systems), none of it even remotely applicable in my actual career as a dev. In fact, practically every time someone had done something “clever” with inheritance it caused subtle bugs or made maintenance and extension much harder than it should have been.
Would an immediate mode GUI be a good match for Rust?
according to https://areweguiyet.com/, there are currently 2 distinguished immediate-mode GUI libraries for rust:
- https://docs.rs/egui/latest/egui/
- https://docs.rs/imgui
I don't know whether that makes it a good match, but apparently it's at least feasible.