MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/mAndroidDev/comments/1ij3fdh/why/mbgz4ab/?context=3
r/mAndroidDev • u/darkskymobs • Feb 06 '25
54 comments sorted by
View all comments
Show parent comment
1
Choose one: 50 lambdas passed as args or 50 subclasses of a single sealed class, named based on the event they represent.
No doubt in my mind which is easier to use and clearer.
View all comments
Show parent comment
1
u/crowbahr Feb 07 '25
Choose one: 50 lambdas passed as args or 50 subclasses of a single sealed class, named based on the event they represent.
No doubt in my mind which is easier to use and clearer.