3 ms·
I get things done quickly with a combination things: a) reduce reduce reduce. As much as possible, remove abstraction, remove layers, remove lines of code. A f
by toast0 12y ago
I get things done quickly with a combination things:
a) reduce reduce reduce. As much as possible, remove abstraction, remove layers, remove lines of code. A few things are useful to abstract, but for many abstractions, you optimistically trade the underlying complexity for a new layer of different complexity; and then it usually turns out you need to know the underlying layer too, so you actually have twice as much work.
b) I don't worry about getting things perfect (or locked down) the first time. Most things are poorly specified and will need changes, and it's easier to see what you really want, once you have something that's close. Usually, it takes two or three times doing the same thing before you get it right; in that spirit, don't stress over the first time. Also, the least amount of time you've invested in the first draft, the least ego you sacrifice to throw it away and do it right.
c) That said, use your experience to make more right choices than wrong ones, especially for things that are hard to change later. Consider how you will scale things: you don't need to make things scalable, but don't make it a dead end.
d) code re-use (as in calling existing functions) is nice, but don't be afraid of some near duplication: changing a core function "a little bit" to get it to work for your new case is a significant time investment. If you're not confident that the change will stick, copy and alter; you'll be more willing to throw the changes away if you need to after that.