Today I spend many time to find a bug in my code. It is turn out that I 
mistakenly wrote sum(X,2) as sum(X.2). No any error information is reported 
and Julia regarded X.2 as X*0.2. The comma "," is quite close to dot "." in 
the keyboard and looks quite similar in some fonts. As there is no any 
error occur, this bug will be dangerous. Also, it is not intuitive to 
understand X.2 is X*0.2. I think maybe it is better to forbid syntax like 
X.2 but only allowed .2X. 

Reply via email to