3 ms·
I hope that the very generic names you have chosen is just for the example, but otherwise that is exactly the type of names that make a codebase incomprehensibl
by Ma8ee 11y ago
I hope that the very generic names you have chosen is just for the example, but otherwise that is exactly the type of names that make a codebase incomprehensible. How about something like
function CalculateSalesBonus(err, salesmenEmployedByTheLastOfMonth) {
// do stuff
}
which actually contains much more information than
db.getSalesmenEmployedByTheLastOfMonth(function (err, data) {
//blah blah does stuff
});