When it need expansion …

Recently, I need some kind of upgrade or expansion request from my boss. Originally I have two kinds of items. And the request is to add three kinds of display/view from one property of the item.

I have not much experience in Design Pattern, not to mention the application time of DP. When I got the request, I feel that I need to have kind of Refactoring. I know the classical book but not read it yet, and notice one great website and not finish reading it yet.

But I need to do it, anyway, in SHORT time.

Often we got the task in hand and without time to do a full learning or even survey before start it. We just need to do it based whatever we know/have now. In this moment.

Today I have another request. I need to add one more item. Simple, but not that easy. This item have slightly different property from previous two and in fact I decide to disable the support of three kinds of display/view to this new item.

I want to get a good use of my knowledge of Design Pattern. But at last, what I can have a good use is the concept, not the pattern itself. Maybe that’s because the case I have is Website design, but the reason should be that I have to use whatever I have in hand. I need to survey the feature what Sinatra support and see what I can use.

But I want to say, it’s the first time I know the important to learn Design Pattern. Not in the communication way. The more I know the pattern and concept, I have more possibility to generate good solution to the task. It’s kind of preparation. The more you learn in the past, the more possibility to have good solution in hand.

Whenever you get the task.

Keep learning.

 
1
Kudos
 
1
Kudos

Now read this

Timeline of Programming Language

Just saw some interesting items in Hackers News. Ah, I have created one-page for cleaner Hackers news view experience. Just cron job to get the items using API and Google Material pack. Like a exercise. I believe that simple will make... Continue →