Live data from Hacker News

I keep tripping over "true, false, true"

allthingssmitty.com

61–62 of 62 posts

Re: I keep tripping over "true, false, true"

#61
post #32

Earlier quoted context omitted.

Swift also has them. It's probably the one thing I sometimes wish Rust would copy from them.

While I wish every language had them in a way, they do tend to enshrine the argument names in the ABI, so now you can't change those in public APIs. (Main reason I think it shouldn't be part of the ABI is because I think only the necessary things to identify and correctly use a contract should be part of the ABI) I have been thinking off if there is a way to have it work without enshrining them in the ABI and my only…

I don't feel like anyone finds it onerous to not be able to rename functions as a non-breaking change, so it's not obvious to me that this is much of a deal-breaker. If anything, I'd be thrilled for it to force people to spend more time carefully picking the names of their parameters in public APIs so that the autocompletion/documentation popup in my editor has higher quality information!
Post reply on HN