Timeline for In C# Is using private constant strings better than using strings directly in the code?
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 24, 2015 at 7:25 | comment | added | sara | If it's worth doing, it's worth doing right, eh? ;) | |
| Sep 24, 2015 at 2:15 | comment | added | Nathan | @kai If its usefully namable that's right. Also, for max brownie points, I don't mind tracing into a resx file for this sort of thing. | |
| Sep 23, 2015 at 21:50 | comment | added | sara | I don't agree unconditionally but this IS a good point I think many people miss. If anything, I'd prefer putting the constant on the line above the call to the console. That way you get semantics without bloating your class. | |
| Sep 23, 2015 at 10:45 | history | answered | Nathan | CC BY-SA 3.0 |