jaredwhite@kbin.social to WebDev@kbin.social · 1 year agohandleEvent() is Mindblowingthathtml.blogexternal-linkmessage-square1fedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1external-linkhandleEvent() is Mindblowingthathtml.blogjaredwhite@kbin.social to WebDev@kbin.social · 1 year agomessage-square1fedilinkfile-text
minus-square0x1C3B00DA@kbin.sociallinkfedilinkarrow-up2·1 year agoAm I missing something? It seems like the mind-blowing feature is defining all your event handlers in a single giant function instead of smaller, more specialized methods. Why is that preferable?
Am I missing something? It seems like the mind-blowing feature is defining all your event handlers in a single giant function instead of smaller, more specialized methods. Why is that preferable?