News for hackers. Stuff that matters.
Re:The not so hidden cost of sharing code between iOS and An... by reallydontask on Thursday August 15, 2019 @02:41AM (#20703103)
You are fortunate if you only have to explain it to juniors.

This seems pretty prevalent among senior developers too, in my experience.

The most egregious case was, this guy I worked with, who would just straight up start with abstractions to avoid any duplication and enable other use cases. Now, 9 out 10 times the use cases catered for by the abstraction failed to materialise (bloody customers) but boy did he let you know when he hit the abstraction lottery and what he'd done neatly fitted in with a new use case.

I think the term for what he created was ravioli code although maybe some of it was lasagne code

Re:The not so hidden cost of sharing code between iOS and An... by taurath on Thursday August 15, 2019 @04:23AM (#20703500)
Duplication is always more extensible and maintainable than a bad abstraction.
Re:The not so hidden cost of sharing code between iOS and An... by Roritharr on Thursday August 15, 2019 @04:47AM (#20703605)
>hit the abstraction lottery

Thanks, I'll use that from now on. A lot of wisdom in those 4 words.