I will second the others who have recommended Lenovo: I have a Legion 5 I originally bought for gaming but the keyboard is so good I find myself using it for nearly all my development.
Additionally, the Dell Precision line (the business workstation-replacement line) is exceptional for development, but those can be as expensive as equivalent MacBooks. Stay away from Dell's pure consumer line: the build quality is absolutely awful.
Additionally, the Dell Precision line (the business workstation-replacement line) is exceptional for development, but those can be as expensive as equivalent MacBooks. Stay away from Dell's pure consumer line: the build quality is absolutely awful.