It used to be the case that programmers were simply another step up from "power user", and as such would've already become familiar with such aspects of the system. Now, people are "learning to code" with barely any basic
computer literacy, and the situation is even worse thanks to opaque locked-down platforms like mobile, so that a lot of them unfortunately have only a vague notion of what a file is, much less the whole "devices are also files" paradigm that underlies Unix (and to a certain extent, Windows --- but how many Windows programmers know about CON?)
I've surprised some coworkers -- ones who are definitely not inexperienced or just learning -- by e.g. using /dev/stdout as a logfile, or even /dev/pts/x to have multiple logs directly written to separate terminal windows. They all "knew" that devices are files, but never thought about actually trying to use them as such.
Related: https://news.ycombinator.com/item?id=18349847