r/badcode •

[deleted by user]

[deleted] — view deleted post

0 Upvotes

18 comments sorted by

View all comments

4

u/weee50 May 06 '20

Lambdas, maps, and questionable coding decisions galore! In fact, the entire function is defined in a lambda!

https://pastebin.com/MNmMG2kc