Open apbr opened 1 year ago
There are various concepts called magic number.
File header magic numbers could be excluded when parsing.
If the number is needed afterwards, like in your example supposedly, it would just need a fixed value for code
and read-only values I think.
If the number is needed afterwards, like in your example supposedly, it would just need a fixed value for code and read-only values I think.
Yes, that's what I am looking for, so is this already possible with bilge?
Add the possibility to define some values as constant/magic values. Such a value is always the same. It can't be changed in the constructor and also has no setter.
Possible syntax: