Discover
Communities
Decks
Login
Discover
Communities
Decks
Buy perks
Login
Signup
32
nbkmundotech
NBK Mundo Tech
Aulas de desenvolvimento de software online
Available
Used
Resource Credits
156 Followers
2 Following
https://www.youtube.com/channel/UC0leK16nPQYAErHagb8-eEg
September 6, 2018
RSS feed
Posts
Blog
Posts
Comments
Communities
Wallet
Mute
nbkmundotech
typescript
5y
Como Usar protected para Acessar Membros Privados de uma Base Classe no TypeScript
Em programação orientada à objetos, os atributos de um objeto são normalmente definidos com acesso privado para não serem lidos ou modificados diretamente. Em vez do acesso direto a propriedade, funções
$ 0.000
0
1
nbkmundotech
typescript
5y
Herança de Classes no TypeScript
A palavra-chave class, introduzida no ECMAScript 2015, nos permite definir uma classe em JavaScript. O TypeScript também tem suporte ao paradigma. Um dos elementos da programação orientada à objetos é
$ 0.000
1
nbkmundotech
typescript
5y
Uma Breve Introdução a Classes no TypeScript
A programação orientada à objetos no JavaScript é originalmente realizada através de funções e herança prototípica. Com o advento do ECMAScript 2015, coloquialmente chamado de “ES6”, foi adicionada a palavra
$ 0.029
3
1
nbkmundotech
typescript
5y
Como Definir o Tipo de uma Variável que Armazena uma Função no TypeScript
No JavaScript, temos funções nomeadas e funções anônimas. O segundo tipo pode ser armazenado em uma variável, como no exemplo abaixo, já escrito com anotações de tipo do TypeScript: let minhaFuncao =
$ 0.000
0
nbkmundotech
typescript
5y
Como Adicionar o Tipo de Retorno de uma Função em TypeScript
Considere uma simples função que leva dois números como argumento. O valor de retorno é a multiplicação dos dois números: function multiplicar(a: number, b: number) { return a * b; } O compilador do TypeScript
$ 0.000
0
nbkmundotech
typescript
5y
O Construtor Protegido no TypeScript
Considere um exemplo de herança entre duas classes: a base classe Veiculo e a classe derivada Carro: class Veiculo { constructor() { } } class Carro extends Veiculo { constructor() { super(); } } Os
$ 0.000
1
nbkmundotech
typescript
5y
Como Adicionar Anotações de Tipo nos Parâmetros de uma Função em TypeScript
Uma função trivial para adicionar dois números pode ser escrita da seguinte maneira em JavaScript: function somar(a, b) { return a + b; } Certos bugs como o seguinte podem às vezes acontecer: let soma
$ 0.000
1
nbkmundotech
golang
5y
Como Criar uma Estrutura de Hash Map na Linguagem Golang
A estrutura que associa uma chave à um valor na linguagem Golang é chamada de Map. O tipo é formado da seguinte maneira: map[TIPO_DA_CHAVE]TIPO_DO_VALOR Por exemplo, para criar um mapa de string para int:
$ 0.000
2
nbkmundotech
golang
5y
Como Definir Estruturas (Struct) na Linguagem Golang
Às vezes temos dados que são relacionados e que seria melhor encapsula-los em uma só entidade. Em um jogo de duas dimensões, por exemplo, precisamos de duas variáveis para manter a posição do jogador.
$ 0.000
4
2
nbkmundotech
golang
5y
Como Definir Ponteiros na Linguagem Golang
Ponteiros são variáveis que armazenam o endereço da memória usada por uma certa informação. Por exemplo, vamos definir uma variável para armazenar um valor inteiro: var a int = 37 A variável a armazena
$ 0.000
4
1
nbkmundotech
golang
5y
Como Adiar (defer) a Execução de Funções na Linguagem Golang
As linhas de código em Golang são normalmente executadas em sequência, na ordem em que são escritas. Mas será que há alguma maneira de adiar a chamada de uma certa função? A resposta é sim, usando a
$ 0.000
2
1
nbkmundotech
slice
5y
Slices de Duas Dimensões (Matriz) na Linguagem Golang
Na linguagem Go podemos criar "fatias" ou "pedaços" de vetores usando a seguinte notação: []tipo Por exemplo, para criar um slice (fatia) de elementos do tipo string, escrevemos: []string
$ 0.000
2
nbkmundotech
redux
5y
O Conceito de Seletores no Redux
Muitos aplicativos de React hoje em dia usam o Redux para a gestão dos dados do aplicativo. Os dados são armazenados em uma única store, também chamada de Estado do Aplicativo. Essa entidade é, na maioria
$ 0.000
6
3
nbkmundotech
dtube
5y
O Conceito de Selector (Seletor) (Aula React & Redux)
Confira o Curso de React Native para Iniciantes: Aprenda o conceito de Selector (seletor) no Redux. Demonstração de como criar seletores para acessar o estado do aplicativo com React e Redux. Tópico
$ 0.039
3
nbkmundotech
dtube
6y
Jogo da Velha com HTML, CSS, e JavaScript (Aula Tutorial Curso)
Aprenda a fazer um Jogo da Velha com HTML, CSS, e JavaScript. Crie um jogo e jogue direto do seu navegador! Este curso ensina uma implementação simples tendo o tabuleiro (grade) como um objeto. Usa JavaScript
$ 0.053
5
2
nbkmundotech
dtube
6y
Aprenda GraphQL com Express (Servidor Backend API JSON)
Aprenda a desenvolver um servidor (API) de backend que usa GraphQL como middleware para enviar dados em formato JSON. Neste curso, usamos o Express com o Express GraphQL. Para schemas, usamos o pacote
$ 0.000
0
nbkmundotech
dtube
6y
React - Code Splitting para Iniciantes (Divisão de Código, Lazy Loading)
Confira o Curso de React Native para Iniciantes: Aprenda o conceito básico de code splitting e como fazer a implementação no React. Code Splitting é o conceito da divisão de código para repartir o bundle
$ 0.000
0
nbkmundotech
golang
6y
Como Fazer o For Loop em Golang - Tutorial de Programação na Linguagem Go
Abordaremos aqui como fazer o for loop, a estrutura de repetição "para," na linguagem de programação Go. Estrutura de Repetição A estrutura de repetição "para" pode ser escrita da seguinte
$ 0.000
1
nbkmundotech
golang
6y
Como Instalar Golang no Linux (Ubuntu / Fedora)
Neste tutorial aprenderemos como instalar as ferramentas para compilar o código escrito na linguagem Go. Vamos usar o gerenciador de pacotes da distribuição de Linux. Apresentaremos duas escolhas: a primeira
$ 0.000
3
1
nbkmundotech
golang
6y
Como Definir uma Variável na Linguagem Go (Tutorial de Golang)
Uma das primeiras coisas que aprendemos em programação é a declaração e definição de variáveis para armazenar valores. Variáveis Uma variável tem um nome e o tipo de dado. Variáveis podem armazenar valores
$ 0.000
0
Follow, be first to know
Nothing found in posts.