3 ms·
You presume there is a runtime to be had. As a library developer I have no idea what else will be in the runtime and what objects could get passed into my funct
by stickfigure 12y ago
You presume there is a runtime to be had. As a library developer I have no idea what else will be in the runtime and what objects could get passed into my function. Bigger projects need more modularization... and with each independently developed module, the contracts get fuzzier.
- taeric 12y agoThe thing I described would work just as well in library development. Though, yes, it would likely be easier to just describe some contracts at border points in a program. That is, the inverted method would allow a way to say what all has to be on any object that is passed to you. If they have more, so be it.