You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In computer science, "code" is used as a mass noun, specifying the collection of instructions in a specific arrangement as a whole and in no specific quantity. Whether it's one line of code or ten pages, it is still referred to as code, not codes.
When "codes" is used in computer science, it typically refers to values or constants used to specify a trait, access or properties (i.e. security codes), though in my experience, the actual name of those types of items is used over the word "codes". For example, instead of:
Use these codes to specify the read/write permissions of the file.
You would write/say:
Use these constants to specify the read/write permissions of the file.
Or:
Use this enumeration to specify the read/write permissions of the file.
With regard to the use of "code":
Use this code to open a file.
Use these functions in the source code to access the database.
This program code needs to be tidied up.
The text was updated successfully, but these errors were encountered:
Quote from english stackexchange:
In computer science, "code" is used as a mass noun, specifying the collection of instructions in a specific arrangement as a whole and in no specific quantity. Whether it's one line of code or ten pages, it is still referred to as code, not codes.
When "codes" is used in computer science, it typically refers to values or constants used to specify a trait, access or properties (i.e. security codes), though in my experience, the actual name of those types of items is used over the word "codes". For example, instead of:
You would write/say:
Or:
With regard to the use of "code":
The text was updated successfully, but these errors were encountered: