Re:Conceptual Debt Is Worse Than Technical Debt
by bthornbury on Tuesday December 29, 2015 @09:20PM
(#10810357)
Throw path in there for good measure. Often times I see path in code and have no idea if it's expected to be a directory, file, relative path, etc...
Similarly I'm often shocked at just how critical name disambiguation is. There's a shocking number of extremely similar concepts when writing code which, when given the same name ends up causing bugs.
A good example is 'file' which can be used to refer to a file handle, file name, file object of some other kind, a 'file' representing an aggregate of information on person, and often it ends up referring to directories, devices and links as well.