munificent / vigil

Vigil, the eternal morally vigilant programming language
2.9k stars 61 forks source link

Punish code that is not tested #15

Open jmesserly opened 11 years ago

jmesserly commented 11 years ago

after running tests, delete code that was not called. it's a feature: guaranteed 100% code coverage!

GUIpsp commented 11 years ago

You don't need testing if you write it properly the first time

LeFreq commented 10 years ago

Code re-use guidelines allow unused code to stay in place, for the case that it gets used at a later time in the code's future. But it does bring to mind, how one could lexically partition code which is not used yet, but suggested for the future.