8 ms·
Could you specify, what you mean by "refactor large codebases"? > compiler telling you if the pieces still fit together? You still write tests in scala do you
by lukashrb 4y ago
Could you specify, what you mean by "refactor large codebases"?
> compiler telling you if the pieces still fit together?
You still write tests in scala do you?
- manx 4y agoSince types give me guarantees that pieces still fit together, I usually only need a handful of unit tests for my non-trivial algorithms, plus some integration tests. Never for functions which hand things around. After fixing all compile errors caused by a massive code change it almost always still just works.