There are only two obvious ways to minimize risk: teach people to swim or prevent people from swimming. Guess which one is more cost-effective?
The GP post was "stop them from going into dangerous areas", which is why I pointed out _swimming_pools_ would meet the definition of "dangerous".
https://news.ycombinator.com/item?id=40784425