• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
返回主页

会挽雕弓如满月

  • 博客园
  • 首页
  • 新随笔
  • 联系
  • 订阅
  • 管理

Scala编码风格指南

来源:https://docs.scala-lang.org/style/index.html

  • Indentation
    • Line Wrapping
    • Methods with Numerous Arguments
  • Naming Conventions
    • Classes/Traits
    • Objects
    • Packages
      • root
    • Methods
      • Accessors/Mutators
      • Parentheses
      • Symbolic Method Names
    • Constants, Values, Variable 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
    • Arity-1 (Infix Notation)
      • Symbolic Methods/Operators
      • Higher-Order Functions
  • Files
    • Multi-Unit Files
  • Scaladoc
    • General Style
    • Packages
    • Classes, Objects, and Traits
      • Classes
      • Objects
      • Traits
    • Methods and Other Members
posted @ 2021-04-23 12:00  梦醒江南·Infinite  阅读(73)  评论(0)    收藏  举报
刷新页面返回顶部

公告

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3