3 ms·
"takes a lot of parameters" is not something to be desired. it usually makes functions hard to use without constantly consulting the documentation. not that a f
by yawboakye 7y ago
"takes a lot of parameters" is not something to be desired. it usually makes functions hard to use without constantly consulting the documentation. not that a function can't have many inputs, but i'd rather you stick it into a struct, class, or any type of value object in your programming language of choice. a while back i wrote about this problem, out of rage: https://boakye.yiadom.org/bikeshed/funparams/ https://boakye.yiadom.org/bikeshed/funparams/