What coding are you doing? If you are heavy into .NET using XAML and WPF and stuff like that then MacOS might not be great for you, but most other languages are well suited, even .NET Core is really good on MacOS.
I disagree with some of the others on Dual-Core not being good enough for programming, I was running some fairly good stuff on my 2013 MBA Dual Core until recently when upgraded because I could. Admittedly there are a thousand different use cases for programming. I wasn't super heavy into AKS or Docker or anything, I used to have a few vagrant boxes but that was about it.
I disagree with some of the others on Dual-Core not being good enough for programming, I was running some fairly good stuff on my 2013 MBA Dual Core until recently when upgraded because I could. Admittedly there are a thousand different use cases for programming. I wasn't super heavy into AKS or Docker or anything, I used to have a few vagrant boxes but that was about it.