Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Inline comments should be kept inline #235
Sometimes comments are meant to be inline. Consider the following code:
It compiles to:
There are several use cases like this. Can it be done?
Having them on second line kinda screws up the context of the line/comment meaning.
I guess the alternative would be to put your inline comments on the line above, instead of after a property (for example):
Not as nice though (in terms of documenting an uncompressed version of the code).
I'm pretty sure LESS has this problem as well.