abstraction-violations

How do you get people to value abstraction and flexibility over "just getting it done"?

I sometimes have difficulties with other people who wish to solve a problem when they wish to skip the official interfaces and access underlying implementation details directly. They argue that doing so will allow them to solve the problem more quickly. I argue that doing so will cause our architecture to become more tightly coupled an...

Is this a leaky abstraction?

Is specifying a field name on middle-tier a leaky abstraction? I feel it is too cumbersome to create a separate function just for each field, even if it is code-generated. public bool Assortment_IsValueExistingOnOtherRecord( Dictionary<string, object> exceptPkColumns, string field, object value ...

What's the cleanest way to defeat C++ access qualification?

I decided to work around a bug in GNU libstdc++ by accessing an internal variable. Recalling that Johannes solved the problem on his blog, I checked that out… but couldn't comprehend the code, aside from the basic concept of getting a static initializer to do the dirty work. So, I boiled it down to this, which is pretty compact. But, as...