開源日報 每天推薦一個 GitHub 優質開源項目和一篇精選英文科技或編程文章原文,堅持閱讀《開源日報》,保持每日學習的好習慣。
今日推薦開源項目:《魔幻線條 curvejs》
今日推薦英文原文:《Why Everyone is Telling You to Read the Docs.》
開源日報第453期:《魔幻線條 curvejs》
今日推薦開源項目:《魔幻線條 curvejs》傳送門:GitHub鏈接
推薦理由:在你的瀏覽器頁面上利用三次貝塞爾曲線生成跳動的魔幻線條——簡而言之,效果就像以前 Windows 屏保的變幻線一樣。只需要提供點,顏色和隨機值之類的自定義數值,而不需要考慮自己解決陰影特效,就能夠自己讓線條開始跳舞,自己寫一個然後把瀏覽器全屏了假裝屏保也沒有什麼違和感(儘管這並不會起到實質性作用)。
今日推薦英文原文:《Why Everyone is Telling You to Read the Docs.》作者:Brandon Pampuch
原文鏈接:https://medium.com/@brandonpampuch/why-everyone-is-telling-you-to-read-the-docs-8c3eb4e97f75
推薦理由:將官方文檔作為教程是個好事——儘管視頻之類的比較好懂,但是做視頻需要時間,而官方文檔的更新永遠是最快的那個

Why Everyone is Telling You to Read the Docs.

I have a confession to make. Until recently I rarely read the docs. I believed they were not for me. I couldn』t stay focused on written materials for more than a few minutes, but I could remember every lecture or conversation about coding with clarity.

When we begin coding there is a natural tendency to lean towards video instruction. It is easy to follow and the results are immediate. Therefore we sometimes stick to video tutorials, courses, and lectures exclusively later in our learning journey. We begin to believe they are more efficient or 「the way I learn」.

As you become more comfortable with coding, and as you begin to see the full stack from the trees, the way you learn changes. You know how apps work and therefore you are not afraid to break them. You start to consume information more quickly and need less instruction.

At that point, there are huge payoffs for beginning to use source docs.
  1. Docs are faster. In the docs you will often be looking for the information you don』t know, not a complete tutorial front to back.
  2. The information will be up to date. You will never have to wonder if a newer version has a different syntax or expanded functionality.
  3. You can decide how to use a certain language, library or framework instead of having someone tell you how they would use it.
As a disclaimer, I would like to say that I use neither video nor documentation exclusively. In fact, I often use them in conjunction. I will watch something online briefly (depending on the tech) and then begin playing with it. I download the package, jump into the code, open up the docs, and let the good times roll.
下載開源日報APP:https://openingsource.org/2579/
加入我們:https://openingsource.org/about/join/
關注我們:https://openingsource.org/about/love/