随笔分类 -  编程范型

摘要:http://cs.lmu.edu/~ray/Programming ParadigmsThe word paradigm is used a great deal when talking about programming languages. What does it mean?DefinitionAprogramming paradigmis a style or "way" of programming. Some languages make it easy to write in some paradigms but not others.List of Co 阅读全文
posted @ 2014-01-03 09:48 blockcipher 阅读(360) 评论(0) 推荐(0)
摘要:http://students.cs.byu.edu/~pbiggs/survey.htmlA Survey of Object-Oriented MethodsbyPeter BiggsUniversity of Durham1. Object Oriented Design Methods1.1 IntroductionObject orientation is the latest craze to hit software engineering. There are numerous object oriented methods being advocated at the pre 阅读全文
posted @ 2013-04-09 14:00 blockcipher 阅读(432) 评论(0) 推荐(0)
摘要:在过去的N年中,我遇到了很多使用囧然不同风格的开发者,下面是我所知道的一些,你还知道其它的吗?散弹枪编程这种编程风格是一种开发者使用非常随意的方式对待代码。“嗯,这个方法调用出错了……那么我会试着把传出的参数从 false 变成 true!”,当然依然出错,于是我们的程序员会这样:“好吧,那我就注释掉整个方法吧”,或是其它更为随意的处理方式,直到最后让这个调用成功。或是被旁边的某个程序员指出一个正确的方法。如果我们把一个正规的程序员和一个撞大运的程序员放在一起做结地,那么,那个正规的程序可以马上变得发疯起来,并且,可以把正规的程序员的智商降到最低。两个撞大运的程序员不应该在一起做结对编程,这是 阅读全文
posted @ 2013-02-17 14:27 blockcipher 阅读(152) 评论(0) 推荐(0)