News for hackers. Stuff that matters.
Re:Tailwind UI by uk_programmer on Wednesday February 26, 2020 @01:39PM (#22425837)
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.

Re:Tailwind UI by deltron3030 on Thursday February 27, 2020 @04:55AM (#22431991)
It 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.