optional (not comparable)

  1. Not compulsory; left to personal choice; elective.
    Synonyms: facultative, Thesaurus:optional
    Antonyms: compulsory, mandatory, obligatory, Thesaurus:compulsory
    On that beach clothing is entirely optional.
Related terms Translations Noun

optional (plural optionals)

  1. Something that is not compulsory, especially part of an academic course.
  2. (programming, sometimes, capitalized) In various programming languages, a kind of variable that is assigned a specific data type but may or may not hold an actual value.
    • 2015, Richard M Reese, Learning Java Functional Programming, Packt Publishing Ltd (ISBN 9781785289354), page gbooks cgKACwAAQBAJ:
      In functional languages, there is a data type called the option type, also called the maybe type. Its purpose is to encapsulate a value, which is returned from a function. […] In Java 8, the Optional class has been added to serve as an option type.

This text is extracted from the Wiktionary and it is available under the CC BY-SA 3.0 license | Terms and conditions | Privacy policy 0.003
Offline English dictionary