中文字幕日韩一区二区_国产一区二区av_国产毛片av_久久久久国产一区_色婷婷电影_国产一区二区精品

編程的單純心

  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知識庫編程的單純心,轉載需保留來源!

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

主站蜘蛛池模板: 精品一区二区电影 | 粉嫩在线 | 午夜精品一区二区三区在线视频 | 欧美激情视频一区二区三区在线播放 | 岛国av一区二区 | 亚洲一区国产精品 | 韩日在线观看视频 | 久久久亚洲一区 | 欧美精品导航 | 国产一区二区三区精品久久久 | 日韩在线观看 | 美女视频三区 | 亚洲国产精品一区 | 欧美在线一二三 | 亚洲精品第一 | 毛片网在线观看 | 视频在线一区 | 国产精品一区在线观看你懂的 | 欧美日韩一二三区 | 免费在线一区二区 | 在线看片国产精品 | 国产亚洲欧美在线 | 欧美日韩中文字幕在线播放 | 国产亚洲精品久久久久动 | 午夜免费观看体验区 | 久久一区二区视频 | 欧美日韩国产三级 | 国产精品精品视频一区二区三区 | 欧美一区二区免费电影 | 亚洲444kkkk在线观看最新 | 亚洲视频在线一区 | 在线观看精品视频网站 | 美女毛片免费看 | 国产精品污www一区二区三区 | 国产精品久久久爽爽爽麻豆色哟哟 | 在线视频亚洲 | 国产日韩欧美 | 粉嫩av在线 | 一区二区三区四区不卡 | 久久久精品视频免费看 | 国产精品久久精品 |