Thursday, June 9, 2016

Reduction to minimal number of parameters

If function call fails with N optional parameters,

the first appproach is finding the minimal number of parameters which make the function succeed.

After that, we proceed by identifying the important params which decide whether the function will fail or succeed.

Usually, if function of a remote service asks for 30-40 parameters, only 1 or 2 are the really important ones (like EntryID field which identifies the actual record in the database).

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...