4.28.2 Greatest hits from previous weeks

4.28.2.1 Why should I avoid the For loop in Mathematica?
4.28.2.2 Why round to even integers?
4.28.2.1 Why should I avoid the For loop in Mathematica?

https://mathematica.stackexchange.com/questions/134609/why-should-i-avoid-the-for-loop-in-mathematica

 
Some people advise against the use of For loops in Mathematica. Why?  Should I heed this advice?  What is wrong with For?  What should I use instead?
 

- asked by Szabolcs (52 votes), answered by Szabolcs (62 votes)

4.28.2.2 Why round to even integers?

https://mathematica.stackexchange.com/questions/2116/why-round-to-even-integers

 
According to the Mathematica help: 
 
 
Round rounds numbers of the form x.5 toward the nearest even integer. 
 
 
For example: 
 
Round[{0.5, 1.5, 2.5, 3.5, 4.5}] 
 
 
gives 
 
{0, 2, 2, 4, 4} 
 
 
What's the  ...
 

- asked by wxffles (64 votes), answered by Per Alexandersson (42 votes)