hyphenation - "object-oriented" vs "object oriented"


When should we use "object-oriented" and when "object oriented" when talking about programming?


An example:



Why should I start writing object oriented code?



I personally think that there should be a hyphen, because "oriented" connects to the word "object", but I am not sure.



Answer



The Chicago Manual of Style notes:



With the exception of proper nouns (such as United States) and compounds formed by an adverb ending in ly plus an adjective, it is never incorrect to hyphenate adjectival compounds [of which object-oriented is one] before a noun. When such compounds follow the noun they modify, hyphenation is usually unnecessary, even for adjectival compounds that are hyphenated in Webster’s (such as well-read or ill-humored).



So:



Smalltalk is said to be a pure object-oriented language.



But:



These characteristics make a programming language object oriented.



Comments

Popular posts from this blog

etymology - Origin of "s--t eating grin"

First floor vs ground floor, usage origin

usage - "there doesn't seem" vs. "there don't seem"

pronunciation - Where does the intrusive R come from in “warsh”?

Abbreviation of "Street"

etymology - Since when has "a hot minute" meant a long time?

meaning - What is synonyme of "scale"?