In either case, it's likely that the USPTO isn't going to notice before issuing the patent, but under first-to-file it is way easier (read: cheaper) to show that "X document was published on Y website on Z date" than it is to start doing discovery to compare private lab notebooks or whatever to decide who really invented the thing first.
This only ever affected a minor number of cases anyway, and the change mostly just made litigation costs cheaper and more predictable.
It also seems really great for open source software (where I personally work), since everyone publishes everything they do immediately anyway.