That recommendation is specific to the C++ SDK. The DefaultAzureCredential provides a default TokenCredential authentication flow for applications that will be deployed to Azure.
The C++ SDK has an evolved approach and recommends only enabling in production those credentials which your application knows it will use. The recommendation then is to use specific authentication or a ChainedTokenCredential with the specific credentials you intend to support.
Let me know if this helps and if you have further questions. There is a related discussion about this topic detailed here: https://github.com/Azure/azure-sdk-for-cpp/issues/4682
If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.