Strongly disagree with this. Toasts/alerts/etc. are a valid form of feedback in the UI. Inline feedback can be helpful/good (e.g., the copy/paste example in the article), but it can also be confusing if applied incorrectly.
A toast is a universal, out of the way confirmation of a user action. They shouldn't just be blindly waved off as "bad UX."