But there's other reasons for that - makes support easier, can have same linting setup etc, its not done to increase productivity.
Both of your examples increase productivity.