Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by adrianratnapala on Thursday October 12, 2017 @09:00PM
(#15462610)
Indeed, it is concreteness that is the virtue and abstraction that is the necessary evil.
We sometimes lose sight of this because when we learn that abstraction is necessary, and see how beautiful it can be, we forget that it is an extra layer of mental indirection.
Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by always_good on Thursday October 12, 2017 @10:13PM
(#15462830)
Sandi Metz's piece on this: https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstracti...
Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by misja111 on Friday October 13, 2017 @04:00AM
(#15463913)
This is so true. Even a horrible God class with 6500 lines of code is still many times better than an overdesigned framework with 100 classes of 65 lines each.
Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by siliconunit on Friday October 13, 2017 @04:32AM
(#15464009)
Totally agree, and as for ownership imho it all depends what level of complexity we are a taking about, if it's some web bs (no offense) it's one thing, if we talking about some parallel gpu FEM physics solver trust me there will be ownership and I think it's a good thing...
Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by posterboy on Friday October 13, 2017 @09:56AM
(#15465666)
hard to tell what you think would be the significant difference between horrible and overdesigned.
Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by Ace17 on Friday October 13, 2017 @12:49PM
(#15467305)
I feel James Coplien's advice on the question is interesting: https://www.youtube.com/watch?v=KtHQGs3zFAM&t=500
TLDW: "refactoring your way out" from a simple but too short-sighted design might take a ridiculous amount of work, compared what would have been necessary if you knew what a "correct" design for this problem was.
Then, ignore that feeling until you get proof. If you've kept your code simple and clean reacting to a lack of abstraction is relatively easy, at least compared to what digging yourself out of the wrong abstraction is like.