Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

You have same switch statement with different implementation, what you should do to improve code quality?

user-image
Question ajoutée par Mohammad Shalabi , Cheif architect , Esatrata
Date de publication: 2014/09/17
Mohammad Shalabi
par Mohammad Shalabi , Solution Architect, Android, and IOS Architect , ALM New Way

it is very important to keep code quality high. you can classify this question as a code re-factoring question. the answer is it depends, but mainly you can use strategy pattern and may be you need a method pattern or another creation pattern.

Gayasuddin Mohammed
par Gayasuddin Mohammed , Advocate , Practicing Law before High Court at Hyderabad

Is it not implementing dynamic polymorphism concept in this scenario.

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?