Thursday, February 24, 2011

dilemmas

Your dilemmas creates your personality, your decisions and your life.

Monday, February 14, 2011

Configuration settings

Getting a value from configuration does not make things changeable and easy configurable.

Team leaders, project managers all of lead of something please listen me

Wanna manage project from a one configuration file? This idea is bullshit :)

Friday, February 11, 2011

thin lizzy - whiskey in the jar

thin lizzy - whiskey in the jar

Feel good :)

Risky bugs

Interface changes, developments and updates comes with unseen risks. Example : Older versions has a text area for other descriptions of an advert. It can be unvisible with new versions and nobody can notice this.

Tuesday, February 08, 2011

Ineffective designs

  • A complex solution to a simple problem
  • A simple, incorrect solution to a complex problem
  • An inappropriate, complex solution to a complex problem

How to reduce

  • Minimize the amount of essential complexity that anyone's brain has to deal with at any one time.
  • Keep accidental complexity from needlessly proliferating.

These references from Code Complete and CC is a very informational book.

My examples

A complex solution to a simple problem : Localization(Resource management in .net for web sites) jquery glob will solve this problem I think.

A simple, incorrect solution to a complex problem : All business decisions that created as fast solution :) Not enough analysis on current situations and not thinking what can occur next.

An inappropriate, complex solution to a complex problem : All ERP systems :) This designs makes projects hard to maintain and demoralized project staff.

What is yours?

Friday, February 04, 2011

When you validate

Please return why it didn’t validate by reference. Like this

public bool ValidateSearchParameters(AdvertSearchParameters advertSearchParameters, ref string errorString)
        {

           
if
(advertSearchParameters.IsTextSearch)
            {
               
if (advertSearchParameters.TextKeywords.Length < 5) //TODO : will be provided by config
                {
                    errorString =
"Must be more than 5 charachter."
;
                   
return false;
                }
            }
}
 
 

Life runs on code :)