zoukankan
html css js c++ java
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
查看全文
相关阅读:
【poj1182】 食物链
【bzoj1013】 JSOI2008—球形空间产生器sphere
【codevs1200】 NOIP2012—同余方程
【poj2891】 Strange Way to Express Integers
【bzoj2819】 Nim
【bzoj2463】 谁能赢呢?
【poj3537】 Crosses ans Crosses
【bzoj2115】 Xor
下载时出现using cached如何解决
如何设计一个"好的"测试用例?
原文地址:https://www.cnblogs.com/144823836yj/p/14693187.html
最新文章
基于openstack搭建百万级并发负载均衡器的解决方案
mysql 查看当前使用的配置文件my.cnf的方法(推荐)
redis持久化的几种方式
【bzoj1046】 HAOI2007—上升序列
【bzoj1037】 ZJOI2008—生日聚会Party
【poj1015】 Jury Compromise
【poj3714】 Raid
【bzoj2823】 AHOI2012—信号塔
【bzoj1061】 Noi2008—志愿者招募
【poj1804】 Brainman
热门文章
【poj3159】 Candies
【poj1201】 Intervals
【bzoj1502】 NOI2005—月下柠檬树
【poj1716】 Integer Intervals
【poj2983】 Is the Information Reliable?
【uoj150】 NOIP2015—运输计划
【bzoj1016】 JSOI2008—最小生成树计数
【bzoj1486】 HNOI2009—最小圈
【poj1962】 Corporative Network
【bzoj1202】 HNOI2005—狡猾的商人
Copyright © 2011-2022 走看看