Development tips: Difference between revisions

From miki
Jump to navigation Jump to search
(Created page with "Summary of things I do frequently == Console tips == * Search for whole words occurence: <source lang=bash> ag "\bWHOLEWORD\b" </source>")
 
No edit summary
Line 1: Line 1:
Summary of things I do frequently
Summary of things I do frequently or that I learned the hard way


== Console tips ==
== Console tips ==
Line 7: Line 7:
ag "\bWHOLEWORD\b"
ag "\bWHOLEWORD\b"
</source>
</source>

== 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.

Revision as of 06:31, 8 April 2021

Summary of things I do frequently or that I learned the hard way

Console tips

  • Search for whole words occurence:
ag "\bWHOLEWORD\b"

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.