What I have noticed is that when writing code people suddenly decide that they speak weird esoteric languages.
Here is a sample of the six options for a function to get the x value of a coordinate in c arranged by popularity in spoken languages:
Code: Select all
int coord_x_get(coord); //SOV
int coord_get_x(coord); //SVO
int get_coord_x(coord); //VSO
int get_x_coord(coord); //VOS
int x_get_coord(coord); //OVS
int x_coord_get(coord); //OSV
Which do you tend to prefer? Why?
I like SVO because I speak english, and because it helps with auto-complete. My RTOS professor mandates VOS or OVS since he requires that the "this"-type object is at the end. C++ mandates SOV or SVO, as do most other object-oriented languages (coord.get_x(); coord.x_get();).
I have seen all 6 of these variations in the course of 3 group projects in my Software Engineering program at the University of Waterloo. I find the weirdest to be OSV.