|
|
|
|
|
by int_19h
2899 days ago
|
|
Which makes it that much harder to extend. There's nothing wrong with the use of strings here. It's very readable, easily understandable to anyone who knows C, can be checked by automated tools (or at runtime) for invalid values, and is easily extensible in the future. It's also not on a hot path (I mean, you shouldn't have to do this at any point other than process creation). |
|