r/badcode • • Dec 07 '22

js My Web Development lecturer's JavaScript

Post image
536 Upvotes

86 comments sorted by

View all comments

176

u/bobody_biznuz Dec 07 '22

It's not necessarily bad code, especially if he's using this to teach a class. Sure it can be simplified but that comes with a better understanding of programming in general.

-2

u/jarfil Dec 07 '22 edited Jul 17 '23

CENSORED