Quantcast
Channel: Decaying Code - design
Browsing all 9 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Response on "A Rant on Professionalism"

Chad Myers' posted this post about making changes and trying to improve our profession. Here is my comments.There was a time back then that blacksmith were forging metal to make tools, weapons, nails,...

View Article



Image may be NSFW.
Clik here to view.

Stop using those stupid Model example

Stop using Circle/Square/Rectangle, People/Employee, Car/Model  examples for models or example on how to use Object-Oriented Principles or any example at all.There is plenty of "Open" model that you...

View Article

Image may be NSFW.
Clik here to view.

Model View Presenter Revisited

The MVP pattern is a pattern that came into being in the early 1990s by Taligent. This pattern is mostly used inside WinForms and WebForms.The View normally don't do anything. The official...

View Article

Image may be NSFW.
Clik here to view.

We all produce code that we really aren't proud of

Everyone produce code. Some peoples give birth to some beautiful, elegant and maintainable code sometime in their career. But pretty much all developers will one day or another give code that is so...

View Article

Image may be NSFW.
Clik here to view.

Improving code quality - 2 ways to go

I've been thinking about this for at least a week or two. In fact, it's been since I started (and finished) reading the book "Clean Code" by Robert C. Martin. There is probably only two way to go.Fix...

View Article


Image may be NSFW.
Clik here to view.

The cost of Bad Code

Every developer writes code. Every developer works or has worked on a Brownfield project. Working on a Brownfield project often makes developer complain about the code being poorly written and hard to...

View Article

Image may be NSFW.
Clik here to view.

Back to basics: Why should I use interfaces?

So I had this interesting discussion with a colleague about having a clean architecture for a small software he is doing. Since it's his first step among SOLID, I wanted to take it easy see how things...

View Article

Image may be NSFW.
Clik here to view.

Quick introduction to SOLID

For those who don't know SOLID, it's an acronym of acronym.SOLID stands for the following:SRP: Single Responsability PrincipleOCP: Open/Closed PrincipleLSP: Liskov Substitution PrincipleISP: Interface...

View Article


How to insert page breaks in printed web pages using only CSS?

So one of my co-worker had to print a “report”. I say report but it’s more like they wanted the page printed but just more compact and less fluffy/pretty content. Like always, people tend to bring...

View Article

Browsing all 9 articles
Browse latest View live




Latest Images