In recent versions of debhelper, it has become possible to remove the debian/compat file by replacing it with a Build-Depends: debhelper-compat (= X), where X is the number you would have put in debian/compat (requires debhelper >= 11.3 and X >= 9). This makes packaging feel a bit more "DRY". :)
The existing method still works and is still supported if you are stuck on older versions of debhelper or need older compat versions than 9.