News for hackers. Stuff that matters.
Re:Using Enumerated Types in Python by zo1 on Sunday June 07, 2020 @07:20AM (#23446577)
That's a fair point, and I'll be sure to keep an eye out for that type of magic-string usage going forward. Though most "magic string" usages are not nearly as official as the one you mention and usually occur in business-level code written by ordinary developers that may not be disciplined or experienced. Those spots most certainly need all the assistance they can get instead of relying on magic-strings, hence my comment of magic strings being bad.

There are no comments on this comment yet.