| ▲ | lgessler 3 hours ago | |||||||
I know this is mostly about keyword substitution but it still tickles me that you still write f(x) in this language and not (x)f given that Korean is SOV but I guess that's just how you notate that no matter what cultural context you're in. Hadn't ever considered that the convention of writing a function before its arguments might have been a contingency of this notation being developed by speakers of SVO languages. | ||||||||
| ▲ | localuser13 3 hours ago | parent | next [-] | |||||||
I think this notation is superior, because of syntax completion - get_name(user.id) can be syntax completed by IDE, (user.id)get_name can't. Just like "SELECT id, name FROM users" would be better of as "FROM users SELECT id, name" (LINQ in C# fixed this mistake, and most modern query languages do too). | ||||||||
| ||||||||
| ▲ | cubefox 2 hours ago | parent | prev [-] | |||||||
Object oriented programming languages also use object.method rather than method(object), so I don't think prefix/suffix notation has much to do with language. | ||||||||