Software Development Terms Beginning with P
Package
A package is a directory (or project) that has a package.json
file used to record information about it.
package.json
package.json is a file that package managers—like NPM and Yarn—use to store information about your project.
package-lock.json
package-lock.json is a file that NPM uses to record the exact version of all the packages you’ve installed locally to your project’s node_modules
directory.
Package Manager
A package manager is a tool developers use to automatically find, download, install, configure, upgrade, and uninstall a computer’s packages.
Package Registry
A package registry is a database (storage) for thousands of packages (libraries, plugins, frameworks, or tools).
Parameter in JavaScript
A parameter specifies the name you wish to call your function’s argument.
Parameter (URL)
A parameter (query string) allows you to send specific data to the server.
Parent Module (ES Module)
A parent module is an aggregator file used solely to aggregate and re-export submodules.
parseInt()
parseInt() parses and converts its string argument from its radix state to a decimal integer.
Partial Application
A partial application is a function that meets the following conditions:
- The function’s definition contains only the first half of its arguments.
- The function returns a function containing the second half of arguments.
Here’s an example:
The senseOrgans()
is a partial application because it splits its arguments between its definition and returned function.
Partner API Release Policy
A partner API release policy allows publishing APIs to partner companies only.
Period (RegExp)
Regular expression’s period operator (.
) specifies that you wish to find any character that is not the newline or any other line terminator characters.
Polymorphism
Polymorphism means using coding entities like variables and properties to represent multiple data types.
pop()
in JavaScript
pop() removes its calling array’s last item.
Port (URL)
A port is a technical gate on a website’s server from which browsers can access a site’s resources.
Positive Lookahead (RegExp)
Regular expression’s positive lookahead operator (p(?=sp)
) asserts that you wish to find a RegExp pattern that is followed by another pattern.
Positive Lookbehind (RegExp)
The positive lookbehind operator ((?<=sp)p
) asserts that you wish to find a RegExp pattern that is preceded by another pattern.
Prefetching
Prefetching means downloading content in the background before the user requests it.
For instance, in a Next.js app, suppose a user navigates to a page with a link. In that case, Next.js automatically prefetches the link’s content in the background in anticipation of the user clicking the link. This makes the transition between pages swift, as the destination’s content is already downloaded ahead of time.
Primary Expression in JavaScript
A primary expression is a piece of code that serves as the basis for creating other expressions.
Primitive Data in JavaScript
Primitive data is any plain JavaScript value that you can use to program a webpage and its content.
Private API Release Policy
A private API release policy allows publishing APIs for internal use only.
Program
A program is a list of instructions (statements) used to accomplish specific tasks.
For instance,
- A fitness program is a series of fitness instructions for completing a fitness task.
- A computer drawing program is a list of drawing instructions used to accomplish a drawing task.
- A JavaScript program is a list of JavaScript instructions, commands, or statements used to execute a scripting task.
Programmer
A programmer is a person that writes programming codes using one or more programming languages.
Programming Language
A programming language is a vocabulary we use to write programs.
JavaScript, C#, Python, Java, .NET, C++, and PHP are examples of computer programming languages.
Programming Paradigm
A programming paradigm is the coding pattern you prefer to use to develop your application.
Promise (JavaScript)
A JavaScript promise refers to the object you create from JavaScript’s built-in Promise
constructor function.
Properties Object (JavaScript)
A properties object is an element you can use to bundle up multiple named values into a single item.
Property Accessor
A property accessor is a dot or bracket used to access an object’s properties.
Prototypal Property in JavaScript
A prototypal property is a property JavaScript will add to an object’s prototype chain.
Pseudocode
A pseudocode is an algorithm you write in your language for humans (not computers) to read.
Here’s an example:
When users provide their age,
If the age is between 13 and 99 (inclusive),
Display “Qualified! You will be a famous programmer.”
Else, if the age is greater than 99,
Display “Nothing is impossible. Code along with me.”
Else, for any other age,
Display “Employed! Help us invent the best gadget.”
Public API Release Policy
A public API release policy allows publishing APIs for public use.
Pure Function
A pure function is a function without any side effects.
push()
in JavaScript
push() adds its arguments to the end of its calling array and returns the calling array’s new length.