Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror

Comment: It is harder than you think. (Score 2) 330

by Kickasso (#42835627) Attached to: Ask Slashdot: Do Most Programmers Understand the English Language?

printf("Copied %n file%s\n", n_files, n_files > 1 ? "s" : "");

There are languages with more than two grammatical numbers. There are languages that use different word order with different numbers. You need to redesign your simple and easy printf statement to accommodate them, and the outcome is bound to be anything but simple and easy.

I've never been canoeing before, but I imagine there must be just a few simple heuristics you have to remember... Yes, don't fall out, and don't hit rocks.

Working...