冒号课堂——将我带入编程的第三层境界
2009-11-26
“ 看山是山,看水是水。
看山不是山,看水不是水。
看山还是山,看水还是水,但是山更绿,水更清。”
人生有三层境界,编程境界也和人生境界惊人的相似。
从大学期间接触编程,那时的我,迷恋于各种“名词”,什么对我都是新鲜的,我疯狂的吸收着养分,但是没有多少自己的思维,别人说C好就学C,别人说C++好就学C++,又听说java更牛,又跳出去学java。这个阶段,喜欢和别人争论这个那个的,浮于表面。
工作1年后,坚持自学,因为非计算机专业,所以在工作中,自己自学了操作系统,汇编,数据结构等等,有一天,突然顿悟,达到第二层境界了,所有的语言,所有的软件,所有的技术,在我眼里都是0和1,甚至都是与非门,异或门,对一切的新技术,新名词不那么好奇了。
很长的一段时间,我迷失在这个境界,甚至于有点骄傲自满,觉得计算机无所谓就是0101嘛。但是水平又没有提升,我遇到了技术瓶颈。
幸好,我无意间翻到了这本书《冒号课堂——编程范式与OOP思想》,就这样跟着几个标点符号的对话,我迷失在paradigm之中,郑晖大侠带我进入另一个世界。以前,我都是片面的学习各种编程语言,郑晖大侠带我们从面向范式的切面去解剖编程语言的本质。
例如以前,对java引入泛型,感觉是很方便但是又不得要领,知道这是泛型范式后,感觉如醍醐灌顶般的顿悟。另外还有元编程范式等,无一不强行打通我的经脉。
我要走的路还很长,感谢有如此多强悍的大侠,百忙之中出书指导我们。