I am not a developer, but I have spent years testing and managing software projects. Bugs caused by leading and trailing white space in strings are like war wounds that will never completely heal.
So I ask, in what situations are leading and trailing white spaces beneficial?
Speed. Using the CHAR datatype (which preserves trailing spaces) will often be faster than VARCHARS. Having said that, when I come across a database that uses the CHAR type, I go looking for its designer with an axe – the speed difference almost never compensates for the difficulty of using the CHAR type.