Forgot your password?
typodupeerror

Comment Re:Experience (Score 1) 306

I didn't mean to say "functional programming" at all. While I believe in the idea of functional programming, I have to say that, like Scientology, it is a rabid cult best left unmentioned.

What do you mean by the "idea" of functional programming? Functional programming is not a "paradigm" or whim to be believed or disbelieved in - it IS what programming is. What are you going to program with if not functions? Functions and relations (morphisms) are what the nature has given us. That said, I feel that the comparison of functional programming with imperative programming is unwarranted. Imperative programming is just a particular way to implement a "function" where the programmer wants to manipulate state explicitly. One can very well program imperatively in a "functional programming language" like ML. So imperative programming is just a paradigm, or a style of programming. The important distinction (apart from the type system) is that 'functional' programming languages allow one to work with higher-order functions, whereas imperative languages like C do not facilitate it. One should nevertheless be able to write higher-order functions in C using a painful encoding, just as one would write down the description of a Turing machine on the input tape of a universal Turing machine.

C was designed by K&R to be useful to them. To be useful to them it needed to be portable from one machine to another and bring its operating system too because platforms were changing quite frequently and every vendor had their own special tools and ways of doing things and if K&R wanted to keep their data they had to bring not just their language to the new platform, but the OS too. So the word I was looking for is more like "useful". Or is that one taken by some cult too?

In my opinion, C seems to be the result of a desire to get a high-level programming language mixed with low-level access to the memory, in order to be able to write an operating system. It just seems to be a bad design to mix different levels of abstraction in the same language. This mixing of abstraction levels actually makes matters worse for C - things start becoming OS dependent. Because of the low-level access to memory available, one can write C code that would do one thing on one architecture, and a completely different thing on another. This just blows away your argument of C being designed to be 'portable'.

IBM Develops Technology To Talk To Web 83

ProgramErgoSum writes to tell us that IBM's Indian-based research arm is trying to bring a new dimension to web interaction through voice interaction on your mobile phone. Developing a new protocol, Hyperspeech Transfer Protocol (HSTP), the hope is to allow users to talk to the web and get a response. Without more explanation I'm hoping this goes about as far as the gopher web. "The spoken web is a network of voice sites or interconnected voice and the response the company got in some pilot projects in Andhra Pradesh and Gujarat and the kind of innovations that people came up with were just mind-boggling, Gupta said. "

Slashdot Top Deals

Marriage is the sole cause of divorce.

Working...