menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

From expec...
source image

Dev

2w

read

197

img
dot

Image Credit: Dev

From expected to actual: Kotlin doesn't reinvent, it reuses 🔄

  • The author delved into learning Kotlin due to work reasons, coming from a background in Python.
  • While exploring Kotlin's documentation, the author noticed Kotlin's multiplatform system, including the use of 'expect' and 'actual' declarations.
  • Kotlin leverages the expect/actual system to reuse platform-specific implementations like sorting algorithms from Java.
  • The author highlights Kotlin's approach of not reinventing functionalities but rather building upon existing platforms.

Read Full Article

like

11 Likes

For uninterrupted reading, download the app