Programming Terms

Constant

Posted by on March 4, 25 in

Constant – the name of the location in the program’s memory where a piece of data is stored. Unlike variables, a constant’s value cannot be changed. Example: const name = Gloria People don’t normally change their names, thus names are “constant” values.

Continue reading »

Variable

Posted by on March 4, 25 in

Variable – the name of the location in the program’s memory where a piece of data is stored.  Variables are used as a placeholder and called when needed to execute a piece of code. Variables can change or “vary.” Example: var age = 17 The word “age” is used to hold the number “17” which […]

Continue reading »

Keyword

Posted by on March 4, 25 in

Keyword – A reserved term or word that is used by a programming language.  Keywords may not be used to create variables or functions because they are reserved for the language.  Each programming language has a list of keywords that are already defined.

Continue reading »

Comments

Posted by on March 4, 25 in

Comments – A way for programmers to make notes in their code such as documentation, etc. Comments can also be used to ignore code.  There are two types of comments: // This is a comment that occurs on a single line /* This A Block comment that may take up several lines I can format […]

Continue reading »

Immutable

Posted by on March 4, 25 in

Immutable means that an object cannot be changed after it is created. If you need to modify an immutable object, you must create a new one instead of altering the existing one.

Continue reading »