Nullable

November 4, 2020 ยท View on GitHub

A nullable type is a type where values can either be present or absent (null).

Badge printer

This exercise prints employee information on a badge and wraps the text to fit on a given maximum width. The reference implementation (C#) teaches:

  • the null literal
  • basic null checking at compile time and runtime
  • nullable types

Implementations

TrackExerciseChanges
C#tim-from-marketingNone
JavaScriptnullabilityNone