From: Dave Bass Date: 2008-07-12T20:49:41+09:00 Subject: Re: Why Ruby interpreter is writed in c (not in c++)? Eleanor McHugh wrote: > I'm not sure it will be superseded any time soon, objects being a very > natural way for people to think about real-world problems. It may be natural for some people, but I have to force myself into trying to think in an OO way. I think procedurally, but that may well be a result of too much Fortran, Basic and assembler in my formative years. ;-) It seems very natural to me to say "Here's some data; perform this process on it". I like to think of data as analogous to nouns, and procedures as analogous to verbs. So "process(data)" seems like English to me, very natural. Most of my programs have this form: - Input some data - Process it - Output the result but that might just be the sort of programming I do (engineering and web mostly). In an OO language like Java or Ruby I tend to do this sort of thing: dp = DataProcessor.new dp.load(data) dp.process results = dp.get_output Not very OO-orthodox, I suspect. Dave -- Posted via http://www.ruby-forum.com/.