Skip to main content

York Jong's Library tagged concept   View Popular

09 Sep 09

97 Things Every Programmer Should Know

Welcome to the home page for the 97 Things Every Programmer Should Know project, pearls of wisdom for programmers collected from leading practitioners.

programmer.97things.oreilly.com/...s_Every_Programmer_Should_Know - Preview

programming concept

追求神乎其技的程式設計之道(七) | vgod’s blog

上一篇談到了優秀程式設計師的第一要件:「熱情」,這一篇我想要談我覺得熱情之外最重要的能力:「思考」,特別是抽象化的思考能力

blog.vgod.tw/...divine-code-7 - Preview

concept programming

  • 所有的程式都可以看成一個巨大的金字塔,頂端是這個程式的最終目標,一個模糊的概念;底部是細節的程式碼。而中間是一個經由不斷切割與抽象化所構成的高塔,每一個程式都是切割為許多的元件、模組,再切為更細的class和function,再來是最底下的變數與邏輯判斷式
  • 平凡和偉大的程式設計師,我覺得他們之間的差別就在於能看到多少這個高塔中間的分層。厲害的高手都很善於切換自己思考的高度,一下能跟你討論高階的系統架構設計,一下又能深入到最底下的組合語言和二進位除錯。他們腦中除了有這高塔每一層的詳盡平面圖,甚至也非常了解不同樓層之間的交互關係
  • 1 more annotations...

追求神乎其技的程式設計之道(六) | vgod’s blog

  • 程式員的兩種型態,一是重視演算法、資料結構、執行效率的「效率魔人」,二是重視程式架構、擴充性、彈性、可理解性的「架構狂」。這兩種人其實都很好,要完成一個偉大的軟體,團隊中兩種人一定都要有。比較糟糕的是,有很多「第三型態人」,他們的信念只有一條:「程式只要會動就好」。第三型態人不在乎效率,也不管架構漂不漂亮,上面要求他做什麼,他就想辦法東湊西湊,從Google找程式剪貼,從MSDN抓範例來用,反正只要能隨便測過一個case就能交差了
  • 要成為一個優秀的程式設計師的關鍵是什麼?關鍵不在於coding速度有多快、懂多少演算法,或是背了多少patterns,最重要的是「熱情」
  • 1 more annotations...
11 May 08

Rob Pike: Notes on Programming in C

What follows is a set of short essays that collectively encourage a philosophy of clarity in programming rather than giving hard rules.

www.lysator.liu.se/...pikestyle.html - Preview

C programming concept

  • Length is not a virtue in a name;
    clarity of expression is.
  • When the variable names are
    huge, it's harder to see what's going on.
  • 13 more annotations...
10 May 08

Harvard Mathematics Department : Computing: programming

Several chapters of "The Practice of Programming by B.W. Kernighan and R. Pike" contain rules or guidelines that summarize a discussion and are listetd in the Appendix of that book.

www.math.harvard.edu/...index.html - Preview

programming concept

    • Testing



      • Test code at its boundaries.
      • Test pre- and post-conditions.
      • Use assertions.
      • Program defensively.
      • Check error returns.
      • Test incrementally.
      • Test simple parts first.
      • Know what output to expect.
      • Verify conservation properties.
      • Compare independent implementations.
      • Measure test coverage.
      • Automate regression testing.
      • Create self-contained tests.
  • Use descriptive names for globals, short names for locals.
  • 7 more annotations...
30 Jun 07

Strong Typing vs. Strong Testing

  • Most
    Python tests happen at runtime rather than at compile time, but they do happen,
    and that's the important thing (not when).
  • If it's not tested, it's broken.
  • 3 more annotations...
30 May 07

信息流在智能系统中的角色

  • 智能不仅仅局限于大脑。在整个控制过程中,大脑,执行器以及传感器都对产生我们认为是智能的行为有着非常重要的意义。这就意味着,在定义机器人的行为时,你机器人的尺寸也要被考虑进去
1 - 15 of 15
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo