Y
Hacker News
new
|
ask
|
show
|
jobs
by
rowanG077
2056 days ago
These are not runtime errors. But regardless I rather like a runtime error instead of doing the wrong thing.
1 comments
colejohnson66
2056 days ago
Why would you
prefer
a runtime error over just not making the mistake in the first place?
link
rowanG077
2056 days ago
Because I don't like having bombs in my software waiting to explode when you touch it. That's essentially what mutable by default is.
link
colejohnson66
2055 days ago
Well then we’re on the same page: default immutability is better. You’re wording three comments up seemed to say you prefer default
mutability
link