Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Substituir Condicional por Polimorfismo #52

Open
elissonmichael opened this issue Oct 5, 2018 · 0 comments
Open

Substituir Condicional por Polimorfismo #52

elissonmichael opened this issue Oct 5, 2018 · 0 comments
Labels
normal Atividades Comuns oop Programação Orientada a Objetos

Comments

@elissonmichael
Copy link
Owner

elissonmichael commented Oct 5, 2018

Substituir Condicional por Polimorfismo

Praticando Clean Code

Remova o switch/case usando polimorfismo.

Orientações:

  • Crie um arquivo na pasta aaaa-s, por exemplo 2018-2 (ano-semestre);
    • Crie a pasta caso ela não existe.
  • Copie e renomeie o arquivo para essa pasta.
  • Escreva o código nesse arquivo, não altere os arquivos originais;
    • Para esse problema, em específico, você vai alterar o método altitude_de_cruzeiro;
  • Certifique-se de que seu arquivo continua passando em todos os testes;
  • Faça um commit com a hashtag Substituir Condicional por Polimorfismo #52 contendo apenas o(s) arquivo(s) da sua solução criado(s) dentro da pasta mencionada no primeiro item.
    • Cuidado ao usar git add ., git add *, git add --all ou git add -A

Resumos para Ajudar:

@elissonmichael elissonmichael added oop Programação Orientada a Objetos normal Atividades Comuns labels Oct 5, 2018
lmaths added a commit to lmaths/teste-e-qualidade-de-software that referenced this issue Sep 10, 2019
andersonFb added a commit to andersonFb/teste-e-qualidade-de-software that referenced this issue Sep 11, 2019
binobiasutti added a commit to binobiasutti/teste-e-qualidade-de-software that referenced this issue Sep 11, 2019
VagnerOliveira1 added a commit to VagnerOliveira1/teste-e-qualidade-de-software that referenced this issue Sep 11, 2019
valcirjr98 added a commit to valcirjr98/teste-e-qualidade-de-software that referenced this issue Sep 12, 2019
elissonmichael pushed a commit to ucam-campos/Teste_e_Qualidade_de_Software that referenced this issue Oct 27, 2019
elissonmichael pushed a commit to ucam-campos/Teste_e_Qualidade_de_Software that referenced this issue Oct 27, 2019
elissonmichael pushed a commit to ucam-campos/Teste_e_Qualidade_de_Software that referenced this issue Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
normal Atividades Comuns oop Programação Orientada a Objetos
Projects
None yet
Development

No branches or pull requests

1 participant