Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
treeform
on April 3, 2020
|
parent
|
context
|
favorite
| on:
Nim 1.2
Mutating in place is often times faster and is more straightforward.
I do feel Nim embraces mutation more than other recent languages.
eindiran
on April 3, 2020
|
next
[–]
Yeah, the 'discard' keyword is a pretty cool way to note that you're using a procedure only for its side effects.
doritosfan84
on April 3, 2020
|
prev
[–]
I'm not arguing either way, just noting that it's counter to what I've seen recently in other languages.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I do feel Nim embraces mutation more than other recent languages.