Examine method signatures in your libraries.

These may give you more options for the methods you use.

The libraries and frameworks you use have many methods at your disposal, and while you are likely familiar with some of them, it is well worth your time to examine these methods closely. Sometimes they have additional optional parameters in their method signatures that may give you abilities you were not aware of.

Also while you’re there, look for other methods you might not be familiar with. Many developers make the mistake of implementing functions that perform the kind of work that is already available in the libraries they use. Preference should be given to the library’s implementation. Chances are good that the people who have written the library have received feedback from hundreds of users and thus have been able to optimize it for the best use. Take advantage of the hard work of others.

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: