Skip to content

Commit c77c83f

Browse files
committed
Commenting out a bit of property lecture notes.
1 parent b2742aa commit c77c83f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

source/lectures/oop/properties.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ The benefit of this notation is that read-only properties can easily be integrat
259259
+ «get» Radius : decimal
260260
```
261261

262+
<!--
263+
262264
## Properties and Security
263265
264266
*The following discussion is related to the general topic of [`try-catch-finally` scope](../misc/exceptions#scoping-in-try-catch-finally-statements) but can be read independently.*
@@ -292,3 +294,9 @@ Where the last line indicate that the attribute *was set to `"Forbidden word"`!*
292294
293295
The correct fix is to **first test, then set**, so that an incorrect value would **never be assigned**.
294296
In the previous example, simply moving `sensibleData = value;` to the end of the `set` would fix this issue.
297+
298+
299+
300+
```{download="./code/projects/PropertySafety"}
301+
```
302+
-->

0 commit comments

Comments
 (0)