一区二区久久-一区二区三区www-一区二区三区久久-一区二区三区久久精品-麻豆国产一区二区在线观看-麻豆国产视频

編程的單純心

  Randall Degges 寫道 "我已經做了很久的程序員。當我最開始編程時,我將全部心思投入到電腦中編寫代碼。雖然,我的代碼糟透了,但我仍然品嘗了樂趣,收獲了知識。然而,時過境遷,編程的單純心離開了我。能剝奪程序員單純心的,是恐懼。是擔心不知道最好實現方式的恐懼;是疑惑沒有使用正確工具和語言的恐懼;是害怕錯誤的恐懼;對計劃的恐懼;對公開的恐懼(別的程序員會如何看待我的代碼?)。我深深懷疑,隨著程序員越來越有經驗,這些恐懼也會與日俱增地懸于他們頭頂。

  編程的單純心賦予程序員力量。之前當我內省這個問題時,想起了所知的一些頂尖程序員。他們有什么地方值得我尊重?他們因何而如此優秀?我相信,他們的優秀與他們的單純密不可分。最好的程序員會天真地沖鋒陷陣:毫無畏懼地刪除代碼,不分晝夜在與世隔絕中搭建原型,無視批評和外界影響。他們是真的猛士。面對難題,他們用毫不留情的編碼來化解。他們無欲無求。然而,怎樣才能重拾已經遺失的編程的單純心?

  吼出來:操!

  • 發現另一種高效方法來重寫代碼?寫之!不要擔心為此需要學很多東西,學之!代碼可以改進,或許以后你會學到更好的方法,但現在你所做的,不是浪費,而是成長。
  • 擔心自己所用庫、語言會在幾年后過時?不。敏銳你的思想,你的代碼不會比它們變化得更慢。
  • 被最后期限壓迫得喘不過氣?無視之。這個時候你就是代碼的上帝。如果你看屏幕足夠狠,代碼就會自行出現。毫不懷疑你的能力,毫不畏懼在此時把自己封閉起來編程,像野獸一樣編程!
  • 擔心別的程序員對自己的代碼指手畫腳?不要被他們阻礙。如果他們對你的代碼有真正的意見,他們應該發來他們的代碼補丁。

  歸結到一個道理便是:當碰到挫折時,不要被挫折打倒,保持一顆單純心。"

  英文原文(http://projectb14ck.org/programming-innocence):

  Programming Innocence

  I've been programming for a long time. When I first started programming, I would spend as long as I humanely could on the computer writing code. Sure, my code sucked, but I was having fun, and I was learning a lot. Over the years, this programming innocence left me.

  The one true thing that can strip a programmer of his innocence is fear. Fear of not knowing the best way to do things (best practices). Fear of not using the right tools and languages. Fear of errors (especially compiler errors). Fear of schedules. Fear of publicity (what will other programmers think about this code?). I suspect that all programmers experience those fears in greater and greater amounts as they become better and better.

  Programming innocence is a powerful thing. When reflecting about this topic in my head over the past week or so, I immediately began thinking of the best programmers I know. What do I respect about them? What makes them so great? I believe that in most cases, their greatness can be directly correlated to their innocence. The best programmers I know are the ones who naively charge into battle: fearlessly removing code, spending days in complete isolation getting a prototype hacked together, ignoring all critics and outside influences. These guys are my heroes. They code ruthlessly in order to solve their problems. They yield for nothing.

  So how can you regain your programming innocence once it has been lost?

  Just Say "fuck it"

  • Found a more efficient way to write your code? Implement that shit! Don't make yourself worry about all you have to learn, just learn it. Code can be enhanced over time, so don't worry that learning new things in the future will waste your time now. Every time you write code, you grow.
  • Worried that your library / programming language / etc. will be outdated in the next few years? Don't be. Think agile. When things change, change your code with it.
  • Feeling stressed out by that deadline? Fuck it. You are a hacking god. If you stare at the computer hard enough, the code will practically write itself. Be confident in your abilities, and never be afraid to completely isolate yourself from the world, and code like an animal.
  • Do you worry what other programmers will say about your code? Don't let that stop you. If other people have a problem with your code, have them send you a pull request.

  The moral is: when things bring you down, instead of letting them best you, remain innocent. Hack your heart out every day, and don't forget that the only thing that really matters is how much fun you have along the way.

it知識庫編程的單純心,轉載需保留來源!

鄭重聲明:本文版權歸原作者所有,轉載文章僅為傳播更多信息之目的,如作者信息標記有誤,請第一時間聯系我們修改或刪除,多謝。

主站蜘蛛池模板: 亚洲国产精品人久久 | 秋霞日韩一区二区三区在线观看 | 91在线视频网址 | 久久六月丁香婷婷婷 | 久久精品成人免费网站 | 久久a热6| 日本精品一区二区三区视频 | 日韩精品视频观看 | 综合久久久久久久 | 好吊妞haodiaokan | 亚洲精品国产精品乱码不97 | 图片区小说欧洲区 | 日韩中文字幕在线亚洲一区 | 91免费版在线观看 | 国产精品视频无圣光一区 | 激情视频激情图片激情小说 | 激情欧美一区二区三区 | 狠狠干综合 | 国产精品久久久福利 | 91白丝制服被啪到喷水在线 | 日本免费新一区二区三区 | 在线观看成人小视频 | 午夜国产精品福利在线观看 | 91正在播放极品白嫩在线观看 | 五月婷婷激情综合网 | 国产午夜亚洲精品不卡福利 | 四虎精品国产一区二区三区 | 国内不卡一二三四区 | 中文字幕久久精品 | 久久精品一 | 国产精选91热在线观看 | 国产高清在线精品一区二区三区 | 亚洲第一区二区快射影院 | 国产第一夜 | 成人深夜视频 | 国产福利在线观看永久视频 | 91精品宅男在线观看 | 国产成人鲁鲁免费视频a | 欧美国产片 | 91综合在线 | 午夜噜噜噜 |