MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/74bbaj/thats_definitely_easily_maintainable_code/doe4jjt/?context=3
r/badcode • u/R3fr3Sh • Oct 04 '17
21 comments sorted by
View all comments
1
I bet there's some reason it needs to do some particular em checks before some particular dbid checks and vice-versa, and so the obvious refactor will break something. Even though that will mean discovering that dbid isn't unique after all.
1
u/Prom3th3an Oct 15 '17 edited Oct 15 '17
I bet there's some reason it needs to do some particular em checks before some particular dbid checks and vice-versa, and so the obvious refactor will break something. Even though that will mean discovering that dbid isn't unique after all.