LWN.net Logo

What If I Don't Actually Like My Users?

What If I Don't Actually Like My Users?

Posted Apr 10, 2008 23:37 UTC (Thu) by nix (subscriber, #2304)
In reply to: What If I Don't Actually Like My Users? by NRArnot
Parent article: What If I Don't Actually Like My Users?

It reminds me of entirely too much of my own code before I realised the 
problems with it. (The other problematic thing: thoughtless information 
hiding. Yes, reducing coupling is good, but if you have an internal 
parameter affecting the behaviour of the system, *export it* somehow, if 
need be by way of a separate wrapping shared library with different 
interface guarantees, so you can change the implementation and eliminate 
or change those parameters, breaking the interface of that wrapping 
library, without breaking the interface of the 'real' library. Why? So 
that testsuites, not necessarily just those you write, can peek at enough 
of the library's internal state that they can guarantee that they've 
exercised all its corners.)


(Log in to post comments)

What If I Don't Actually Like My Users?

Posted Apr 11, 2008 6:18 UTC (Fri) by nix (subscriber, #2304) [Link]

Good grief. I'm sorry about perpetrating that horrific run-on sentence. It 
just sort of... metastasized withot my realising it.

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds