I hate the paranoia around trimming trailing whitespace.
I remember a time when people weren't pedantic about it.
It started with Linux kernel devs because of their patches-over-email development method (email lost whitespace)
Then Linus coded that pedantism into Git.
And it spread like wildfire: editors started painting trailing whitespace RED.
Now everyone HATES trailing whitespace and when I ask them why they go blank for a second, then "...because Git and $EDITOR complain about it"