OCLint

No Whitespace in File Name and Path

Mar 10, 2013
Permalink

Having white spaces in file name or path is problematic. Spaces are good for human readability to some extents, but they always cause troubles and inconveniences. Even though people can escape them, it takes worthless efforts.

OCLint technically supports white spaces in the file path. However, frankly, we’d rather say it is yet supported. Because the ways to work around the white spaces issue in order to get OCLint running are case-by-case basis. Explaining them even takes longer time than kindly asking people to avoid white spaces.

Why not let the tool comprehensively converts all various formats to the one it supports? Sure, but doing it has a lower priority compared to other tasks.

So, since having white spaces in path is a smell itself, we highly recommend NO whitespace.