Every developer has heard terms like loose or tight coupling yet still a lot have problems maintaining coupling in their codebase. Let’s take a look into some code and try to identify where it is tightly coupled and refactor making it more maintainable and testable. Facing a code So here is a class: A purpose […]
Once you start learning functional programming (whatever language you choose) sooner or later you will hit on Monad. Your initial understanding of Monad concept, after reading a couple of tutorials (many of them are available in the web), might not be very good and that’s because of The Curse of the Monad: In addition to […]
Model-Widok-Kontroler to w tej chwili chyba najczęściej używany wzorzec projektowy. Niemal każda aplikacja, a zwłaszcza aplikacje webowe, wykorzystują go (często pod przykrywką jakiegoś frameworka). Niestety rozpowszechnienie użycia tego wzorca nie idzie w parze z jego zrozumieniem. Często widzę jak programistom brakuje elementarnej wiedzy na temat MVC przez co traci się większość jego zalet. No cóż, […]