60% Reduction in file size

The long lines of codes before the contents will show poorer performance in terms of CEO points of view. This is due to the design of the pages created by the previous user and it will take much effort to remove it. Let alone commented out copied codes here and there, will hinder the robots from registering the site to appropriate keywords.

I hate to look at these copied and commented out codes. It is not even clear which css file is doing what. Duplicate file imports should be removed, of course. Empty anchor tags must be removed. This mixture of css and js codes — beyond my tolerance level. Tags in upper and lowercase is style problem, but there are no rules in file naming. What could “styles.css” mean? The common css for every file? All of these mean that I must look for every components to figure out which css file is defining which components. The file name has to correspond to its size if it has it in in it.

In all, his code only shows the lack of the notion of

– the notion of scope
– structured coding
– class notion that has introduced to PHP

This is reduandant.

There is no footer.

Now I achieved 60% reduction in file size.


About easai

Programming is, a way to earn living, to express yourself, to explore logic, and to make a permanent record of your thinking. View all posts by easai

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: