zenware / FizzBuzz

FizzBuzz in every programming language, inspired by https://github.com/leachim6/hello-world
202 stars 71 forks source link

Update nim.nim #86

Closed juancarlospaco closed 5 years ago

juancarlospaco commented 5 years ago
zenware commented 5 years ago

What's the difference between proc and func in nim?

juancarlospaco commented 5 years ago

https://nim-lang.org/docs/manual.html#procedures-func

func is kinda Functional proc, better for mathy stuff where code can be like a math function, stuff enters and stuff returns no other side effects. :smile_cat:

juancarlospaco commented 5 years ago

So.... any news :grey_question: :slightly_smiling_face:

zenware commented 5 years ago

@juancarlospaco thanks for checking in, I actually tried to run it with func and I'm not able to get it to work for some reason but I am able to get it working with proc? (I'm on windows right now, will try on a linux machine soon, which I expect I'll have an easier time with)