Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

231
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda