Tutorial by Topics: option

Optional is a container object which may or may not contain a non-null value. If a value is present, isPresent() will return true and get() will return the value. Additional methods that depend on the presence of the contained value are provided, such as orElse(), which returns a default value if v...
“ An optional value either contains a value or contains nil to indicate that a value is missing” Excerpt From: Apple Inc. “The Swift Programming Language (Swift 3.1 Edition).” iBooks. https://itun.es/us/k5SW7.l Basic optional use cases include: for a constant (let), use of an optional within a loo...
The Option<T> type is Rust's equivalent of nullable types, without all the issues that come with it. The majority of C-like languages allow any variable to be null if there is no data present, but the Option type is inspired by functional languages which favour 'optionals' (e.g. Ha...
class Some[+T](value: T) extends Option[T] object None extends Option[Nothing] Option[T](value: T) Constructor to create either a Some(value) or None as appropriate for the value provided.
:set [no](option|shortcut) :set (option|shortcut)=value :set (option|shortcut)(?|&) do not use : in the vimrc file See vimcast 1 video See vimcast 1 transcript
Option optionName [value] Option Explicit Option Compare {Text | Binary | Database} Option Private Module Option Base {0 | 1} OptionDetailExplicitRequire variable declaration in the module it's specified in (ideally all of them); with this option specified, using an undeclared (/mispelle...
Option Strict { On | Off } Option Strict On is a recommended good practice with Visual Basic .Net. It helps you as the developer to produce cleaner, more stable, more bug-free, more maintainable code. In some cases it may also help you write programs with better performance, avoiding thing...
Option Explicit On is a recommended good practice with Visual Basic .Net. It helps you as the developer to produce cleaner, more stable, more bug-free, more maintainable code. In some cases it may also help you write programs with better performance too! with ref to https://support.microsoft.com/...
Named Arguments Ref: MSDN Named arguments enable you to specify an argument for a particular parameter by associating the argument with the parameter’s name rather than with the parameter’s position in the parameter list. As said by MSDN, A named argument , Enables you to pass the argument t...
Use this plunker to play with examples.

Page 1 of 2