3 ms·
It's all kinds of things. I recently read a suggestion that you should be able to remove everything from a function's source except the declaration and the com
by rabidrat 10y ago
It's all kinds of things. I recently read a suggestion that you should be able to remove everything from a function's source except the declaration and the comments, and still know exactly what it does. I'm thinking about adopting that stylistic choice, and after a few weeks/months come back to reevaluate if it's worthwhile or overwrought. Or it will just be so obviously great that it becomes a permanent part of my stylekit.
- mlvljr 10y agoThis would be contracts given in plain text, only possible with very explicit comments for the whole system (and not select functions), if it all, it seems :)