williballenthin / dnfile

Parse .NET executable files.
MIT License
1 stars 0 forks source link

reivew use of class variables #7

Open williballenthin opened 2 years ago

williballenthin commented 2 years ago

like this:

image

does the author really mean to set class variables, or are they just looking for an easy way to provide type info for instance variables?

williballenthin commented 2 years ago

https://softwareengineering.stackexchange.com/questions/254576/is-it-a-good-practice-to-declare-instance-variables-as-none-in-a-class-in-python