Posts

Showing posts from December, 2017

Episode III: Revenge of the SLOG

"Programming is easy" said no one ever. Actually, I just made that up, but maybe some people do find it relatively easy. The hardest part is everything sounds good on paper (or screen in this case). Everything should work, but sometimes it just doesn't. I've had times like this, where I just stare at an error for hours on end and have no idea what to make of it. Turns out I forgot a semi-colon. Nothing's easy at first, but even a thousand-mile journey starts with a single step. Lao Tzu said something like that, I bet he could've been a super cool programmer. Anyways in order to understand how to program, how to design a function; one must BE the function, FEEL the function, FLOW with the function. Function is teacher, mother, and secret lover. It's a good idea to start with what exactly you want the function to do. What is the purpose of this function? Give it an existential crisis. Generally, useful functions have inputs and outputs. The output is alw