|
|
|
|
|
by ThePadawan
1773 days ago
|
|
That would make a somewhat interesting testing strategy. In a similar vein, React intentionally calls user-implemented functions which are meant to be pure twice in a row (even though that's technically unnecessary), just to ensure the programmer actually makes the function pure (so the application behaves reproducably in the future). |
|