Timeline for How can I avoid chasing my own tail when testing against complicated return values?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 18, 2021 at 17:35 | comment | added | Agent49 | Thank you. I will follow your recommendation because it scales perfectly with new bytestrings for new objects to read and write. I probably won't inject the decoder at this moment because even though you are right about testability and I might not strictly follow the single responsibility principle, I still prefer the user to be able to read or write an object in a single line. There probably won't be more than one way to decode/encode a set of objects. | |
| Jan 18, 2021 at 16:08 | vote | accept | Agent49 | ||
| Jan 18, 2021 at 15:38 | history | answered | Greg Burghardt | CC BY-SA 4.0 |