Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:Why can't this be the law everywhere? (Score 1) 271

They would still have their one phone call

The "one phone call" is a myth made up by Hollywood. Last time I was arrested, there were several phones in the holding cell, and I was there for four hours. I could make as many phone calls as I wanted, to anyone, either local or collect.

Comment Re:C++ metaprogramming is just like functional pro (Score 3, Informative) 68

Say what?

Template metaprogramming is exactly functional programming.

Not only that, C++98 style was completely 100% pure with no mutabe state. You got recuursion and pattern matching (called [partial] specialisation). A class is essentially a function returning a type (well, multiple types) as internal typedefs. And as such functions are very much first class objects.

C++11 added some local mutable state. constexpr functions can now be evaluated at compile time. Those yielding an int can be used as template arguments.

Comment Re:Terrifying. (Score 1) 68

This is the most terrifying and ridiculous thing I've seen in my entire life.

No, the most terrifying and ridiculous thing would be if it was rewritten in JavaScript which outputted Java source that piped C# source that then, when compiled and executed, outputted as an x86 ASM program that produced a PHP script.

Slashdot Top Deals

Today is a good day for information-gathering. Read someone else's mail file.

Working...