- Having done it himself, he didn’t want to reveal it.
- Having done it several times in his career, he knew what it was.
- Never having done this before, she wants me to prepare the dish.
Are these sentences OK?
Grammatically yes, though they really need to be in a realistic context before it’s possible to check whether they work in a given situation.
- The car, having been crushed, was taken to the junkyard.
- The car that had been crushed was taken to the junkyard.
- The car having been crushed was taken to the junkyard.
How #3 is wrong while #1 and #2 are correct?
Please explain to me to understand logic of the grammar involved in it?
- is wrong because the additional phrase ‘having been crushed’ requires the commas to separate it from the main phrase ‘The car was taken to the junkyard’.
In (2) the use of ‘that had been’ repaces this need.