- Um nível de recuo por método.
- Não use a palavra-chave ELSE.
- Envolver todos os primitivos e Strings em classes. (em JS nao eh necessario)
- Funções de primeira classe // mudei p/ Function em vez de Class
- Um ponto por linha.
- Não abrevie.
- Mantenha todas os módulos com menos de 50 linhas.
- Nenhuma classe com mais de duas variáveis de instância.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var mensagem, mensagemCodificada = '', cifra; | |
| mensagem = prompt('Digite sua mensagem'); | |
| cifra = parseInt(prompt('Digite o valor da cifra')); | |
| for (var i = 0, length = mensagem.length; i < length; i++) { | |
| mensagemCodificada += String.fromCharCode(mensagem.charCodeAt(i) + cifra); | |
| } | |
| alert(mensagemCodificada); |
- Um nível de recuo por método.
- Não use a palavra-chave ELSE.
- Envolver todos os primitivos e Strings em classes. (em JS nao eh necessario)
- Funções de primeira classe // mudei p/ Function em vez de Class
- Um ponto por linha.
- Não abrevie.
- Mantenha todas os módulos com menos de 50 linhas.
- Nenhuma classe com mais de duas variáveis de instância.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="columns"> | |
| <div class="column"> | |
| <img src="img/share_informations.png" alt="Compartilhamento de informações"> | |
| <br>Compartilhamento de informações | |
| </div> | |
| <div class="column"> | |
| <img src="img/grups.png" alt="Grupos em diversas plataformas"> | |
| <br>Grupos em diversas plataformas | |
| </div> | |
| <div class="column"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // media reduce | |
| const array = [ 1, 2, 6, 7, 88, 45 ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------------------------------------# | |
| # OFFICIAL DEBIAN REPOS | |
| #------------------------------------------------------------------------------# | |
| ###### Debian Main Repos | |
| deb http://ftp.br.debian.org/debian/ jessie main contrib non-free | |
| deb-src http://ftp.br.debian.org/debian/ jessie main contrib non-free | |
| ###### Debian Update Repos | |
| deb http://security.debian.org/ jessie/updates main contrib non-free |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| users: users, | |
| android: { | |
| collapseKey: 'optional', | |
| icon: icon, | |
| data: { | |
| message: message, | |
| locationAwareness: "1", | |
| locationObject: { | |
| type: (aceita "circle" ou "polygon"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdlib> | |
| #include <string> | |
| #include <iostream> | |
| using namespace std; | |
| // conceito | |
| class Carro { | |
| public: | |
| string: marca; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <cstdlib> | |
| #include <string> | |
| #include <iostream> | |
| using namespace std; | |
| // conceito | |
| class Carro { | |
| public: | |
| string: marca; |