Comment

Comment by 8jy89hui

Implicit cloning of types is evil. The first example with the mutable object is only surprising because the language decided to pass a copied struct by value instead of by reference.
parent 8jy89hui 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton