日韩色综合-日韩色中色-日韩色在线-日韩色哟哟-国产ts在线视频-国产suv精品一区二区69

手機APP下載

您現在的位置: 首頁 > 英語聽力 > 實戰英語聽力 > 創業成功人士訪談錄 > 正文

創業成功人士訪談錄(MP3+中英字幕) 第99期:我是仁慈的獨裁者(5)

來源:可可英語 編輯:shaun ?  可可英語APP下載 |  可可官方微信:ikekenet
  


掃描二維碼可進行跟讀訓練
  下載MP3到電腦  [F8鍵暫停/播放]   批量下載MP3到手機

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 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 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 their code gets, and you realize the checked exceptions aren’t helping them any.

你會發現他們的代碼是如此的回繞,你會意識到受控異常對他們沒什么幫助。

It is sort of these dictatorial API designers telling you how to do your exception handling.

這好像是專制的應用程序界面設計者告訴你必須怎樣進行異常處理。

They should not be doing that.

他們不應該那樣做。

重點單詞   查看全部解釋    
handcuffs ['hændkʌfs]

想一想再看

n. 手銬

 
abstract ['æbstrækt]

想一想再看

n. 摘要,抽象的東西
adj. 抽象的,理論

聯想記憶
exception [ik'sepʃən]

想一想再看

n. 除外,例外,[律]異議,反對

 
specific [spi'sifik]

想一想再看

adj. 特殊的,明確的,具有特效的
n. 特

聯想記憶
implement ['implimənt,'impliment]

想一想再看

n. 工具,器具; 當工具的物品
vt. 實施

聯想記憶
extreme [ik'stri:m]

想一想再看

adj. 極度的,極端的
n. 極端,極限

 
control [kən'trəul]

想一想再看

n. 克制,控制,管制,操作裝置
vt. 控制

 
calendar ['kæləndə]

想一想再看

n. 日歷,月歷,日程表
vt. 把 ...

聯想記憶
code [kəud]

想一想再看

n. 碼,密碼,法規,準則
vt. 把 ...

 
application [.æpli'keiʃən]

想一想再看

n. 應用; 申請; 專心
n. 應用軟件程序

 
?
發布評論我來說2句

    最新文章

    可可英語官方微信(微信號:ikekenet)

    每天向大家推送短小精悍的英語學習資料.

    添加方式1.掃描上方可可官方微信二維碼。
    添加方式2.搜索微信號ikekenet添加即可。
    主站蜘蛛池模板: 阳光阿坝| 章若楠高清壁纸| 血糖最怕三种水果| 欧美黑人天堂av在线| 郑柔美个人简介| 数控图纸| 男同性恋av| 刘海东| 韩佳熙的电影全部作品| 1—42集分集剧情简介| 正义回廊 电影| 色戒.| 王家卫作品| 山东教育电视台直播在线观看| 网络查控申请书| 男同视频在线| 知否知否应是绿肥红瘦观看| 喜福会电影| 聊斋电影| 杨买军郑州航空港区| 吴京电影大全| 人口高质量发展形势与政策论文| 亚洲 在线| 曾生| 珍爱如血泰剧全集在线观看| 电影《追求》| 抖音网页| 内蒙古电视台| 83版霍元甲全部演员表| 优越法外电视剧免费观看| 山东教育电视台直播| 索溪峪的野阅读及答案| 二次元炫酷帅气壁纸| 海豹w| 相见故明月| 井冈山必去的三个景点| 阿芮尔·温特| 隐藏的真相| 布袋头| 杨玉环一级片| 希比·布拉奇克|