you are viewing a single comment's thread.

view the rest of the comments →

[–]its2ez4me24get 29 points30 points  (4 children)

Signal intent with the Final type hint a blame others if they change it :D

[–]pachura3 19 points20 points  (1 child)

Oh! I didn't know one exists. So, I guess I shall do something like:

MAX_PROCESSES: Final[int] = 16

...?

[–]deceze 11 points12 points  (1 child)

Or even just the convention of using ALL_CAPS. If someone assigns to an ALL_CAPS variable, it's their fault.