Thanks for the reply so do you recommend I program with apple osx or install a linux distro?
That depends on what you want to do. But generally speaking, I'd recommend using Linux since
it is IMO a better / more suitable environment for programming. On the other hand, many code on
Macs. And considering that learning to use and understand Linux is a valuable knowledge, as well
as a great pleasure, I'd
strongly recommend it.
A last word on Linux distributions:
this post is a very valuable resource on what to choose and what to avoid. And maybe you
want to take a look at the systemd vs. F*CK SYSTEMD debate.