Hacker News new | ask | show | jobs
by logicallee 4542 days ago
>With sufficient test coverage, you can change one variable (Python 3 vs 2)

That is a pretty hilarious way of putting it.

1 comments

Somewhat naive too to be honest. As someone that had just plain old ruby circa 1.8.5ish code (not rails) that I ported to 1.9 a while back, even with tests there were differences in behavior that I guarantee you probably weren't thinking of writing a unit test for.

Unit tests are nice, but they don't make things braindead easy. Just make it a bit easier to narrow down where something might be broken/different.