News for hackers. Stuff that matters.

strikhedonia_

Re:The unreasonable effectiveness of print debugging on Saturday April 24, 2021 @01:13PM (#26926534)
Absolutely.

When people say they use 'print statements,' are they talking about log points (a debugger construct), logging or something else?

I should hope that, in most cases, they're not literally modifying their source code to achieve this. While there are a handful of scenarios in which this is necessary, on the whole it strikes me as inefficient, time-consuming and error-prone. In most environments, there are better ways to make this data observable.

The Paysa number is probably correct... For the tiny minority of workers in Amazon Warehouses who are salaried. If we look at actual wages (not just salaried employees) it would be far lower.

Terribly naive to include that point in the argument.