[swift-users] Usage of final let?

Azuan alienxp03 at gmail.com
Mon Jun 13 00:43:21 CDT 2016


Hi,

This is my first email to this mailing list. Do correct me if I did something wrong :)

Read in docs, saying that by using final on variables, you can’t override it in it’s subclass. Using `final var` makes sense to me. But what is the purpose of using `final let` since by using `let`, it is already an immutable variable anyway.

Regards,
Azuan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160613/095f44d3/attachment.html>


More information about the swift-users mailing list