3 ms·
As long as we are counting LOC before compiling, that can be solved easily: if (false) { /* original code stays here, as we are payed by LOC */ }
by pintxo 6y ago
As long as we are counting LOC before compiling, that can be solved easily:
if (false) {
/* original code stays here, as we are payed by LOC */
} else {
/* write your new code here */
}
- flingo 6y agoAs long as this is contained to the metrics-metagame branch of the git repo, I am fine with this. Get 80k commits in, before lunch.
- ZoomZoomZoom 6y agoRealistically, it would take some compile time conditionals in a bunch of places to get rid of the dependencies. The best part, you'll get paid for all those #ifdefs, whens and #[cfg()]s! You can even split longer functions to be able to wrap each one of them in those conditionals! Where do I sign up?