Optimization: should we opt for the attachment of a child of full age to his tax household?

When the child is of age, it is possible to attach him to the parents' tax household until he reaches the age of 21 and even up to 25 years, especially if he is pursuing studies. But is the choice of connection really wise?