3 ms·
I don't agree with the premise of "we think we're special either", but Come up with a solution to a problem before you start writing code, and think about whic
by Bizarro 8y ago
I don't agree with the premise of "we think we're special either", but
Come up with a solution to a problem before you start writing code, and think about which parts of the system that solution will impact.
Divide the solution you came up with into small chunks, so you can take them one at a time.
This makes a lot of sense. I see junior programmers flying by the seat of their pants without a plan too often - I do it too.
I find that stepping away from the IDE/code editor (not looking at code) and thinking about the problem helps a lot. That could also involve a piece of paper and pencil, or a text editor and just writing train of thought stuff. But the key is not to be looking at the code.
His second piece of advice about dividing the solution up into smaller chunks, I also apply to debugging.
When someone comes to me with a debugging issue, the first thing I ask "ok, how do we simplify the problem? How do we get rid some of the extraneous details?" And then keep on iterating over that - keep on simplifying.
- taneq 8y ago> Come up with a solution to a problem before you start writing code Oh, so "figure out how to draw the rest of the freakin' owl".
- hinkley 8y ago? The rest Of the post is about how you don’t need to draw the entire owl.
- mentos 8y agoI find just writing out the steps in comments then implementing the comments helps //First we need to get the users voice state //check if they are in a group or team channel //if they’ve opted out of auto-connect for voice then don’t connect them to the voice channel //etc