2 ms·
You could however the problem is that the comment will invariably will be left after thing have changed and will just cause confusion. Generally what the code
by uk_programmer 7y ago
You could however the problem is that the comment will invariably will be left after thing have changed and will just cause confusion.
Generally what the code is doing should be fairly obvious and should not need comments. Comments should be reserved where things aren't obvious.
I don't think it is a good idea to create code where it isnt obvious what it does. CSS is relatively simple tbh things really shouldn't be complicated.
- deltron3030 7y agoIt might not work in very large teams without an agreed on working style, but I don't see how it would be a problem in smaller teams or for individuals agreeing on using comments to their advantage.