Published: 25 Jan 2019 › Updated: 25 Jan 2019![[Grammer] 07 - Naming Convention, 08 - Numbers](/nhc-explorer-cover.webp)
![[Grammer] 07 - Naming Convention, 08 - Numbers](/nhc-explorer-cover.webp)
[Grammer] 07 - Naming Convention, 08 - Numbers
- Naming Conventions(이름 정의 규칙)
- Camel Case : UpperCamelCase와 lowerCamelCase로 구분.
UpperCamelCase : Class, Structure, Enumeration, Extension, Protocol
lowerCamelCase: Variable, Constant, Function, Property, Parameter
- Numbers
Number Literals: 1, 1.2, 1.23e4,0xAp2, 1._000_000, 0b010011 등
사이에 공백 불가.Number Types
: Interger Types(Int8,Int16,Int32,Int64), Floating Point Types, Double Types
음수가 필요없다면 앞에 U를 붙여 UInt를 사용.
Leave [Grammer] 07 - Naming Convention, 08 - Numbers to:
Read more #swift4 posts
Best Posts From gunw
We have not curated any of gunw's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From gunw
- [Grammer] 26 - Custom Operators
- [Grammer] 25 - Operator Methods
- [Grammer] 23 - Bitwise Operators, 24 - Identity Operator
- [Grammer]21 - Ternary Coditional Operator, 22 - Range Operators
- [Grammer] 19 - Short-circuit Evaluation, Side Effect, 20 - Assignment Operators
- [Grammer] 16 - Overflow Operators, 17 - Comparison Operators, 18 - Logical Operators
- [Grammer] 13 - Data Types with Memory, 14 - Operator Basics, 15 - Arithmetic Operators
- [Grammer] 11 - Type Inference, Type Safety, 12 - Type Conversion, Type Aliases
- [Grammer] 09 - Boolean, 10 - Strings and Characters
- [Grammer] 07 - Naming Convention, 08 - Numbers