Skip to main content

Software Development Terms Beginning with I

Idempotent

An idempotent function produces the same result no matter how many times you pass it to itself.

For instance, suppose invoking myFunction(5) returns 100. In that case, myFunction is idempotent if invoking myFunction(myFunction(5)) also outputs 100.

Learn more...

if Conditional Statement in JavaScript

The if conditional statement instructs the computer to execute a JavaScript code block only if a specified condition is true.

Learn more...

Ignore Case (RegExp)

The ignore case flag (i) tells the computer to do a case-insensitive search for a RegExp pattern.

Learn more...

Immediately Invoked Function Expression (IIFE)

An immediately invoked function expression (IIFE) is a function expression that invokes itself automatically.

Learn more...

import.meta (ES Module)

The import.meta code is an object containing information about your current module.

Learn more...

Impure Function

An impure function is a function that contains one or more side effects.

Learn more...

includes() JavaScript Array Method

includes() checks if its calling array includes the method's first argument.

Learn more...

includes() JavaScript String Method

includes() checks if its calling string includes the method's first argument.

Learn more...

Index

Index refers to the position of items.

For instance, an array object's indexing starts at zero. In other words, the index of an array's first item is 0. The second value's index is 1. And the last item's index is the array's length minus 1.

Consider this array object:

["Blue", "White", "Pink", "Green"];

The index (positions) of the array items above are:

  • Blue is at index 0
  • White's index is 1
  • Pink's index is 2
  • Green is at index 3

indexOf() JavaScript Array Method

indexOf() searches its calling array for the first occurrence of the method's string argument.

Learn more...

indexOf() JavaScript String Method

indexOf() searches its calling string for the first occurrence of the method's string argument.

Learn more...

Indices (RegExp)

Regular expression's indices flag (d) tells the computer to include each capturing group's start and end indices in the result of the matched RegExp pattern.

Learn more...

Inheritance

Inheritance refers to a child receiving (inheriting) its parent's features.

JavaScript implements inheritance by allowing objects to inherit another object's prototype property.

For instance, if you use the JavaScript new keyword to create a new object instance. In that case, the newly created object will receive (inherit) its constructor's prototype property.

Initialization

Initialization occurs when you assign an initial value to a variable.

Learn more...

Inline CSS

Inline CSS styles an individual HTML element by adding a style attribute on the element's opening tag.

Learn more...

Inner Function (JavaScript)

An inner function is a function defined inside a block, module, or another function.

Learn more...

Instance Property in JavaScript

An instance property is a property the new keyword will assign to the object instance it constructs from a constructor function or class.

Instantiation

Instantiation means creating instances of an object from a constructor.

Instructing Language

An instructor directs the action of a page and its contents. For instance, JavaScript is a commanding language that commands the items of an HTML document.

Integer

Integers are numbers without decimals.

Learn more...

Integration Test (TDD)

An integration test is a test written to assess the functionality of a dependent piece of program.

Learn more...

Interface

An interface means connection.

Learn more...

Internal API Release Policy

An internal API release policy allows publishing APIs for internal use only.

Learn more...

Internal CSS

Internal CSS styles an HTML page's content by adding an HTML <style> element in the <head> section of the HTML document.

Learn more...

Internal Hardware

Internal hardware is the internally connected elements of a machine that you will find inside the device's casing.

Learn more...

Internet

The internet is a means through which data get shared between two or more computers.

Learn more...

Internet Service Provider

An Internet Service Provider (ISP) is a company providing services that connect personal and business devices to the internet.

Learn more...

Inversion of Control

Inversion of control (IoC) occurs when you transfer the control of your code's execution to a third party.

The IoC programming principle commonly happens while writing a callback program—where you provide your function as an argument to a third-party's function.

For instance, consider the JavaScript code below:

function bestColor(color) {
console.log("My best color is " + color + ".");
}

setTimeout(bestColor, 3000, "White");

Try it on StackBlitz

In the snippet above, setTimeout() is a third-party code that belongs to the browser's Window object. On the other hand, bestColor() is our own code (a code we wrote ourselves).

Now, since we passed our code (bestColor()) as an argument to a third party's code (setTimeout()). It implies that we've transferred the control of our function's execution to setTimeout().

In other words, we inverted the control of bestColor()'s execution from ourselves to the third party. Therefore, setTimeout() has full control to determine how bestColor() will get executed.

note

Inversion of control could be problematic if you do not design your code with logic to mitigate trust issues.

Invocation

Invocation means to execute a piece of code.

Learn more...

Iterable

An iterable is an object that has a property with a @@iterator key.

Learn more...

Iteration Statement in JavaScript

An iteration statement is any piece of code that allows you to repeat a program's execution easily and quickly.

Learn more...