Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
Note: You can take 10% off all Slashdot Deals with coupon code "slashdot10off." ×

Comment Re:Shield against cosmic rays ?? (Score 2, Informative) 756

Cosmic rays include many kinds of charged particles -- protons, electrons, alpha particles etc -- streaming out from the sun (and arriving from other places). Electromagnetic radiation is also known as sunlight, and is, as you said, not deflected by magnetic fields.

Comment Re:Switching away from c++ is difficult. (Score 1) 501

haskell failed in supporting for-loops (MapM_ is not exactly the same thing)


for lo hi action = mapM_ action [lo .. hi]

for 1 4 print
1
2
3
4

I don't see how this relates to correctness though. The nice thing about for in most languages is its termination guarantee; you don't get that in the C++ version.

"If Diet Coke did not exist it would have been neccessary to invent it." -- Karl Lehenbauer

Working...