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