I am typing this from a late 2008 unibody Macbook (been coding on it since I started learning programming 5 years ago). I even run Docker Toolbox. It is obviously time to upgrade, but you get the idea. Macs are great. Even this old one gives me a chance to balance between coding and ocassional design (I use Affinity Designer a lot) and when it comes time to develop, the setup is so so simple to get started, with brew and all other tools.
I will always recommend a Macbook. Even if you are on a budget, I have heard people say nice things about the 2013/2014 15'' Retina Macbook Pros. Get a used one in good condition and it will serve you way more than 4 years to come.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.