User Tools

Site Tools


blog:160216_coding-without-coding

160216 - Coding Without Coding

I didn't get the chance to do any work on the prototype last night, so I'm not entirely sure what I should write about today. All I know is want to post at least once a day every Monday through Friday (weekends are a bonus), so I have to write something today. I think I'm gonna ramble about how to write code without actually writing code. That is, pseudocoding in my head, I guess.

Not having a laptop to dev on is pretty frustrating sometimes, especially being a public transit user. There's a lot of time I spend sitting thinking about what I want to produce rather than producing it, so I've started trying to do more “coding” without the computer. Anyone can write pseudocode without a computer. I keep a notebook on me all the time and use it to jot down ideas, and as of late I've started laying out basic pseudocode for scripts I'll write later.

The first of these was the physics script. My pseudocode was barely even that; more like a couple loose sketches and a list of ordered instructions that the script should execute. But I could look at it and determine if it made sense logically, and that's what's really key. If I can doodle out a script and run it through my head step by step I can rewrite it in C# (or anything else, really) and it should just work. Naturally, that's not always the case, but more often than not it at the very least makes it more easy to deduce what any problems are that might occur.

blog/160216_coding-without-coding.txt · Last modified: 2016/02/16 08:43 by admin