<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hello Swift Dev,&nbsp;<div class=""><br class=""></div><div class="">`class` is a&nbsp;contextual keyword because it can be used to declare an object and declare a class variable. Right?</div><div class=""><br class=""></div><div class="">I believe static can only be used inside Classes, Structs, Enums, Protocols and Extensions so how is `static` a _contextual_ keyword?</div><div class=""><br class=""></div><div class="">Is there a reason why static is a keyword and not a “buildIn” modifier like final, public etc?&nbsp;</div><div class=""><br class=""></div><div class="">Or is it just for historic reasons?</div><div class=""><br class=""></div><div class=""><div class="">“The "type" keyword was split into two: "static" and "class". &nbsp;One can define static functions and static properties in structs and enums like this:…."</div><div class=""><div class=""><br class=""></div><div class=""><a href="https://github.com/apple/swift/commit/571c9b3c5ef995e280b494c751804b385b49e7b9" class="">https://github.com/apple/swift/commit/571c9b3c5ef995e280b494c751804b385b49e7b9</a></div></div></div><div class=""><br class=""></div><div class="">Thanks!</div></body></html>