Learn English – What does “What use is X” mean

expressionsgrammaticalitymeaningphrases

I've come across this construct on Stack Overflow, in the title of the question "What use is lambda in PHP?"

To me this was an error, so I edited the question changing the title to "What is lambda used for in PHP?" and corrected some other stuff on the question.

Later the original poster changed the title back saying it was not an error and that it changed the voice of the phrase.

I'm not a native English speaker but consider myself pretty fluent in the language, and I have never seen this construct. Not that I remember, at least.

What does it mean?

Best Answer

The meaning doesn't change, but there is a subtle difference in the nuance, or "voice of the phrase".

What use is lambda in PHP?

Sounds to me like the speaker is skeptical of the benefits of using lambda in PHP. They probably know how to create solutions using different methods and don't need to use it, but they are curious about why others would use it instead of something else, or perhaps in a blunt manner, the speaker wants to know why anyone would use lambda instead of using whatever the speaker uses. "What use is..." sounds somewhat negative/pessimistic.

What is lambda used for in PHP?

Sounds more neutral and suggests the speaker is looking for a general run-down of everything that lambda can be used for in PHP. Not necessarily pros or cons, just what parts of PHP it is generally used for. It doesn't suggest that they use alternatives, or that they know of alternatives to using lambda.

Related Topic