{}Languages & types
See how type narrowing, generics, closures, and references shape code and safety. — 27 entries
Type narrowing타입 좁히기
A condition reduces the possible types of a value, letting each branch use operations valid for that type.
TypeScript native compiler타입스크립트 네이티브 컴파일러
TypeScript 7 moves the compiler to native code and parallelizes parts of project analysis.
TypeScript 6 modern defaults타입스크립트 6 최신 기본값
New projects receive defaults oriented toward modern runtimes and modules.
Python template strings파이썬 템플릿 문자열
Python 3.14 t-strings preserve literal pieces and interpolated values separately.
Python deferred annotations파이썬 지연 평가 어노테이션
Python 3.14 defers evaluation of annotation expressions until they are requested.
Kotlin context parameters코틀린 문맥 매개변수
A function declares required contextual values by type and receives them from its call scope.
Go initialized new expressionGo 값 초기화 new 표현식
Go 1.26 lets new take a value expression and directly produce a pointer to it.
Rust 2024 edition러스트 2024 에디션
An edition opts code into new syntax and interpretation rules without forcing all crates to change together.
Rust let chains러스트 let 조건 연결
Chained let conditions in if expressions pass earlier bindings into later conditions.
Static vs dynamic typing정적·동적 타입
Static checks catch type errors before running; dynamic checks encounter value behavior during execution.
Type inference타입 추론
A type checker derives types from assignments and usage context.
Generics제네릭
Type parameters let reusable functions preserve the relationship between input and output.
Union type유니언 타입
A union type declares that a value may be one of several types.
Discriminated union판별 가능한 유니언
A shared tag field identifies which variant of a union is present.
Nullability널 가능성
Nullability records that a value may be absent and requires a check before use.
Ownership소유권
Rust tracks one owner for each value and its moves and drops.
Borrowing빌림
Borrowing grants a reference to read or mutate without moving ownership.
Pattern matching패턴 매칭
Pattern matching tests a value’s structure and binds fields in the matching branch.
Interface vs implementation인터페이스와 구현
Callers depend on a behavior contract while different implementations provide it.
Intersection type인터섹션 타입
An intersection type requires a value to satisfy both component types.
Kotlin context-sensitive resolution코틀린 문맥 감지 이름 해석
A known expected type lets enum entries and sealed subclasses omit a qualifying type name.
Kotlin explicit backing fields코틀린 명시적 뒷받침 필드
One property declaration can expose one type while storing a more specific internal type.
Kotlin unused return value checker코틀린 반환값 미사용 검사
A compiler check warns when a meaningful expression result is discarded.
Kotlin nested type aliases코틀린 중첩 타입 별칭
A type alias can live inside its related class, keeping its name close to its use.
Lifetime수명
Lifetime relationships ensure a reference does not outlive the value it points to.
Optional type옵셔널 타입
Some and None encode whether a value is present.
Trait bound트레이트 제약
A trait bound limits a generic function to types that provide a required behavior.