2 ms·
How many ways can you call a single function? Like, it may be called from a loop, with a quickly changing variable that may change type here or there (especiall
by kaba0 5y ago
How many ways can you call a single function? Like, it may be called from a loop, with a quickly changing variable that may change type here or there (especially with weak typing), and you really can’t just say that “I tested it with this one data and it worked”.
- kamaal 5y agoMost people generally use one variable for one purpose. Of the all the constraints I've faced while developing software, reusing variables for many purposes in one code block isn't one of them.