https://habr.com/en/company/pvs-studio/blog/443656/