时间:2018-12-28 作者:英语课 分类:创业成功人士访谈录


英语课

   If you ask beginning programmers to write a calendar control, they often think to themselves,


  如果你要求一个入门级的程序员写一个日历控件, 他们通常会对自己说
  “Oh,I,m going to write the world’s best calendar control! It’s going to be polymorphic with respect to the kind of calendar.
  啊,我要写一 个世界上最好的日历控件,它将会是多形态的日历
  It will have displayers, and mungers, and this, that, and the other.”
  它会有显示器,芒格,还有这个,还有那个,等等
  They need to ship a calendar application in two months.
  他们需要在两个月内完成这个控件。
  They put all this infrastructure 1 into place in the control, and then spend two days writing a crappy calendar application on top of it.
  他们把所有的基础框架都放到了控件里面,然后花两天时间在上面写了一个蹩脚的日历程序。
  They’ll think, “In the next version of the application, I’m going to do so much more.”
  他们会想,“下个版本,我会做更 多事情。”
  Once they start thinking about how they’re actually going to implement 2 all of these other concretizations of their abstract design,
  一旦他们开始思考如何把自己的抽象设计具体化的时候
  however, it turns out that their design is completely wrong.
  他们就会发现自己的设计完全错误。
  And now they’ve painted themselves into a comer, and they have to throw the whole thing out.
  现在他们把自己逼上了绝路,不得不放弃所有的东西。
  I have seen that over and over. I’m a strong believer in being minimalistic.
  我经常看见这样的事。我是一个坚定的“最小化主义者”。
  Unless you actually are going to solve the general problem, don’t try and put in place a framework for solving a specific one,
  除非你真的是要解决一般性问题,否则就不要尝试用一个框架来解决具体问题,
  because you don’t know what that framework should look like.
  因为你根本就不知道那个框架应该是什么样子。
  The Extreme Programmers say, “Do the simplest thing that could possibly work.”
  极限编程人员说,“做最简单的事才能有效。”
  Yeah, well, Einstein said that, “Do the simplest thing possible, but no simpler.”
  是的。爱因斯坦说过,“要尽可能地最简单,而不是比较简单。”
  The concern I have about checked exceptions is the handcuffs they put on programmers.
  我担心受控异常会成为程序员的手铐。
  You see programmers picking up new APIs that have all these throws clauses,
  当你看见程序员拿到如此有着复杂拋出语句的新应用程序界面的时候,
  and then you see how convoluted 3 their code gets, and you realize the checked exceptions aren’t helping 4 them any.
  你会发现他们的代码是如此的回绕,你会意识到受控异常对他们没什么帮助。
  It is sort of these dictatorial 5 API designers telling you how to do your exception handling.
  这好像是专制的应用程序界面设计者告诉你必须怎样进行异常处理。
  They should not be doing that.
  他们不应该那样做。

1 infrastructure
n.下部构造,下部组织,基础结构,基础设施
  • We should step up the development of infrastructure for research.加强科学基础设施建设。
  • We should strengthen cultural infrastructure and boost various types of popular culture.加强文化基础设施建设,发展各类群众文化。
2 implement
n.(pl.)工具,器具;vt.实行,实施,执行
  • Don't undertake a project unless you can implement it.不要承担一项计划,除非你能完成这项计划。
  • The best implement for digging a garden is a spade.在花园里挖土的最好工具是铁锹。
3 convoluted
adj.旋绕的;复杂的
  • The snake slithered through a convoluted path.蛇在羊肠小道上爬行。
  • The policy is so convoluted even college presidents are confused.这项政策太令人费解,甚至连大学校长们也是一头雾水。
4 helping
n.食物的一份&adj.帮助人的,辅助的
  • The poor children regularly pony up for a second helping of my hamburger. 那些可怜的孩子们总是要求我把我的汉堡包再给他们一份。
  • By doing this, they may at times be helping to restore competition. 这样一来, 他在某些时候,有助于竞争的加强。
5 dictatorial
adj. 独裁的,专断的
  • Her father is very dictatorial.她父亲很专横。
  • For years the nation had been under the heel of a dictatorial regime.多年来这个国家一直在独裁政权的铁蹄下。
标签: 创业
学英语单词
Abdel
acceleration of ripening
additional advance
anecdotically
antiriot ammunition
apical bud
arecaceaes
augelli
average repair
Bankia spengler
bankruptcy administrator
basic lead sulphate
bilge logs
booster inoculation
bored shitless
boringly
chain and sprocket drive
Chalkedon
checking off symbol
CLMW
course-stability
cross rod
Curley
damper segment
declaratory judgments
deflection calculation
delivered free to destination
dietary-supplement
dress in
dust crops with an insecticide
emince
enterouterine anus
equitangential
faralatrioside
farbs
finely divided scale
folia vermis
heavy work
helius (helius) minusculus
Hose Connectors
hyperhomocysteinemic
intermolecular respiration
lava column
lead number
lends out
lenticel(le)
lywallzyme
macnee
magnitude spectrum
master screw
max sth out
mellower
memory error report analysis
movable appendage
naked-flame mine
nickel-vanadium steel
nominal ocular hazard area
oculometry
one pack
ordinary wheel
organizational climate index
over-grateful
over-indulged
overtowered
pattern representation
phenoxathin
phenylphosphine
pick-up attachment
pilot flame burner
pipeline stopcock
plash
pot-holder
preservative substance
pressure admission chamber
pressure of blast
Prohepes
pseudodiploidy
r.d
ramming up
rankine thermometric scale
riborg
righi-leduc effect
roricon
sclenchyma
self-illuminating sight
selfcontradictory
sniper
sousant
Subhanallah
sukhooei
Swap Curve
tahsildars
thermo anelasticity
three stages fluidized-bed dryer
toner concentration
unkissing
unvote
upright drill
visual agnosia
Wiener schnitzel
with a swing in it
worldless