Hi folks,
To remind authors and reviewers of our Safer Swift guidelines
<https://github.com/WebKit/WebKit/wiki/Safer-Swift-Guidelines>, which set a
goal to "use Swift as the programming environment which verifies safety without
exception”, I’ve added a style checker that objects to new uses of the ‘unsafe’
keyword.
I’m hoping that the style checker will help clarify our current in-transition
status:
* we do not want to add new uses of ‘unsafe’
* we have many existing uses of ‘unsafe’, which reflect work-in-progress to try
out Swift before all the safety features we’re designing are complete
* we may sometimes need to add new uses of ‘unsafe’ in cases where we must
write the code in Swift and a safe option does not exist yet
Please let me know if you have any questions or concerns.
Thanks,
Geoff
_______________________________________________
webkit-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]