Workflow Variables and Credentials deprecated?

I read in some older post that the global “Workflow Variables” and “Workflow Credentials” are deprecated. Just want to confirm this: Is it correct that one should no longer use these?