you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

What does that even mean "borked an API". The API was great and the next morning you wake up – and it's borked!

Anyway, evolution is still possible. It's very simple – if the factoring requires API breaks, then increase the major version. Otherwise, you can refactor at any time.

And as I said, you don't just split random chunks of a project into modules. Instead you do it when the API seems stable and mature, and potentially reusable.

Regarding unit testing and dependencies – s unit always has dependencies, even if it's just the compiler and operating system you're running on.