Re: New EEP draft: Pinning operator ^ in patterns
Richard Carlsson <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CANKG3znj7DLE_ohHQRrMh3QnOsuvVPFdcPNGU9Z+BncHvgEavQ@mail.gmail.com> |
Den fre 15 jan. 2021 kl 16:04 skrev <[email protected]>: > That said, I draw exactly the opposite conclusion from those results: > If only that much code in such a large corpus would benefit, then why > implement pinning? > It's taken me a long time to go through all the replies, so sorry for the delay. This one is worth clarifying: Yes, the stats showed that only a small fraction of all variable occurrences warrant annotating. But they also show that on average, every module out there can be expected to contain a couple of these - and although they are critical for the control flow where they occur, you can't see them without reading the code in detail. /Richard