|
|
|
|
|
by randomdata
1026 days ago
|
|
Doesn’t seem like that big of a deal. You’re going to have a really hard time getting your first test to pass if you make a mistake. I don’t mean using testing as a poor man’s type system, I mean even the tests you would write in a statically typed language will quickly uncover any mistakes you could possibly make there. |
|
I'm pretty sure I'd see multiple cases where the function would return different types depending on a code path.