I attended a 5-day Design Pattern class last year, and the summary that I published then, was the initial thought of this k-db site. I am revising them and put them here. :) Day 1 : OO concept and software development practices OO concept revised. Normally these are discussed : inheritance composition encapsulation polymorphism Discussed in class : abstraction encapsulation generalization specialization Type of errors compilation syntax contextual linking runtime logical Example to show the best way to code to avoid error : if (x == 0) if (0 == x) <– using this coding style, missing a "=" in the condition statement will alarm error during compilation. Why it is a good practice to use static for variable declaration? for information hiding. so people won’t use extern to access to it in other file, to ensure the value is not overwritten by unknown. error prone during linking. Software quality measurement : reusability : code, function, user exper...
Previously known as jcrys26's kdb. A learning dump and sharing place.