All Stories

Debug by 蔡學鏞

以下轉載自 Debug本文作者:蔡學鏞張貼日期:05/16/2002 Debug吃燒餅不免會掉芝麻,寫程式不免會有 bug。再怎麼高明的程式員,也不敢保證寫出來的程式不會有 bug。當發現程式有誤,bug 隱身其中時,就是 debugger 出動的時候了。越是高明的程式員,越是能夠靈巧地使用 debugger,讓 bug 無所遁形。 Debug 的過程分成兩個步驟:1. 找到 bug 所在地2. 修正 bug 事實上,真正困難的地方在第一點,如果你能找到 bug 所在地,應該就知道怎麼修正 bug 了。本文章簡單地介紹 debugger 的用法,希望你再次遇到 bug 時,能夠不慌不忙地把這些技巧派上用場。 調整步伐最不花腦筋的 debug 方式就是:逐行執行,每執行一行程式碼就暫停,立刻觀察這一行的執行結果是否如你所預期,沒問題的話就繼續執行下一行。...

Book Review: Design Patterns

Design Patterns: Elements of Reusable Object-Oriented Software (Addison-Wesley Professional Computing Series) (Hardcover)by Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides http://rcm.amazon.com/e/cm?t=mingster-20&o=1&p=6&l=st1&mode=books&search=0201633612%20&=1&fc1=&lt1=&lc1=&bg1=&f=ifr Say no more...Gang of four's classic must read.

Under the Hood of Content Management Systems Part II – The CMS Landscape

Choosing the right Content Management System (CMS) can significantly improve the way an organization manages and shares information internally and externally. This sharing of information, implemented correctly, can lead to...

Under the Hood of Content Management Systems - Part I – What is a CMS?

Content Management Systems - these three words can create feelings of elation or frustration in internet professionals depending on their past experiences. Loosely defined, content management systems (CMS for short)...

Book Review: The Object Primer

MUST HAVE! The Object Primerby Scott W. Ambler Even though object-oriented programming (OOP) has been around for many years and is taught in the computer science programs at colleges and...

美國-信用風險利差 高收益債
台中 監視器即時影像