Friday, March 31, 2006

hmm... shame on me today... i went to office at 9:30. supervised the status of my module and component. Then i analysed my offshore delivarable. Then some one called for a team lunch to an indian restaurant. We left at 12:00 PM and then after lunch my developer instinct said it needs some rest. so I left for the day. It is an irresponsible move. I got to compensate tomorrow to overcome my guilty feeling. But i enjoyed the time in evening.

Ok. So todays lesson is:
1) Respect your work. If you know something is going to prevent you doing it, stay away from it.

Technical lesson:
I planned to use the builder pattern for a class which exceeded 3000 lines of code in java. The purpose of the class is to map a big chunk of data from the host system to Object model. The whole mapping is handled by a single class. After reading through the builder pattern yesterday, I guessed my class is an apt candidate for applying builder pattern.

* The Builder Pattern assembles a number of objects to make a new object, based on the data with which it is presented. Frequently, the choice of which way the objects are assembled is achieved using a Factory. It constructs a complex object from simple objects step by step.

My plan is to build all the composite objects by using separate builder objects and finally assemble it using a super builder object. This way, the code is more organised and more maintainable.

Thursday, March 30, 2006

I am a developer. Today, I vow myself that I am going to update here daily something I learnt that day. For, I don't want to turn back after 10 years and be puzzled at what I learnt in the 10 years.
I am now puzzled looking back at my 3 years of software development.

Also I am planning to include members in this blog. So if you are interested and if you are a regular visitor of this blog, I will include you as a member so that you can post here.