Most people were talking about the M1 Pro 14" MBP screen vs. the M2 MBA screen.What makes the MBP M2 screen better than the MBA M2 screen?
The 14" Pros have higher pixel density with proper 2X scaling. The MBA does not use 2X scaling by default, meaning that some people can notice differences in font sharpness, especially some coders who like small fonts or those who use complex script like traditional Chinese. Also, the M1 Pro screens are super bright while also have better blacks, using mini-LED. They also support 120 Hz ProMotion. However, to be honest, IMO most of those latter advantages are more targeted towards creatives working in Final Cut or Photoshop than to coders.