The foundation of a computer science education is a rigorous understanding of what the steps of an algorithm mean. If the students don't develop that, then I don't think they're doing computer science anymore.
I mean if the alternative is quitting entirely because they can't see that they've mixed tabs with spaces, then yes, it's very very helpful to their development.
I dropped out of cs half because I didn’t enjoy the coding because they dropped us into c++ and I found the error messages so confusing.
I discovered python five years later and discovered I loved coding.
( the other half of the reason is we spent two weeks designing an atm machine at a very abstract level and I thought the whole profession would be that boring.)