μΆμ²
ChatGPT
https://www.tutorialspoint.com/kotlin/kotlin_keywords.htm
Kotlin - Keywords
Kotlin - Keywords - Kotlin keywords are predefined, reserved words used in Kotlin programming that have special meanings to the compiler. These words cannot be used as an identifier (variables names, package names, function names etc.) and if used then com
www.tutorialspoint.com
https://kotlinlang.org/docs/keyword-reference.html#hard-keywords
Keywords and operators | Kotlin
kotlinlang.org
[Kotlin] Kotlin ν€μλ λ° μ°μ°μ ν΄λΆ Part 1
μ€λμ Kotlinμμ μ¬μ©λλ ν€μλ λ° μ°μ°μμ λν΄μ μμ보λλ‘ νκ² λ€. μΌλΆλ κ΅³μ΄ μ€λͺ μ μ ν΄λ μ΄ν΄κ° μ¬μ΄ μ΅μν κ²λ€μ΄ μκΈ° λλ¬Έμ μ μΈνμκ³ μ΄ κΈμ μ½λ λΆλ€μ κΈ°λ³Έμ μΈ νλ‘
medium.com
[Kotlin] Kotlin ν€μλ λ° μ°μ°μ ν΄λΆ Part 2
μ§λλ²μ μ΄μ΄μ μ€λμ Soft Keywords μ λν΄μ μμ보μ. λ§μ μμμ νμ§λ§ μμ΄ λ§μμ μ΄μ§ νν μ€μ΄λ€.. λλΆμ΄ μλ μ μ‘°κΈ μΉμλ©΄ νμκ° μμ¦ κΈμ° μ€μ μλ€. κΈμ°μ νλ€ λ³΄λ μ΄μ§ λΆ
medium.com
https://kotlinlang.org/docs/keyword-reference.html
Keywords and operators | Kotlin
kotlinlang.org
ν€μλ(Keyword)μ μλ―Έ
νλ‘κ·Έλλ°μμ ν€μλλ μΈμ΄μ λ΄μ₯λ μμ½μ΄λ‘, νΉμ κΈ°λ₯μ΄λ λͺ λ Ήμ λνλΈλ€. κ°λ°μλ μ΄ ν€μλλ₯Ό λ³μλ ν¨μ μ΄λ¦μΌλ‘ μ¬μ©ν μ μλ€. μλ₯Ό λ€μ΄, μλ°μ class, if, forμ κ°μ λ¨μ΄λ€μ ν€μλλ‘, 미리 μ μλ κΈ°λ₯μ κ°μ§κ³ μλ€.
μ½νλ¦° ν€μλλ μ½νλ¦° νλ‘κ·Έλλ°μμ μ¬μ©λλ 미리 μ μλ μμ½μ΄λ‘, μ»΄νμΌλ¬μκ² νΉλ³ν μλ―Έλ₯Ό κ°λλ€.
μ½νλ¦° ν€μλλ μΈ κ°μ§μ λ²μ£Όλ‘ λΆλ₯λλ€. 1) Hard Keyword, 2) Soft Keyword, 3) Modifier Keywordμ΄λ€.
1) Hard Keywords
νΉμ λ¬Έλ²μ μΈ κΈ°λ₯μ μννλ€.
Hard Keywordλ€μ μμΈ μ€λͺ μ λ€λ₯Έ κΈλ€μμ μλ μ μ€λͺ λμ΄ μλ€.
[Kotlin] Kotlin ν€μλ λ° μ°μ°μ ν΄λΆ Part 1
μ€λμ Kotlinμμ μ¬μ©λλ ν€μλ λ° μ°μ°μμ λν΄μ μμ보λλ‘ νκ² λ€. μΌλΆλ κ΅³μ΄ μ€λͺ μ μ ν΄λ μ΄ν΄κ° μ¬μ΄ μ΅μν κ²λ€μ΄ μκΈ° λλ¬Έμ μ μΈνμκ³ μ΄ κΈμ μ½λ λΆλ€μ κΈ°λ³Έμ μΈ νλ‘
medium.com
https://kotlinlang.org/docs/keyword-reference.html#hard-keywords
Keywords and operators | Kotlin
kotlinlang.org
as | as? | break | class | continue | do | else | false |
for | fun | if | in | !in | interface | is | !is |
null | object | package | return | super | this | throw | true |
try | typealias | typeof | val | var | when | while | - |
2) Soft Keywords
νΉμ ν λ¬Έλ§₯μμ ν€μλλ‘ μ¬μ©λκ³ , λ€λ₯Έ λ¬Έλ§₯μμλ μΌλ°μ μΈ μλ³μλ‘ μ¬μ©ν μ μλ€.
Soft Keywords μμΈ μ€λͺ
[Kotlin] Kotlin ν€μλ λ° μ°μ°μ ν΄λΆ Part 2
μ§λλ²μ μ΄μ΄μ μ€λμ Soft Keywords μ λν΄μ μμ보μ. λ§μ μμμ νμ§λ§ μμ΄ λ§μμ μ΄μ§ νν μ€μ΄λ€.. λλΆμ΄ μλ μ μ‘°κΈ μΉμλ©΄ νμκ° μμ¦ κΈμ° μ€μ μλ€. κΈμ°μ νλ€ λ³΄λ μ΄μ§ λΆ
medium.com
https://kotlinlang.org/docs/keyword-reference.html#soft-keywords
Keywords and operators | Kotlin
kotlinlang.org
by | catch | constructor | delegate | dynamic | field |
file | finally | get | import | init | param |
property | receiver | set | setparam | value | where |
3) Modifier Keywords
ν΄λμ€, ν¨μ, λ³μ λ±μ νΉμ λμμ΄λ κ°μμ± μ μ΄λ₯Ό μΆκ°νλ μν μ νλ ν€μλλ€μ΄λ€. μ΄λ₯Ό ν΅ν΄ μ κ·Ό μ μ΄, μμ μ μ΄, μ΄κΈ°ν μν λ±μ κ΄λ¦¬ν μ μλ€.
Modifier Keywords μμΈ μ€
https://kotlinlang.org/docs/keyword-reference.html#modifier-keywords
Keywords and operators | Kotlin
kotlinlang.org
abstract | actual | annotation | companion | const | crossinline | data | enum |
expect | external | final | infix | inline | inner | internal | lateinit |
noinline | open | operator | out | override | private | protected | public |
reified | sealed | suspend | tailrec | vararg | - | - | - |
'λΉ κ΅¬λ© μ±μ°κΈ°' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
[νλ‘κ·Έλλ°] λ©μλ μΆμΆ 리ν©ν λ§ Extract Method (0) | 2024.10.15 |
---|---|
[Kotlin] Infix call μ€μ νΈμΆ (0) | 2024.10.14 |
[Kotlin] μ νμΌ νλμ μ¬λ¬ ν΄λμ€λ€μ μ μΈν μ μκ² νμκΉ (0) | 2024.10.14 |
[Kotlin] statement(λ¬Έ)μ expression(μ) (0) | 2024.10.14 |
[νλ‘κ·Έλλ°] μμμ± νλ μμν¬ Persistence Framework (0) | 2024.10.14 |