NETSquirrel - guidelines/Namespaces structure

Namespaces structure

edit

There are the following namespaces to provide different functionality:

  1. DataStructures - provides non-generic data structures interfaces. Example: IStack interface.
    1. Immutable - provides non-generic immutable data structures interfaces. Example: IImmutableStack interface.
    2. Generic - provides generic data structures interfaces. Example: IStack<T> interface.
      1. Immutable - provides generic immutable data structures interfaces. Example: IImmutableStack<T> interface.
  2. Debug - provides non-generic proxy types for IDE's (such as Visual Studio and Rider) debuggers. Example: CollectionProxyType proxy type.
    1. Generic - provides generic proxy types for IDE's (such as Visual Studio and Rider) debuggers. Example: CollectionProxyType<T> proxy type.
  3. Extensions - provides several extensions for different types. Example: Print extension.
    1. ConsoleSpecific - provides console specific extensions for different types. Example: DebugPrint extension.
  4. Utils - provides several utils for different types. Example: GenerateArray util.