Yeah, a lot of earlier sitcoms were. Some still are occasionally, but not as often.
It's always kinda funny in shows when they get rid of a character and have to find some explanation for what happened to them, or just don't acknowledge it at all. And then sometimes when they bring them back...