chmod 777 makes my blood boil

I don't know why but in the last few weeks I have seen a growing number of extension developers write code like this.

if (!is_dir($dstdir)) {
chmod($dstdir, 0777);

It is hard enough educating users not to do this without extension developers doing it for them.

There is no need ever to chmod 777 anything!!