4 ms·
Kudos to the author of the article for his perseverance in decorating message to fit grammar. I'd go another way, just using more formal and dry format: Nu
by dmytrish 12y ago
Kudos to the author of the article for his perseverance in decorating message to fit grammar. I'd go another way, just using more formal and dry format:
Number of scanned directories: %g
Number of found files: %g
That solves the problem with Slavic languages at least. Italian aversion to 0 may be mitigated with printing 'none', I guess. Please correct me if this form does not fit other languages.
- randallsquared 12y agoI agree: a huge chunk of this problem goes away if you stop trying to have the software communicate colloquially.
- placebo 12y agoJust scanned the comments to see if anyone would suggest that :) Being the lazy type, that's the first thought I had reading the article. Perhaps it's not appropriate for all target audiences and all target languages but many times you can find a much easier solution by going about it in a totally different way.
- xorcist 12y agoThis is my preferred solution as well. As a bonus, it makes parsing the data so much easier, if you ever need it.