This was a good blog post. I have started using approach #3 as well for just about every situation where I was originally planning on just using a enum type by itself. Inevitably I end up needing to apply shared state to all of my enums (create date, parent table ID, etc.) and this approach has really worked out very well.
You can also add some convenience functions for returning if the kind is one of the variants (ex: IsKeywordSearch) to make if-statements easier to read (and a match on the type enum is overly verbose when you don't need the properties contained within the enum itself).
The main one that jumped out to me was a scroll issue on iOS when using multiple fingers. I just looked it up to share a link and it may be fixed? It's the mentality of "Eh, we might fix it one day" that is the bulk of why I didn't stick with Flutter. A bug this annoying lingering for as long as it did said volumes to me.
Possibly fixed: https://9to5google.com/2023/12/28/google-fixes-flutter-infamous-scrolling-bug/
"Maintainable code and common patterns? But I prefer code-golfing my if-statements into one, long sequence of characters." -coworker standing atop the Dunning-Kruger peak
Which games are those?
Is that a water dispenser? I need something like that.
I would agree. Only if the performance is extremely similar but the readability (for some reason) is significantly better for the recursive solution would I choose that.
Rust, easily.
I love any reduction in build times. This is great news.
My current favorite is mostly Rust-based with the tide crate, tide-jsx crate, vanilla JS, postgres crate, and Postgres in Docker. Super easy, super fast (to develop and run), but I haven't made any large web projects with this stack yet, just small stuff.
I just started using vim binding seriously a year ago and using vim generally to work with code. I'm so grateful for his (and everyone else's work) on this product. I can only hope that my software can make such an impact on the world.
Can you please elaborate on how, when using Rust, we can avoid needing to debug our JS code? I am very interested and hope that I didn't misunderstand you.
livingcoder
0 post score0 comment score
Voyager is so good. I need to rewatch TNG and Voyager again.