Conversation
@lucy Why have loops when you can have recursive functions?
1
0
0
@lucy If you want I can show you a small Maths library I made to train myself
0
0
0
@lucy @newt That escaladed quickly
1
0
0
@lucy Because it makes the code more clear and powerful to pattern match functions rather doing condition inside your loop
0
0
0
@newt @lucy I never wrote Haskell but Erlang/Elixir should be the same about recursion and Co. I find it way more flexible than C like loops
1
0
0
@newt @lucy Yeah probably. It's maybe harder to write not pure functions (and processes too :3)
1
0
0
@newt @lucy
I don't really understand why it can be a problem but no problem
2
0
0