News for hackers. Stuff that matters.
Re:Nim 1.2 by treeform on Friday April 03, 2020 @02:38PM (#22772655)
Mutating in place is often times faster and is more straightforward.

I do feel Nim embraces mutation more than other recent languages.

Re:Nim 1.2 by eindiran on Friday April 03, 2020 @03:28PM (#22773130)
Yeah, the 'discard' keyword is a pretty cool way to note that you're using a procedure only for its side effects.
Re:Nim 1.2 by iimblack on Friday April 03, 2020 @04:12PM (#22773493)
I'm not arguing either way, just noting that it's counter to what I've seen recently in other languages.