Thursday, October 11, 2007

編程語言和範式(paradigm)-多多益善

剛剛把Programming Ruby看完,立刻就對Ruby陷入愛河。看Ruby的時候我在想,天呐,幸好我先學過了C/C++,如果我接觸的第一門編程語言是Ruby,我怎麽會去瞧C/C++一眼?我這一輩都是scriptor了!今天突然意識到一件事情:其實真正給人帶來愉悅的,不僅是某一個超級好用的編程語言,而更包括學習新語言,新範式的過程。要問我最喜歡的語言是哪個,不是C/C++,也不是Ruby,而是-下一個!如果學過Ruby再學C/C++,也一定能體驗到原始、粗獷、彪悍的美。編程語言和範式就像妻妾一樣,多多益善。
說到女人,Ruby還真有點傳說中溫柔體貼的日本女人味!

后续:这里有一篇文章,表达了和我一样的感受http://weblog.raganwald.com/2007/10/challenge-of-teaching-yourself.html,不过我是正面典型,哈哈。

后续:各种各样的paradigms甚至language features并不是好看不实用的花瓶。IBM developerWorks网站的"crossing borders"系列文章考查这些功能在实战开发时的作用:
http://www.ibm.com/developerworks/views/java/libraryview.jsp?search_by=crossing+borders:

后续:Alan Perlis说:A language that doesn’t affect the way you think about programming, is not worth knowing. (出自 Epigrams on Programming)

后续:Computer Science Education: Where Are the Software Engineers of Tomorrow

后续:I find that every new programming language I learned increases my breath of knowledge, my breath of expressiveness and even if I don't write any more code in that new language it changes the way I think about writing code and languages I already know. So I found value in learning lots of different programming languages.
-Guy Steele

1 comment:

Delong Zhao said...

I feel exactly the same as you. I'm play with several girls together now. Chick java, python, c. Python feels totally different than java. Feels it suck tor dick automaticly!