The other thing to take note of with most of these implementations is what happens when the opto's current gain drops over time, or completly fails, the general design should fail with output to 0V (low side control), however there are many that will fail to full supply or much higher in order to reduce parts count so it will start reliably,
arguably the second approach can be made safe, but with most things the cheapest solution wins :/