Is there any code in WebKit that comes from khtml?
Is there any code in Source that comes from idtech 2?
Is there any code in Source that comes from idtech 2?
// Assertion: Now we know the name of the current page
Is this style frowned upon? I've always thought it's a very clear way of communicating. There's a reason many maths papers are written like this. Do my co-workers think my comments are silly? :(First, it just says what the three simple lines of code above did. Comments should rather focus on the "why" to provide information which the code cannot give.
Second, assertions should be code (or somehow machine readable).