4 ms·
The 3rd solution is terrible, because: ForMid = 4 # padding for middle box in px And: FormId = 3 # ID of the form in the user process Should definit
by BiteCode_dev 5y ago
The 3rd solution is terrible, because:
ForMid = 4 # padding for middle box in px
And:
FormId = 3 # ID of the form in the user process
Should definitely not be resolved as the same variable.
- DangitBobby 5y agoThe only thing worse than 3 is 2.
- beagle3 5y agoI don’t remember the exact options, but there’s a way to make Nim emit warnings (and perhaps errors) for inconsistent capitalization. It isn’t the default, though.
- cb321 5y agoThe options are nim c --styleCheck:hint --styleCheck:usages (you need both). Though not on by default you could put it in your config.nims or nim.cfg's to make it on by default for you or for your code.