3 ms·
1) State the specific reason that motivates you to ask for a change. ‶This code is duplicated several times.″ — 2) State the change you'd like. ‶I'd suggest
by noname120 4y ago
1) State the specific reason that motivates you to ask for a change.
‶This code is duplicated several times.″
—
2) State the change you'd like.
‶I'd suggest extracting it to a separate function.″
—
3) (Optional) Expand on why you suggest solving the issue with this solution instead of another one.
‶We could create a macro instead but it's not worth it as we can just let the compiler decide whether to inline the function or not.″