public marks

PUBLIC MARKS with tag oo

March 2007

February 2007

Andres Aguiar's Weblog : Workflow and Rich Object Frameworks

by nhoizey (via)
Les workflows comme compléments des objets pour la logique applicative...

December 2006

Base.js

by j_c & 6 others
Javascript OO thanks to dean edwards

November 2006

October 2006

June 2006

May 2006

April 2006

Design-up - Le développement logiciel efficace

by jmfontaine & 5 others
Extreme programming, Conception objet, tests automatiques

March 2006

February 2006

MF Bliki: GetterEradicator

by bader & 1 other
The general justification is that getters violate encapsulation. If I've got a bowler class with fields for overs, runs and wickets, then adding getters (getOvers, getRuns, getWickets) is little better than just making the fields public.

JavaScript inheritance

by sierra & 2 others
interesting techniques

December 2005

November 2005

又遇 N Puzzle

by YukuanBlog
針對 N Puzzle,之前以 CLIPS, C Language Integrated Production System 求解過,那是專家系統的課,所以我也很配合地,以 heuristic 的方式,寫起一條條的 production rules 。

Ant Simulation

by YukuanBlog
大學(1997)的程式設計課要求學生在網路上找一個 JAVA Applet 的程式,研究後寫一篇報告上來。我在網路上找到 Mark Miller 所撰寫的「Manna Mouse」JAVA Applet,檢閱了原始碼後,覺得它的程式架構太雜亂了。

The Thread Class Library for Linux

by YukuanBlog
在設計應用程式時,一些需要並行處理(concurrent processing)的功能,已經很少人使用中斷(interrupt)的方法解決,也不必再自行利用一個輪詢迴圈(Round-robin loop)來達到並行的效果──因為現在作業系統的設計,都已經支援執行緒(thread)了。

State 模式和表格驅動法的比較

by YukuanBlog
在 william 譯的《Design Patterns》中,第 353 頁有歸納表格驅動做法和 State 模式的差別: State 模式旨在描述特定狀態之下的行為,表格驅動則專注於定義狀態的轉移。

August 2005