|
|
|
|
|
by dagmx
409 days ago
|
|
Way to start of the comment by being uncivil. You could have made the exact same point without being a jerk about it. But it’s common to only want to support specific response codes in a context, and people do use enums for that. It’s a fairly common paradigm, and an enum will do all those validations for you so you don’t forget. |
|