TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What's your ratio of time coding to planning?

36 点作者 relaunched超过 13 年前
I'm curious as to the ratio of how much time is spent coding vs. planning at startups. Specifically, how it changed from day 1, seed, series A, B...<p>If you have lived through and seen the changes, and can speak to why / when they occurred, I'd appreciate it.

14 条评论

X4超过 13 年前
"Pee your problems away and think ahead!"<p>"Ask yourself, why do you think the best ideas come when you're in the toilet?"<p>It sounds trivial and you won't suspect a magic or pattern behind it. You'll think it's just coincidence, but in reality you secretly remember the toilet is an awkward place where you magically solve the problems that you were stuck with all day. It's way of thinking, releasing yourself from stress to focus on the path you want to go with your planning and code, not so much theory here. It's not enforcable.<p>The only room, where you're alone with yourself and where you relax your inner muscles. As you know, every contraction happens in your cerebrum first, this relaxation acts as stimulus for something I can't explain.<p>Planning, Development, Strategy and Success aren't entirely seperate, they live in symbiotic co-existence and strengthen each other. That's why many people say "You first start coding and the rest will follow". In reality this is an illusion, you can't code without planning or strategy, it's fueled by hard trained routine and effective problem-&#62;solution matching. You know it: The more you code the better you become and success boosts you into new directions.<p>We've all experienced it, sometimes you're better than usual and you want that effectivity back, when you're stuck and don't know a solution. Call it flow if you want, but I think it's peeing problems away :)<p>My routine is to do more learning than planning. Because the more relations from very different topics I can come up with, the more effectively I can solve a problem on a special field.<p>Have a nice weekend!
maratd超过 13 年前
That really depends on how you define planning. Sometimes, I write code, realize I'm going in the wrong direction and need to re-plan things. Planning isn't always something you do before you put your thoughts to code.
评论 #3230218 未加载
notatoad超过 13 年前
All time is planning. While I'm writing code is some of my most productive planning time.
评论 #3230409 未加载
flacon超过 13 年前
Sage advice I heard somewhere: "Weeks of coding saves hours of planning."
j45超过 13 年前
Usually 60-65% planning 35-40% coding.<p>There's two kinds of projects -- the ones who know what their solutions should look like, and why, and the ones who don't.<p>Most problems really end up being hammer and nails once we understand them and can make a clear blueprint.<p>Part of planning can often mean Proof of Concept coding / trying out some things, but not always production code.<p>Just because we can build a doghouse without a blueprint doesn't mean we should build a house or a factory without one.
polemic超过 13 年前
Putting aside BA work, I seem to do most planning in code - ie, fleshing out an example implementation in code, mocking up some models, etc. That eventually morphs into the end result. So, don't think it's as cut-and-dry as coding OR planning.
peter_l_downs超过 13 年前
My guess is that it would depend on the project. Some projects are simple to conceive of (it will be like facebook, but for cat-lovers!), easy to rough out, but more difficult to implement correctly. Other projects may require a lot of up front planning and thinking (which data structure to use? what should it look like?) but then end up being quick to code.<p>I've noticed that when I write programs, the more time I spend planning features and algorithms before I start writing code the less time it takes to actually create. I don't always spend a lot of time planning, though.
xarien超过 13 年前
In my experience, it's more or less 2 parallel processes which are very alike. If I really had to guess as to time, it's be something like:<p>Plan -&#62; Code -&#62; Refactor -&#62; Replan -&#62; Code -&#62; Refactor<p>10% -&#62; 15% -&#62; 30% -&#62; 20% -&#62; 10% -&#62; 15%<p>For me, the first refactor and replan phases take the longest time.
jackityquack超过 13 年前
What does writing tests count as? Especially if you're doing TDD or BDD.
评论 #3229695 未加载
评论 #3229635 未加载
thorie超过 13 年前
Planning is a wasteful byproduct of being a poor developer. A good developer will write code once, get it right the first time, without any planning, and have it do exactly what it needs to do. Everything else slapped on top of that to get from A to B is a waste of time. That includes planning. Writing tests. Coordinating meetings. Documentation. Commuting. Sleeping. Unfortunately, people have come up with things like "planning" and "QA" because they hire incompetent developers - and instead of properly getting rid of them, they hire people to fill in the gaps and flaws.<p>Just kidding, sort of.
westiseast超过 13 年前
slightly off topic, but i spoke to a Technical Department director in a Chinese computer games company yesterday about planning and length of projects etc.<p>He said they never have a web project lasting more than 2 weeks. ie. from planning to completion.<p>It's not because they're using agile methodology or iterations or whatever.... they just do things differently (and yes, <i>sometimes</i> that means zero planning, zero testing and generally 'worse').
rushabh超过 13 年前
20% coding, 70% re-writing the code. Planning 10% somewhere in the middle.
suivix超过 13 年前
It's a very tough question because 'planning' can include time when I'm in the shower, falling asleep, or driving to work. I work at a megacorp though, not a startup.
评论 #3229763 未加载
评论 #3230339 未加载
d3x超过 13 年前
I know this is really stupid and the initial quality of some of the code i write is really low but when I am just making things for fun its kind of like freestyle rap to me so 0% planning 100% coding.<p><a href="http://i.crowdfunded.it" rel="nofollow">http://i.crowdfunded.it</a> is an example of this.
评论 #3230135 未加载