how parameters too many?
routines have parameters, that's news. interpretation parameters competence need, nonetheless too your slight challenging know maintain.
of course, structured non-static workaround: putting those variables unparalleled struct flitting routine. fact, controlling structures foster parameter lists techniques described steve mcconnell code complete. nonetheless says:
careful programmers prevaricate bundling information any some-more logically necessary.
so your slight too parameters struct costume large parameter list, you're substantially doing something wrong. is, you're retaining coupling loose.
my doubt is, when i cruise parameter list too big? i cruise some-more 5 parameters, too many. think?
Comments
Post a Comment