What is the translation of " SINGLETON PATTERN " in Portuguese?

['siŋgltən 'pætn]
['siŋgltən 'pætn]
padrão singleton
singleton pattern

Examples of using Singleton pattern in English and their translations into Portuguese

{-}
  • Colloquial category close
  • Official category close
  • Medicine category close
  • Financial category close
  • Ecclesiastic category close
  • Ecclesiastic category close
  • Computer category close
  • Official/political category close
The most obvious advantage of the singleton pattern is accessibility.
A vantagem mais Ã3bvia do padrão singleton é acessibilidade.
Conclusion The singleton pattern is simple and powerful, but it should be used sparingly.
O padrão singleton é simples e poderoso, mas ele deve ser usado com moderação.
In other words,the UIApplication class was designed with the singleton pattern in mind.
Em outras palavras,a classe UIApplication foi projetada com o padrão singleton em mente.
In most cases, the singleton pattern isn't the only solution available.
Na maioria dos casos, o padrão singleton não é a única solução válida.
This is the case where we should consider developing a Singleton pattern for our base classes.
Este é o caso onde devemos considerar a utilização do padrão Singleton para as nossas classes base.
To implement the singleton pattern, we declare a type property, sharedInstance, of type Logger.
Para implementar o padrão singleton, nÃ3s declaramos uma propriedade de tipo, Â sharedInstance, do tipo Logger.
Another common approach for implementing the singleton pattern is by leveraging nested types.
Outra abordagem comum para a implementação do padrão singleton é através do encadeamento de tipos.
Defensive coding techniques can give you the same result without the mental overhead of the singleton pattern.
Técnicas de codificação defensivas podem te dar o mesmo resultado sem a sobrecarga mental do Padrão Singleton.
You can check out my post about the singleton pattern in Java to learn more about it.
VocÃa pode conferir o meu post sobre o padrão singleton em Java para aprender mais sobre ele.
If you're familiar with iOS or OS X development,then you will notice that Apple's frameworks make use of the singleton pattern.
Se vocÃa está familiarizado com o desenvolvimento em iOS ou OS X,vocÃa irá notar que os frameworks da Apple fazem uso do padrão singleton.
To implement the singleton pattern in Swift, we make use of class constants, which were introduced in Swift 1.2.
Para implementar o padrão singleton em Swift, vamos fazer uso de classe e constantes, que foram introduzidas no Swift 1.2.
A few years ago,Miško Hevery wrote a great article about the singleton pattern in which he explains why the pattern should be avoided.
A alguns anos atrás, Miško Hevery escreveu um Ã3timo artigo sobre o padrão singleton em que ele explica porque o padrão deve ser evitado.
At first glance, the singleton pattern may look like a silver bullet or a golden hammer, but that is not what the singleton pattern is.
A primeira vista, o padrão singleton vai parecer um bala de prata ou um martelo de ouro, mas não é isso que o padrão singleton é.
For example, if you're using a singleton only to make it easily accessible,then you may be using the singleton pattern for the wrong reasons.
Por exemplo, se vocÃa está usando um singleton apenas para torna-lo facilmente acessível,vocÃa pode estar usando o padrão singleton de formar errada.
I don't consider the singleton pattern an anti-pattern, but it is a pattern that should be used with caution.
Eu não considero o padrão singleton um anti-padrão, mas ele é um padrão que deve ser usado com atenção.
As mentioned in the above definition, when we want to make sure that one and only one object needs to be created for any class,then we should implement the Singleton pattern for that class.
Como mencionado anteriormente, quando queremos ter certeza de que um, e somente um, objeto deva ser criado para qualquer classe,então devemos implementar o padrão Singleton para esta.
It's not because Apple uses the singleton pattern in its own frameworks that it is the right solution to every problem.
Não é porque a Apple usa o padrão singleton em seus frameworks que ele seja a solução certa para todos os problemas.
This puts the singleton pattern in a bad place and singletons are therefore considered a bad practice by many respected programmers.
Isto coloca o padrão singleton em um lugar ruim e singletons são, portanto, considerados um má prática por muitos programadores respeitados.
In Python, a factory function f that instantiates a class A can be implemented as: def f(): return A()A simple factory function implementing the singleton pattern is: def f(): if f. obj is None: f. obj A() return f. obj f. obj None This will create an object when first called, and always return the same object thereafter.
Em Python, uma fábrica função f que instancia uma classe de Um pode ser implementada como:Uma simples fábrica função de implementação do padrão singleton é: Isto irá criar um objeto quando for chamado, e sempre retorna o mesmo objeto a partir de então.
As the EventBus library follows the singleton pattern, the instance of the event bus available to this Activity is the same as the instance available to the BroadcastReceiver.
Como a biblioteca EventBus segue o padrão singleton, a exemplo do event bus disponível para essa Activity, é o mesmo que a instância à disposição do BroadcastReceiver.
Abraham Maslow When I first heard about the singleton pattern, I was excited about how useful it would be in my next project.
 Abraham Maslow Quando eu ouvi pela primeira vez sobre o padrão singleton, eu fiquei animado em como seria Ãotil em meu prÃ3ximo projeto.
Similarly, using this definition,a singleton implemented by the singleton pattern is a formal factory- it returns an object, but does not create new objects beyond the single instance.
Da mesma forma, usando essa definição,um singleton implementado pelo padrão singleton é uma fábrica formal- ele retorna um objeto, mas não cria novos objetos além da instância única.
I have tried my best to explain the Singleton design pattern, which is widely discussed on the internet.
Eu fiz melhor para explicar o padrão Singleton, que é amplamente discutido na internet.
In this article you are going to learn how to implement the Singleton design pattern, and why and when to use this pattern in your application.
Neste artigo vocÃa vai aprender como implementar o padrão de projeto Singleton, o por que e quando utilizar esse padrão em suas aplicaçÃμes.
Results: 24, Time: 0.0266

Word-for-word translation

Top dictionary queries

English - Portuguese