Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:C++ and CppCMS (Score 1) 536

Functional programming is just a subset of OO programming.

In exactly the same sense, OO programming is a subset of functional programming. An object is nothing more than a tuple of functions each of which has a hidden parameter.

But then, you seem to think that C++ is an OO language, which makes me wonder if you actually understand Modern C++ (in the Alexandrescu sense) at all.

Comment Re:Perl still works, and PHP is fine (Score 2) 536

Don't piss on Javascript.

There's nothing wrong with pissing on Javascript, but it's unfair to mention it in the same breath as PHP. PHP sucks across the board, but Javascript has very specific and identifiable flaws. You can think of Javascript as the living embodiment of Sturgeon's Revelation.

So, for example, Javascript has quite clean variable semantics (borrowed from Scheme, no less!), making it almost a functional language, but then drapes it in an unwieldy function syntax which discourages you from using it as such. Somewhere inside Javascript you can tell that there's a pretty nice scripting language trying desperately to get out. (Hell, membranes are almost elegant.)

I wish that PHP had redeeming features like that. The only thing it ever had going for it was that 15 years ago it had a better Apache binding than any other language, making it the superior choice to CGI.

Comment Price (Score 1) 427

Other people have mentioned price as a factor. For me, that's the ONLY factor. It needs to be cheap enough that if it turns out to be useless, it didn't inconvenience me.

I wouldn't mind a smart watch just for mucking around with and seeing what hacks I could do with it. But I can't justify the expense of buying one on a whim.

Slashdot Top Deals

"May your future be limited only by your dreams." -- Christa McAuliffe

Working...