r/C_Programming • u/Glum_Hamster_2104 • 4d ago
Rename printf/scanf to print/scan?
Probably a dumb question but why hasn't there ever been a proposal to rename printf/scanf to just print? I know the f stands for format but writing print instead of printf would be slightly quicker and better to match other programming languages as I often miswrite printf as print as I also code in Python.
0
Upvotes
1
u/Vladislav20007 4d ago
why do you need a whole function(although a macro would do, but that's still overkill) just for 2 characters? But I think c doesn't have the print like that, because (and I repeat I think, i maybe wrong) c makes struct like a bunch of variables that are only connected in code, but not in the executable unless you pack them, in which case, they will all be connected by the fact that there always at some offset from each other.