> On Nov 7, 2026, at 18:20, Mike Wyrzykowski <[email protected]> wrote:
>
> There are some other examples which the style checker does not flag but were
> frequently flagged during PR review, example:
> guard !missingPrimNames.contains(name) else {
>
> whereas a WebKit engineer might write it like:
> if missingPrimNames.contains(name) {
>
> and I would argue the latter is more readable despite not being canonical
> Swift style.
Right, these things need to be discussed on webkit-dev. It seems really
premature to impose style checks on Swift when most of us haven't even written
a single line of Swift.
If the future of WebKit codebase is to be written in Swift, then the coding
style of Swift needs to be something every WebKit contributor agrees to.
- R. Niwa
_______________________________________________
webkit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]