Program

    The program’s source code must be encoded in UTF-8.

    Features such as types, constants, macros and methods defined outside any other namespace are in the top-level scope.

    Private features are also only visible in the current file.

    A double colon prefix () unambiguously references a namespace, constant, method or macro in the top-level scope:

    There is no need to use a special entry point for the main code (such as a main method).

    Main code can also be inside namespaces: