[Grammer] 07 - Naming Convention, 08 - Numbers

in #swift46 years ago
  • Naming Conventions(이름 정의 규칙)
  1. Camel Case : UpperCamelCase와 lowerCamelCase로 구분.
UpperCamelCase : Class, Structure, Enumeration, Extension, Protocol
lowerCamelCase: Variable, Constant, Function, Property, Parameter
  • Numbers
  1. Number Literals: 1, 1.2, 1.23e4,0xAp2, 1._000_000, 0b010011 등
    사이에 공백 불가.

  2. Number Types
    : Interger Types(Int8,Int16,Int32,Int64), Floating Point Types, Double Types
    음수가 필요없다면 앞에 U를 붙여 UInt를 사용.

Coin Marketplace

STEEM 0.14
TRX 0.23
JST 0.032
BTC 83106.38
ETH 2078.22
USDT 1.00
SBD 0.63