Well, for absolute beginners and non software engineers globals are really a major part of the non-BS part. Just throw stuff in to little named boxes and use where ever. There are many jobs which require programming but not software engineers where I see globals all the time: data science (jupyter), trading (mt etc bots), accounting (excel and 4gl hell) etc. These folks just 'get shit done' and do not care (or know) about scope. Only us pro software engineers get upset about as we know this will hurt down the line.