Programmers prioritize the feeling of productivity over productivity itself. They prefer to rewrite a codebase with tools they are comfortable with (thus, feelings) even if ROI is years away, instead of e.g. fixing a bug (actual productivity).