4 ms·
Let's say you have a function that does a lot of different things, and you just call: doStuff() That's easy, right? But "doStuff()" may be a very complicat
by Beltalowda 4y ago
Let's say you have a function that does a lot of different things, and you just call:
doStuff()
That's easy, right?
But "doStuff()" may be a very complicated function, that's very hard to understand, so it's not simple.
A real-world example might be something like the type conversion that JavaScript and PHP do in comparisons; "just do 0 == '0' and it'll work, easy right?", but turns out those conversion rules aren't simple at all.