For instance,
The Games-X
vs
The X-Games
In the first one, I would say that it could be a shortened way to say the "The Games named X" or the "The Games which name is X"
But in the second one "X" is the adjective giving the quality "X" to the noun "Games"
I’m asking this because some times, when writing stuff related to computer programming, I use both ways:
The method Foo is an instance function of the class Bar
and
The Foo method is an instance function of the Bar class
Which one is the correct way?
In the first sentence, "Foo" and "Bar" are the ones that are a "method" and a "class" respectively
In the second sentence, "method" and "class" are the ones which names are "Foo" and "Bar"