4 ms·
How would you define a “magic function”? Solving equations in general is not possible, so if you're trying to say that this function is too specific, good luck
by xigoi 4y ago
How would you define a “magic function”?
Solving equations in general is not possible, so if you're trying to say that this function is too specific, good luck generalizing it.
- 2-718-281-828 4y agoI talk about magic numbers from an abstract, theoretical perspective. from that perspective it's not relevant that you can't generalize an equation solver. but would bet that if it was possible then there would be no numbers except for 0 and 1. --- you could also think of it this way. a generalized equation solver would necessarily derive the solution in a complete fashion. for someone analyzing the code it would be come clear what's going on. your specialized equation solver otoh just has some "magical" solution in there.