您如何对编码任务进行非常快速(又肮脏)的估计? [英] How do you do very quick (and dirty) estimations for coding tasks?

查看:113
本文介绍了您如何对编码任务进行非常快速(又肮脏)的估计?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,您刚刚被The Boss放在了现场. 您需要15分钟的时间才能得出信封估算值的底线,以增加一些新功能.您的老板(很幸运)认识到您当时无法提供准确的估算,因此期望的是正确的数量级.

So you've just been put on the spot by The Boss. You've got 15 minutes to come up with a back of the envelope estimate for the addition of some new feature. Your boss (fortunately) recognizes that you can't provide an accurate estimate in that time so expecting something that is in the right order of magnitude.

问题是,如何在准确的数量级范围内给出估计?

The question is how do you go about giving a estimate in the time frame that is accurate to an order of magnitude?

请注意,这只是一个快速而肮脏的估计,并不是诸如

Note that this is meant to be a quick and dirty estimate, not something that might be expected from questions like this

推荐答案

根据过去的经验,将手指放在嘴里,舔一下,挥舞一下,然后编一个数字.然后加倍.

Place finger in mouth, lick, wave in air and make up a number based on past experience. Then double it.

真的,重要的是它的公正经验.您可以想象该任务需要执行什么操作,并且知道执行此操作需要花费多长时间.将其翻倍以获取意外物品.这就是为什么您从不要求初级程序员提供这种估算值的原因.

Really, its just experience that counts. You imagine what the task entails you doing, and you know how long it'll take you to do that. Double it for unanticipated items. This is also why you never ask junior programmers for such estimates.

这篇关于您如何对编码任务进行非常快速(又肮脏)的估计?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆