This post discusses the concept of context in programming languages and its importance in managing complexity. It highlights the challenges faced when individual pieces of code interact in unexpected ways and proposes the use of context-aware compilers to detect and prevent conflicts between separate units. The post also explores Kotlin's experimental Context Receivers API as a potential solution.

9m read timeFrom medium.com
Post cover image
Table of contents
Kotlin: A (partial) case studyAddendum: Other case studies in ContextConclusion

Sort: