I try to keep a decent distance whenever I can. Sometimes stomping on the brakes is still needed. But even then I rarely get close enough that if I am rear ended I will end up rear ending the car in front of me. I did the bike rider course nearly 30 years ago and it taught me, you need to constantly be on the look out. Especially with idiots that think using a mob while driving is ok.