Y
Hacker News
new
|
ask
|
show
|
jobs
by
treeform
2265 days ago
Mutating in place is often times faster and is more straightforward.
I do feel Nim embraces mutation more than other recent languages.
2 comments
eindiran
2265 days ago
Yeah, the 'discard' keyword is a pretty cool way to note that you're using a procedure only for its side effects.
link
iimblack
2265 days ago
I'm not arguing either way, just noting that it's counter to what I've seen recently in other languages.
link