Re:Ask HN: What do want to see in programming language?
by rdnetto on Thursday May 25, 2017 @06:25PM
(#14420633)
You can do that in Python by converting the list to a tuple before passing it in. The need for a defensive copy is unavoidable as long as you're using mutable data types though.
[ Parent
| on HN ]
There are no comments on this comment yet.