Welcome to WebmasterWorld Guest from 18.104.22.168
This prevents people from viewing the listings of directory if it doesn't have an index file inside... which the "images" dir doesn't have for example. Yeah I know I can always add an index file, but it just seems artificial to me.
This would prevent not only the files in the directory from being viewed, but also the directory itself.
I don't feel it's greatly better than what you've got, just a different method.