Style GuideΒΆ

Contents:

  • Overview
  • Indentation
    • Line Wrapping
    • Methods with Numerous Arguments
  • Naming Conventions
    • Classes/Traits
    • Objects
    • Packages
      • Versions Prior to 2.8
    • Methods
      • Accessors/Mutators
      • Parentheses
      • Symbolic Method Names
    • Constants, Values, Variables, and Methods
    • Type Parameters (Generics)
      • Higher-Kinds and Parameterized Type Parameters
    • Annotations
    • Special Note on Brevity
  • Types
    • Inference
      • Function Values
    • Annotations
    • Ascription
    • Functions
      • Arity-1
    • Structural Types
  • Nested Blocks
    • Curly Braces
    • Parentheses
  • Declarations
    • Classes
      • Ordering of Class Elements
      • Methods
        • Procedure Syntax
        • Modifiers
        • Body
        • Multiple Parameter Lists
        • Higher-Order Functions
      • Fields
    • Function Values
      • Spacing
      • Multi-Expression Functions
  • Control Structures
    • Curly-Braces
    • Comprehensions
    • Trivial Conditionals
  • Method Invocation
    • Arity-0
      • Suffix Notatoin
    • Arity-1
      • Higher-Order Functions
    • Symbolic Methods / Operators
  • Files
    • Multi-Unit Files
  • Scaladoc
    • General Style
    • Packages
    • Classes, Objects, and Traits
      • Classes
      • Objects
      • Traits
    • Methods and Other Members

Logo

Related Topics

  • Documentation overview
    • Previous: Cheatsheet
    • Next: Overview

This Page

  • Show Source

Quick search

©2015, Various Authors. | Powered by Sphinx 1.5.3 & Alabaster 0.7.10 | Page source