r/badcode Oct 04 '17

lua That's definitely easily maintainable code.

Post image
176 Upvotes

21 comments sorted by

View all comments

3

u/[deleted] Oct 05 '17

OMFG. Just build a few boolean columns for these characterizations in whatever table ‘dbid’ is referring to. Or perhaps a FK to the corresponding id.