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

First off I can’t read that. Please use more common pseudo code for your example if you want me to understand.

Second it looks like there’s a function called for here that does something similar to reduce? That’s a functional thing.

The topic at hand is for loops as in loops that are procedural statements which is what most people recognize as loops. For, while, do while and those things you see in popular languages. Not some obscure construct in lisp.

If your talking about the isomorphism between functional and imperative programming, I already covered that.



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

Search: