3 ms·
What's the harm? In any software project useless shit accumulate because it is much easier to add features than to remove them. Support for one useless feature
by bjourne 11y ago
What's the harm? In any software project useless shit accumulate because it is much easier to add features than to remove them. Support for one useless feature such as \v will not make a codebase into a mess of spaghetti, but support for enough useless features like \v absolutely will.
The burden for \v is not zero. Every programmer working on the string escapes part of the code has to read and understand the lines that implement it. And it has to be tested and documented and if your documentation comes in multiple languages, translators have to spend time translating text for a completely useless feature.
Writing software is like writing a book of code for other programmers to read. An author wouldn't leave in meaningless chapters in the book it is writing because "what's the harm?" and neither should good programmers.
- couchand 11y agoWhile your argument holds generally, let's remember that unless the software is horribly architected the difference between escape-everything-but-vertical-tab and escape-everything really should be trivial.