Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

238
Vistas
Kotlin - What does @Stable do?

I've been following this article and I'm unsure what the @Stable annotation does. I have seen this documentation but I need an example to better understand.

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

@Stable is an Annotation that will tell the compiler that it's value will not change and return exactly the same value. This should only be applied to functions or values that are static the whole time.

The main reason why this is used is simple:

  1. Increased performance -> compiler will be faster because you tell him how to handle it.
  2. You can return always the same value, that can't be changed.
over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda