Logo
Unionpedia
Communication
Get it on Google Play
New! Download Unionpedia on your Android™ device!
Free
Faster access than browser!
 

Null coalescing operator

+ Save concept

The null coalescing operator (called the Logical Defined-Or operator in Perl) is a binary operator that is part of the syntax for a basic conditional expression in several programming languages, including C#, Perl as of version 5.10, Swift, and PHP 7.0.0. [1]

34 relations: ?:, Adobe ColdFusion, Apache Groovy, Bash (Unix shell), Binary operation, C Sharp (programming language), ColdFusion Markup Language, Conditional (computer programming), Conditional operator, Elvis operator, F Sharp (programming language), Haskell (programming language), Kotlin (programming language), Logical equivalence, Microsoft SQL Server, MySQL, Null (SQL), Objective-C, Operator (computer programming), Option type, Oracle Database, Perl, PHP, PL/SQL, PostgreSQL, Programming language, Railo, Scheme (programming language), Side effect (computer science), SQLite, Swift (programming language), Ternary operation, Transact-SQL, Visual Basic .NET.

?:

In computer programming, ?: is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages.

New!!: Null coalescing operator and ?: · See more »

Adobe ColdFusion

Adobe ColdFusion is a commercial rapid web application development platform created by J. J. Allaire in 1995.

New!!: Null coalescing operator and Adobe ColdFusion · See more »

Apache Groovy

Apache Groovy is a Java-syntax-compatible object-oriented programming language for the Java platform.

New!!: Null coalescing operator and Apache Groovy · See more »

Bash (Unix shell)

Bash is a Unix shell and command language written by Brian Fox for the GNU Project as a free software replacement for the Bourne shell.

New!!: Null coalescing operator and Bash (Unix shell) · See more »

Binary operation

In mathematics, a binary operation on a set is a calculation that combines two elements of the set (called operands) to produce another element of the set.

New!!: Null coalescing operator and Binary operation · See more »

C Sharp (programming language)

C# (/si: ʃɑːrp/) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

New!!: Null coalescing operator and C Sharp (programming language) · See more »

ColdFusion Markup Language

ColdFusion Markup Language, more commonly known as CFML, is a scripting language for web development that runs on the JVM, the.NET framework, and Google App Engine.

New!!: Null coalescing operator and ColdFusion Markup Language · See more »

Conditional (computer programming)

In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean condition evaluates to true or false.

New!!: Null coalescing operator and Conditional (computer programming) · See more »

Conditional operator

A conditional operator is a type of operator.

New!!: Null coalescing operator and Conditional operator · See more »

Elvis operator

In certain computer programming languages, the Elvis operator ?: is a binary operator that returns its first operand if that operand is true, and otherwise evaluates and returns its second operand.

New!!: Null coalescing operator and Elvis operator · See more »

F Sharp (programming language)

F# (pronounced F sharp) is a strongly typed, multi-paradigm programming language that encompasses functional, imperative, and object-oriented programming methods.

New!!: Null coalescing operator and F Sharp (programming language) · See more »

Haskell (programming language)

Haskell is a standardized, general-purpose compiled purely functional programming language, with non-strict semantics and strong static typing.

New!!: Null coalescing operator and Haskell (programming language) · See more »

Kotlin (programming language)

Kotlin is a statically typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM compiler infrastructure.

New!!: Null coalescing operator and Kotlin (programming language) · See more »

Logical equivalence

In logic, statements p and q are logically equivalent if they have the same logical content.

New!!: Null coalescing operator and Logical equivalence · See more »

Microsoft SQL Server

Microsoft SQL Server is a relational database management system developed by Microsoft.

New!!: Null coalescing operator and Microsoft SQL Server · See more »

MySQL

MySQL ("My S-Q-L") is an open-source relational database management system (RDBMS).

New!!: Null coalescing operator and MySQL · See more »

Null (SQL)

Null (or NULL) is a special marker used in Structured Query Language to indicate that a data value does not exist in the database.

New!!: Null coalescing operator and Null (SQL) · See more »

Objective-C

Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language.

New!!: Null coalescing operator and Objective-C · See more »

Operator (computer programming)

Programming languages typically support a set of operators: constructs which behave generally like functions, but which differ syntactically or semantically from usual functions.

New!!: Null coalescing operator and Operator (computer programming) · See more »

Option type

In programming languages (more so functional programming languages) and type theory, an option type or maybe type is a polymorphic type that represents encapsulation of an optional value; e.g., it is used as the return type of functions which may or may not return a meaningful value when they are applied.

New!!: Null coalescing operator and Option type · See more »

Oracle Database

Oracle Database (commonly referred to as Oracle RDBMS or simply as Oracle) is a multi-model database management system produced and marketed by Oracle Corporation.

New!!: Null coalescing operator and Oracle Database · See more »

Perl

Perl is a family of two high-level, general-purpose, interpreted, dynamic programming languages, Perl 5 and Perl 6.

New!!: Null coalescing operator and Perl · See more »

PHP

PHP: Hypertext Preprocessor (or simply PHP) is a server-side scripting language designed for Web development, but also used as a general-purpose programming language.

New!!: Null coalescing operator and PHP · See more »

PL/SQL

PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database.

New!!: Null coalescing operator and PL/SQL · See more »

PostgreSQL

PostgreSQL, often simply Postgres, is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards compliance.

New!!: Null coalescing operator and PostgreSQL · See more »

Programming language

A programming language is a formal language that specifies a set of instructions that can be used to produce various kinds of output.

New!!: Null coalescing operator and Programming language · See more »

Railo

Railo Server, commonly referred to as Railo, is open source software which implements the general-purpose CFML server-side scripting language, often used to create dynamic websites, web applications and intranet systems.

New!!: Null coalescing operator and Railo · See more »

Scheme (programming language)

Scheme is a programming language that supports multiple paradigms, including functional programming and imperative programming, and is one of the two main dialects of Lisp.

New!!: Null coalescing operator and Scheme (programming language) · See more »

Side effect (computer science)

In computer science, a function or expression is said to have a side effect if it modifies some state outside its scope or has an observable interaction with its calling functions or the outside world besides returning a value.

New!!: Null coalescing operator and Side effect (computer science) · See more »

SQLite

SQLite is a relational database management system contained in a C programming library.

New!!: Null coalescing operator and SQLite · See more »

Swift (programming language)

Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple Inc. for iOS, macOS, watchOS, tvOS, and Linux.

New!!: Null coalescing operator and Swift (programming language) · See more »

Ternary operation

In mathematics, a ternary operation is an ''n''-ary operation with n.

New!!: Null coalescing operator and Ternary operation · See more »

Transact-SQL

Transact-SQL (T-SQL) is Microsoft's and Sybase's proprietary extension to the SQL (Structured Query Language) used to interact with relational databases.

New!!: Null coalescing operator and Transact-SQL · See more »

Visual Basic .NET

Visual Basic.NET (VB.NET) is a multi-paradigm, object-oriented programming language, implemented on the.NET Framework.

New!!: Null coalescing operator and Visual Basic .NET · See more »

Redirects here:

//=, ?? Operator, ?? operator, Coalescing Operator, Defined-or operator, Logical Defined-Or, Logical Defined-Or operator, Logical defined-or, Logical defined-or operator, Null-coalescing operator.

References

[1] https://en.wikipedia.org/wiki/Null_coalescing_operator

OutgoingIncoming
Hey! We are on Facebook now! »