Message from @Gsurus
Discord ID: 272194086377750529
Uh.
It may be somewhere on github
I remember when github was down when I needed to download some shit for my 3DS
Actually, I think his source control is private.
oh nevermind then
lmao
I like to support open source stuff and contribute, so I was wondering
I spend my time doing that at work when I have nothing else to do ^^"
Ah.
Do you know JavaScript?
yeah pretty much
Nice, nice.
it's not my favorite language but I do know it
What's your favorite language?
pure functional stuff
Ah.
i'm an IT teacher, so ...
i'd say stuff like Ocaml, haskell are my favorites
that's what I teach mostly, that and C / C++
I've never heard of Ocaml or haskell
yeah well, you should try to check those language if you want to learn more about functional programming
I'll have to, it sounds interesting. I don't think I've ever used a functional programming language.
Just object oriented.
well OcamL is object oriented too
Oh, neat.
but you would have to get rid of some concept that you know, like loops, variables...
😄
So how do you go about things that would usually use a loop?
Just write it all out manually?
by default in functional programming, variables and loops aren't really first citizen stuff
record are immutable and you use recursivity for "loops"
Oh, I see.
Kongou desu
Eeey
like a function for the Takeuchi Ikuo algorithm would be something like this in ocaml :
```ocaml
let rec tak x y z =
if y >= x then z
else tak (tak (x - 1) y z) (tak (y - 1) z x) (tak (z - 1) x y)
```
>.>
He
llo
what's going on with `z` in that example? At the ``if y >= x then z`` line
Hey nrg