Timeline for Assigning properties
Current License: CC BY-SA 3.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2017 at 12:45 | history | edited | CommunityBot | replaced http://softwareengineering.stackexchange.com/ with https://softwareengineering.stackexchange.com/ | |
| Dec 13, 2016 at 16:11 | vote | accept | Troublesome Junior | ||
| Dec 2, 2016 at 17:43 | history | edited | radarbob | CC BY-SA 3.0 | added 805 characters in body |
| Dec 2, 2016 at 17:25 | comment | added | radarbob | Regarding datetimes as strings: Each differently formatted datetime essentially becomes its own type. I must give each format special handling or else code is blowing up. I cannot pass these things except to other specialized methods; that means duplicate code. Datetime arithmetic is severely hampered. Converting to a real DateTime defaults undefined parts (parts not in the string) which will probably cause errors down stream. And passing a date-as-string is a violation of SRP. Let the client decide how it want's the date to look. | |
| Dec 2, 2016 at 17:12 | history | edited | radarbob | CC BY-SA 3.0 | added 129 characters in body |
| Dec 2, 2016 at 16:12 | history | edited | radarbob | CC BY-SA 3.0 | add refactoring comments |
| Dec 2, 2016 at 1:12 | comment | added | Troublesome Junior | Scratch that, I know what mislead you, I wrote it needs to be sent to a SOAP service. That is not correct. | |
| Dec 2, 2016 at 1:01 | comment | added | Troublesome Junior | Your big-bang analogy is eye-opening, you have no idea. I got a quick question though, what do you mean by real DateTime objects.I was converting to string cause I was passing this to the .aspx page for visualization, similar to a ViewModel but not sure if I can call it this way. | |
| Dec 1, 2016 at 21:34 | history | edited | radarbob | CC BY-SA 3.0 | added 349 characters in body |
| Dec 1, 2016 at 21:29 | history | answered | radarbob | CC BY-SA 3.0 |