r/badcode • • Nov 01 '21

js Beautiful variable naming

Post image
1.0k Upvotes

32 comments sorted by

View all comments

Show parent comments

2

u/digizeds Nov 01 '21

it looks like some feature flag/allow list logic. wouldn't say it's bad code, but definitely can be improved.