whats up toot-licker ๐Ÿด ๐Ÿ• is a user on masto.dev.host. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Programming is great because you can just take that huge messy chuck from the middle of your function and hide it away under a new name in a new function and feel good about how you "cleaned up" the original function by abstracting the internals.

This is exactly how I used to clean my room as a kid - I'd refactor all the junk on the floor to be under my bed. Boom - problem solved.

whats up toot-licker ๐Ÿด ๐Ÿ• @jabyrd3
Follow

@bigzaphod its even better you can put it away in a whole different file

if its really bad you can make it into a *module* and publish it and never have to look inside ever again

its great i can never think about all the horrid things i've done out of laziness or spite

ยท Whalebird ยท 0 ยท 1