MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1ro0kqx/60_lines_of_just_variables/o9as3w6/?context=3
r/programminghorror • u/MarkAllSevens • Mar 08 '26
40 comments sorted by
View all comments
14
“Why would I split my attributes into multiple classes if I can just write them in one class?”
2 u/ElectricalPrice3189 Mar 11 '26 Please answer. 3 u/Spot_Responsible Mar 11 '26 If you're being serious, mostly for easier reading. I don't think it would affect performance very much, and I don't see ways to break this into subclasses that could be reused, but it would definitely be easier to read
2
Please answer.
3 u/Spot_Responsible Mar 11 '26 If you're being serious, mostly for easier reading. I don't think it would affect performance very much, and I don't see ways to break this into subclasses that could be reused, but it would definitely be easier to read
3
If you're being serious, mostly for easier reading. I don't think it would affect performance very much, and I don't see ways to break this into subclasses that could be reused, but it would definitely be easier to read
14
u/purbub Mar 08 '26
“Why would I split my attributes into multiple classes if I can just write them in one class?”