staticwater Posted February 20, 2014 Report Posted February 20, 2014 Intrebare pentru programatori avansati(va rog sa-mi raspundeti sincer, fara google): How many design patterns do you know(use)? Quote
Robert1995 Posted February 20, 2014 Report Posted February 20, 2014 MVC, MOVE.----Proxy, Observer, Abstract factory, Builder, Module, Front Controller, Iterator Quote
staticwater Posted February 20, 2014 Author Report Posted February 20, 2014 (edited) @bluerayC# ? Edited February 20, 2014 by staticwater Quote
skull Posted February 20, 2014 Report Posted February 20, 2014 MVC, Observer, Decorator, Proxy, Iterator, Strategy, Facade, Factory, Singleton, State. Quote
staticwater Posted February 20, 2014 Author Report Posted February 20, 2014 @skull M-am uitat la profilul tau. Ai 21 de ani. Ori esti foarte talentat, ori pinocchio cu nasul mare. Choose one... Quote
Robert1995 Posted February 20, 2014 Report Posted February 20, 2014 @bluerayC# ?MVC si MOVE pot fi/sunt construite pe baza celor spuse mai jos.Si tot ce a zis Skull si eu stiu de ele si majoritatea le-am folosit, nu am scris clase "Facade" pana acum, dar stiu cum merg. Quote
eusimplu Posted February 20, 2014 Report Posted February 20, 2014 Problema la design patterns sta si in felul urmator: Cate folosesti fara sa le cunosti? Sau cel putin fara sa cunosti ca sunt design patterns.Unele sunt folosite nativ chiar de limbajul de programare, sau facilitate intr-o oarecare masura.Cum spune si Robert, unii le cunosc dar nu le-au utilizat in programare, sau doar le-au utilizat gata facute.(gen clasele Facade din Laravel) Quote
staticwater Posted February 20, 2014 Author Report Posted February 20, 2014 Eu zic ca cel mai important design pattern e sa nu cazi in capcana paternurilor de design. Mai astept si alte pareri... Quote
bhackery Posted February 20, 2014 Report Posted February 20, 2014 @staticwaterMVVM (Model View ViewModel) folosesc in javascript Quote
staticwater Posted February 21, 2014 Author Report Posted February 21, 2014 @blueray Stiu ce e MVVM. Pattern-ul a fost creat de microsoft si cel mai mult e folosit in aplicatii .net. Quote
skull Posted February 21, 2014 Report Posted February 21, 2014 @skull M-am uitat la profilul tau. Ai 21 de ani. Ori esti foarte talentat, ori pinocchio cu nasul mare. Choose one...Din moment ce stii sa programezi pe obiecte poti sa intelegi orice pattern. Chiar nu vad ce-i greu in a intelege/aplica un pattern. Unele dintre ele sunt chiar banale, declari o interfata cu o metoda si implementezi metoda in subclasa (vezi Strategy Pattern). Decorator Pattern mi se pare chiar frumos si elegant sa-l folosesti cand chiar ai nevoie de el. Mult mai greu e sa gandesti arhitectura unui software cap-coada sau sa implementezi algoritmi complecsi. Quote
fadwow Posted February 21, 2014 Report Posted February 21, 2014 MVC, observer, factory, singleton. Dac? le cuno?ti pe astea e suficient. Quote
TheTime Posted February 21, 2014 Report Posted February 21, 2014 Stiu ca o sa fiu ars pe rug pentru asta, dar: nu folosesc niciun design pattern, programez "dupa ureche".Pentru ca inca nu sunt la nivel de programator senior. Sau pentru ca e mai provocator fara. Quote