Timeline for Should a data class manipulate its input?
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 26, 2021 at 14:56 | comment | added | jfaccioni |
A bit tangential to the question, but you may find pydantic useful for data/settings validation.
|
|
Aug 26, 2021 at 1:23 | vote | accept | coney1 | ||
Aug 23, 2021 at 23:43 | comment | added | Filip Milovanović | I agree with Doc Brown's answer below; for your purposes, this is all mostly fine, just strive to express as much semantics as possible in the names of the types and methods rather than in comments. And have someone other than you try out your code and give you feedback - what feels natural to you might not make sense to others. While we can certainly offer some useful advice, many software engineering practices are motivated by challenges (like software evolution and maintenance in presence of a large user base) that aren't necessarily going to be particularly impactful for what you're doing. | |
Aug 23, 2021 at 21:00 | answer | added | Doc Brown | timeline score: 4 | |
Aug 23, 2021 at 20:50 | comment | added | Philip Kendall | You're about to walk into a minefield... view one, view two, many other articles available. | |
Aug 23, 2021 at 20:41 | review | First posts | |||
Aug 24, 2021 at 5:48 | |||||
Aug 23, 2021 at 20:39 | history | asked | coney1 | CC BY-SA 4.0 |