r/badcode • biggus dickus • Nov 10 '21

js the equivalent async/await version is so much cleaner than this callback hell

Post image
406 Upvotes

46 comments sorted by

View all comments

Show parent comment

5

u/i_will_yeet biggus dickus Nov 10 '21

that would be bad design, as they implemented it that way, bad code is when you can do it in cleaner way but you chose the bad way.

0

u/NobleFraud Nov 10 '21

No sql is programming language so if ur sql code is bad it's still bad cofr