Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Timeline for answer to When should I use "final"? by sqook

Current License: CC BY-SA 2.5

Post Revisions

6 events
when toggle format what by license comment
Feb 12, 2009 at 19:09 vote accept Michał Tatarynowicz
Feb 8, 2009 at 20:58 history edited Nik Reiman CC BY-SA 2.5
Added examples, more info
Feb 8, 2009 at 20:46 comment added Nik Reiman Yes, you can comment it too, but it's better to assume that people who work with your code may not read the documentation or follow it very carefully. Imposing a restriction through design is much more powerful.
Feb 8, 2009 at 20:41 comment added Michał Tatarynowicz Can you provide a real-world example where you'd use it that way?
Feb 8, 2009 at 20:37 comment added Michał Tatarynowicz I think a comment would be very appropriate this way or the other.
Feb 8, 2009 at 20:35 history answered Nik Reiman CC BY-SA 2.5