Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
Trust the World's Fastest VPN with Your Internet Security & Freedom - A Lifetime Subscription of PureVPN at 88% off. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. ×

Comment Not just small devices. (Score 1) 374

Reducing compute times/memory usage by 0.1% in big data centers reduces the cost of electricity and cooling by millions.

Reducing compute times/memory usage in battery powered devices increases battery lifetime.

I view C++ as a better choice then C though, who can code a linked list from scratch more efficient then what they do? You get more abstraction power.

Comment Don't miss them. (Score 1) 600

Recursion is either so easy it is more of a trick than a useful tool, or it is more complex in which case it is generally much harder to get the terminal conditions right then it is to avoid recursion.

I remember when I learned C, digging through K&R to find how to do goto. I also remember learning ruby and not even thinking about whether or not goto was supported. It really isn't needed and as Dikstra pointed out is mostly used for creating sloppy code.

Comment WHat I said on ars: (Score 4, Interesting) 564

This is what I said on Ars. It applies equally here.

1. It is premature to say that Assange is weaseled out until Manning is actually out of jail.
2. There is a difference between a pardon and commutation. Manning certainly will not be able to live the same life as though Mannig were pardoned. There are still restrictions placed on a person whose sentence was commuted. Whether those differences are significant enough is up to debate.
3. The biggest thing to strike me is that this suggests that there will be no last minute pardon of Hillary. The arguments that Obama gives for not pardoning Snowden apply equally to Hillary. We shall see.

Comment Re:Like Latin... (Score 1) 343

That is simply not true. A lot of OO was there for the picking.
Object based programming, for example, was visible in Xt and Xaw. There is not much difference between object method and QtCall(widget, ...).
Polymorphism was present even in early Unix in filesystem object being used for everything possible to quicksort in C.

Good programmers were using those techniques. Average programmers were unfamiliar with those techniques. Like RAII in the 90s.

The OO revolution was in large part taking those techniques and replacing the clunky software tools, like structs and function pointers in C with more developed tools like classes in C++. That's why there was great deal of interest in things like Flavors.

Slashdot Top Deals

We warn the reader in advance that the proof presented here depends on a clever but highly unmotivated trick. -- Howard Anton, "Elementary Linear Algebra"

Working...