4 ms·
> How do you mean? ... so the refactoring still happens independently. Not all refactors modify APIs, and even some that do can be programmatically applied. Su
by bhickey 11y ago
> How do you mean? ... so the refactoring still happens independently.
Not all refactors modify APIs, and even some that do can be programmatically applied. Suppose you've deprecated method Foo(..) and have a replacement Bar(..). With access to all the source, you can change things globally, it's great. One funny programming 'mistake' that creeps into code that's been around a while is dodgy looking ternary operators:
return (foo ? true : false)
return (foo ? false : true)
With a few minute's work, one engineer can metamorphose all of these into:
return foo;
return !foo;
> That's handy if many or your projects are in the same language, true.
My day to day work is almost exclusively C++. Thousands of other engineers are in the same boat as me. We all benefit from a fabulous tools team.
- deleted 11y ago[deleted]