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