Development tips: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* Search for whole words occurence: |
* Search for whole words occurence: |
||
<source lang=bash> |
<source lang=bash> |
||
ag "\bWHOLEWORD\b" |
ag "\bWHOLEWORD\b" # or |
||
ag -w WHOLEWORD |
|||
</source> |
</source> |
||
Revision as of 17:43, 2 March 2022
Summary of things I do frequently or that I learned the hard way
Console tips
- Search for whole words occurence:
ag "\bWHOLEWORD\b" # or
ag -w WHOLEWORD
Advices
- Always keep your tests in sync with your source code.
- At the very least, this means in the same repository. Ideally code and tests are updated together in the same commit.
- Make your startup / boot / init sequence independent of system configuration. Avoid early optimization.
Calendars
Use ICU libraries that deal with all subtleties!