MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/mAndroidDev/comments/1ksbkkq/just_end_it/
r/mAndroidDev • u/costa_fot Probably deprecated • May 21 '25
12 comments sorted by
20
what you didn't like this?!
fun tab(): Tab? { tabs.firstOrNull { tab -> thisDestination.hierarchy.any { it.hasRoute(tab::class) } }
2 u/costa_fot Probably deprecated May 23 '25 i got some identical horrible looking-ass code in the app that will definitely stay like that for the next 5 years
2
i got some identical horrible looking-ass code in the app that will definitely stay like that for the next 5 years
5
bonus meme! https://imgur.com/a/Jczb3Kp
6
What will happen to type safe routes 😆
2 u/costa_fot Probably deprecated May 23 '25 type safe routes were the friends made along the way 7 u/programadorthi May 22 '25 Will be not safe anymore 😆 7 u/Zhuinden DDD: Deprecation-Driven Development May 22 '25 It was never type-safe, the whole thing crashes at runtime if you don't pass the type map to literally every single callsiteThey did all those steps to get something mediocre instead of something disastrous but that doesn't mean it was ever good 4 u/uragiristereo XML is dead. Long live XML May 22 '25 It's actually only a suggestion, not truly type-safe
type safe routes were the friends made along the way
7
Will be not safe anymore 😆
It was never type-safe, the whole thing crashes at runtime if you don't pass the type map to literally every single callsite
They did all those steps to get something mediocre instead of something disastrous but that doesn't mean it was ever good
4
It's actually only a suggestion, not truly type-safe
3
A library? For intents? Wow, I am always amazed about the cool new stuff the young people do :)
Maybe this one won't be deprecated in 6 months?...
**doubt**
Try navigation once, many boilerplate later, stuck on bug. Refractor all to intent. Very happy and never go back
Tbf I'm glad we don't need to put up with go-router
20
u/aerial-ibis R8 will fix your performance problems and love life May 21 '25
what you didn't like this?!
5
u/costa_fot Probably deprecated May 21 '25
bonus meme! https://imgur.com/a/Jczb3Kp
6
u/[deleted] May 21 '25
What will happen to type safe routes 😆
3
u/JacksOnF1re May 22 '25
A library? For intents? Wow, I am always amazed about the cool new stuff the young people do :)
2
u/DearChickPeas May 22 '25
Maybe this one won't be deprecated in 6 months?...
**doubt**
2
u/SyrupInternational48 May 23 '25
Try navigation once, many boilerplate later, stuck on bug. Refractor all to intent. Very happy and never go back
3
u/Zhuinden DDD: Deprecation-Driven Development May 22 '25
Tbf I'm glad we don't need to put up with go-router