Message260482
I can see the advantage of using an enum over a plain string. But you only get an error at run time, not compile time, if you misspell it. And there is also the disadvantage of the extra boilerplate of importing HTTPMessage. So I don’t have a strong opinion either way. Do other libraries have a similar enum?
BTW I think it is actually OPTIONS; see review comment. |
|
Date |
User |
Action |
Args |
2016-02-18 21:24:37 | martin.panter | set | recipients:
+ martin.panter, r.david.murray, ethan.furman, demian.brecht |
2016-02-18 21:24:37 | martin.panter | set | messageid: <1455830677.72.0.00819019350026.issue26380@psf.upfronthosting.co.za> |
2016-02-18 21:24:37 | martin.panter | link | issue26380 messages |
2016-02-18 21:24:37 | martin.panter | create | |
|