Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Functions are called only within the context of expression evaluation, and Fortran allows a compiler to perform algebraic transformations on expressions. If you write X=Y*F(Z) and we can determine that Y is zero, the function call can be deleted. So side effects in functions are somewhat risky.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: