4 ms·
> Code is code - either you pull it down as a dependency or you write it yourself, it all executes the same in the end. This looks like an oversimplification s
by avmich 3y ago
> Code is code - either you pull it down as a dependency or you write it yourself, it all executes the same in the end.
This looks like an oversimplification sometimes. You surely can solve the same problem in programming in different ways. An important part could be unstated assumptions you relied on when you wrote your code - and sometimes it's really important to understand those assumptions, or the code could strangely misbehave. "All executes the same" could literally be not true - some testing may suggest that, but more expensive testing, which is often not done, could show that for some unusual combinations the behavior is different.
How do you know it's the same?