This has nothing to do with graphical user interfaces. It applies equally well to command line utilities, APIs and probably lots of other things.
It's just that GUIs is where everyone can see it. And probably because you got used to the fact that find uses single-dash arguments, perl takes -e while python takes -c and memcpy() uses dest before src while g_value_copy() uses src before dest.