Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Submission + - Functional Programming in C++->

nickweller writes: A large fraction of the flaws in software development are due to programmers not fully understanding all the possible states their code may execute in.

In a multithreaded environment, the lack of understanding and the resulting problems are greatly amplified, almost to the point of panic if you are paying attention.

Programming in a functional style makes the state presented to your code explicit, which makes it much easier to reason about, and, in a completely pure system, makes thread race conditions impossible.

Link to Original Source

Comment Austerity or... (Score 4, Insightful) 359 359

The country can't pay its debts, and the upcoming referendum will decide whether they face increased austerity measures or start the process of exiting the Euro and face even worse austerity.

FTFY.

Leaving the Euro will mean that the country has defaulted, and whatever currency they put in place will have no value at all. The government will be bankrupt and will not be able to pay civil servants or pensioners. There are only 3 ways this goes:
- Creditors accept to write-off some of the debt. They cut their losses and allow Grece to survive, in a situation which is actually bearable.
- More austerity, from inside the euro. Hard times ahead.
- Default. Chaos, Civil War.

Humanity and Finance don't go together very well...

Comment Re:So what? (Score 1) 213 213

Don't get me wrong. I'm French, and I agree that we should offer him asylum. Whistleblowers deserve to be protected. But what he uncovered was an open secret. People with positive IQs knew that it was probably going on in the background, Snowden only confirmed it.

But the show will go on.

Comment Re:Nope (Score 4, Insightful) 213 213

Well there's also the great hypocrisy that lies there like an elephant in the room. France have probably tried to do the same on all its allies... (No presumption on whether they succeeded or not, just that the fact that they tried is highly likely).

To me, the reaction of the French government shrieking like pigs is just a show for the public opinion, and maybe they'll send back the US Ambassador for good measure. But it will soon die down and no change is to be expected.

Comment Re:Ablate the trailing side of the Moon (Score 1) 233 233

A couple of nuke blasts on the moon would let us keep the Earth's rotation in sync with our atomic clocks. It's practice for asteroids, and good entertainment too!

You do know that leap seconds are driven by angular momentum fluctuations in the Earth's liquid outer core? I don't think the Moon has much to do with those.

You mean like the Moon has no influence on other liquids on Earth?

The longer the title, the less important the job.

Working...