This completely depends on the stack you are building and the target deployment machine.
For most development on Web, iOS, macOS, Java, JS, and allied, I would prefer MacBook Pro even if the deployment target is on Linux.
If you are developing on a predominantly Windows stack like SQL Server, Visual Studio, .NET, it may help to code on a Windows laptop. I would prefer a laptop to a Surface any day.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This completely depends on the stack you are building and the target deployment machine.
For most development on Web, iOS, macOS, Java, JS, and allied, I would prefer MacBook Pro even if the deployment target is on Linux.
If you are developing on a predominantly Windows stack like SQL Server, Visual Studio, .NET, it may help to code on a Windows laptop. I would prefer a laptop to a Surface any day.