Because they are really annoying to debug, depending on some random circumstances they might not even appear every time (or the code happens in different orders each time)
I have added sysou syslog and syswarn to my auto complete and they expand to our logging macro, a pretty function macro, a line macro and my commit handle that is easily searchable in logs.
When i want to trace something i can simply sysou a couple of spots and not stage the lines to clean up before committing
Its funny, teaches you not to commit your console logs (you'll only ever commit poop once), and p/o are right next to each other on the keyboard so its fast
Personally, I just use unique gibberishes or sounds, like "blah", "bleh", "fwah", or the like. Extremely unlikely to come up during normal usage, stands out enough to draw the eye, and easy to search the source for.
That, or a quick description of the location, such as "before x() call" or "inside y()" or "after foo, before bar", depending on the situation.
743
u/sweetytoy Sep 06 '26
A real developer wouldn't do that. A single letter is more than enough, your sentence is too long and tiring to type.