Re:25 Years Later: Interview with Linus Torvalds
by nkrisc on Wednesday April 03, 2019 @08:45AM
(#19562839)
Agreed. This is a thinking problem not even a programming problem. That question could be answered without a single line of code. Of course what the asked was probably looking for was all the code necessary, written for them.
Following your example, it wouldn't be a question about formatting a number. It would be a question where the user would ask something along the lines of, "how do I write an app that calculates user's effective tax rate?". If someone is not able to decompose this at least to the level of "take input, process it, calculate it, present output" and then ask questions about each of those individual steps, or linking them together - then, in my opinion, he is stupid. (At least in the field of computer programming.)