News for hackers. Stuff that matters.
Re:Data is not an asset, it’s a liability by robrenaud on Friday September 11, 2015 @12:32AM (#10202031)
Unless you are willing to pay me to rm -rf your source tree, you are contorting the definition of liability.
Re:Data is not an asset, it’s a liability by nulagrithom on Friday September 11, 2015 @12:38AM (#10202044)
If you can remove lines of code and retain functionality, then yes, I will pay you to remove code.

Conversely, adding lines of code but NOT adding functionality isn't worth a cent.

Re:Data is not an asset, it’s a liability by prof_hobart on Friday September 11, 2015 @09:42AM (#10203583)
Depends if it adds anything else - readability, maintainability, flexibility, portability etc.

The "code as liability" argument seems, unless I'm mistaken, to be based on the idea that less code for the same level of functionality means less cruft, and therefore better support for the NFRs that I mentioned above.

That's often true, but not always.

If you're including those NFRs in what you mean by same functionality, then the number of lines of code is utterly irrelevant.

Re:Data is not an asset, it’s a liability by meric on Friday September 11, 2015 @02:03AM (#10202222)
Arguably, programming class teachers charge students indirectly for adding lines of code without adding valuable[1] functionality.

The market value for code without valuable functionality is negative.

[1] Value as determined by how much anyone is willing to pay to use the software.

Re:Data is not an asset, it’s a liability by Karunamon on Friday September 11, 2015 @07:49AM (#10203128)
Tests and comments.
Re:Data is not an asset, it’s a liability by eru on Friday September 11, 2015 @08:49AM (#10203346)
Comments are useful, if they provide insight. They are not useful, if they do not.

Tests can provide a number of things: they can serve as API examples, assure functionality, speed up implementing new functionality and debugging.

If you tests don't do these things, they are not worth keeping, either.

Re:Data is not an asset, it’s a liability by hueving on Friday September 11, 2015 @12:46AM (#10202057)
removing the tree without maintaining the functionality is damaging the asset