> Journalists shouldn't print anonymous articles. Journalists should use anonymous sources as little as possible.
Correct. But there are times when anonymous sources are necessary. Look at WaPo and NYT's political coverage. They use many political insiders who can't go on the record but reveal necessary information for the public.
One example: Trump's "shit hole countries" comment. That came from anonymous sources who were in the room, backed up with a few on-the-record commends from outsiders.
"Tabloid level" journalism is how I would describe stories full of anonymous sources.