Programming Thread

Viewing single post

Started by the-pi-guy, Mar 13, 2016, 10:39 PM

previous topic - next topic

the-pi-guy

Does that change things really?

I know in C# a+b calls a function anyway.
Not in that case, but pure functional programming languages don't have for or while loops.

You have to do loops like this:

loop(i, limit){
if(lessThan(i,limit)){
   loop(add(1,i),limit)
}
}