Re:OpenSSL will release a high-severity issue fix on 25th
by dochtman on Monday March 22, 2021 @05:44PM
(#26547648)
Match statement exhaustiveness checking is one example, especially combined with the pervasiveness of enums (instead of constants).
[ Parent
| on HN ]
Re:OpenSSL will release a high-severity issue fix on 25th
by junon on Monday March 22, 2021 @05:51PM
(#26547735)
Any respectable C compiler does this.
Re:OpenSSL will release a high-severity issue fix on 25th
by SubjectToChange on Monday March 22, 2021 @06:03PM
(#26547897)
What C compiler has pattern matching and ADTs?
Re:OpenSSL will release a high-severity issue fix on 25th
by junon on Monday March 22, 2021 @06:07PM
(#26547953)
Every C compiler these days will warn about unchecked enums in switch statements. This is, effectively, what the comment was saying.
Pattern matching has nothing to do with security or program safety.