|
|
|
|
|
by nanumbat
1427 days ago
|
|
Track down a syntax-aware code search/database tool (if your IDE doesn't have one). For me it was/is GNU ID Utils. At some point you'll be handed thousands or millions of lines of someone else's code, and you will need to find things quickly and completely. Also, turn on all compiler warning flags all the time. Some compiler warnings aren't triggered unless optimization is enabled, so turn that on every now and then during development and see if any warnings pop. If you're handed thousands of lines of someone else's code and it's riddled with warnings, fix them first. |
|
If you can't, capturing them in a way that lets you do a diff at least helps you notice when you've introduced a new warning. The ease of doing this depends more than a bit on the particular ecosystem.