Hot-take:

"print()" is the #Python (and some other programming languages) version of the "💾 3.5in-floppy-disk-as-document-save-icon" of most software.

It's an artifact of older times, when output was, well, printed out.

Almost nobody *actually* prints program output directly out on a physical printer. But it's so deeply ingrained in coding culture, it's taken for granted and rarely questioned.

At some point the connection between "print()" and 🖨️ will become almost indecipherable to young techies.

@rysiek I've used printers a lot, but I never thought of print() or printf() as a metaphor for physical printing. Separate magesteria; print(), in a program, means 'output()' to me.

So it's already become disassociated, at least in my mind.
Follow

@lighthousehermit @rysiek It was definitely confusing for me when I learned programming the first time. "Uh, professor, are you sure it's OK for me to say System.out.println? I don't want to waste ink."

Sign in to participate in the conversation
social.coop

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!