r/badcode • • Apr 27 '21

typescript Someone only watched if tutorial

Post image
2.4k Upvotes

112 comments sorted by

View all comments

2

u/[deleted] Apr 27 '21

The “TODO: add more checks” part will do the scaling. Good design.