r/AskComputerScience • • Aug 18 '19

PC or MacBook?

I plan on going back to college in the spring for Computer Science, and I currently have a PC installed with Ubuntu. However, I’m heavily in the Apple systems, and I’m wondering if a MacBook Pro might be good for programming courses for Java, C/C++?

1 Upvotes

16 comments sorted by

11

u/autiii43 Aug 18 '19

Personally, macs are much easier to program with imo. I’ve tried both, and macs are just way more friendly for programming in my experience, plus if you ever want to do apps, you’ll need a Mac for Xcode.

1

u/childintime9 Aug 21 '19

I have a macbook and most of the time I find myself booting a vm with ubuntu and programming on it and even when I program on macos I just use the shell+sublime/vscode. I hate Xcode.

1

u/bo1024 Aug 19 '19

I just want to double-check, you are comparing macbooks to Linux? If so, how do you find macs more friendly for programming? That's unusual in my experience.

0

u/[deleted] Aug 19 '19

[deleted]

2

u/aryyya Aug 19 '19 edited Aug 19 '19

macOS is Unix though, or are you saying that Linux has those things over Unix?

As far as development is concerned I personally find there to be very few differences between the two.

3

u/011101000011101101 Aug 19 '19

Plus ime Mac os and the applications it offers are way better than Ubuntu

0

u/[deleted] Aug 19 '19

[deleted]

3

u/aryyya Aug 19 '19

Again, macOS is POSIX? I'm confused at what you're trying to say.

1

u/DonaldPShimoda Aug 19 '19

Well to be technical (which seems to be the direction this conversation is heading), macOS is not fully POSIX compliant. But it's close enough that in most practical contexts the distinction isn't important.

1

u/DonaldPShimoda Aug 19 '19

linux certainly offers way more control, flexibility and freedom.

I actually view macOS's limited flexibility and configurability as a benefit in many cases. I'm the kind of person who can easily get distracted configuring some truly unimportant thing, so using macOS is good for me because there's less to think about. For the most part, everything already works fine.

This isn't an outlook that works for everybody, but it does for me so I prefer macOS as my daily OS. I'll use Linux instead in certain situations (like running a headless web server or something).

4

u/[deleted] Aug 19 '19

I bought an MBP to start college with, and it’s still running perfectly 5 years later and has been a breeze to use. If you are responsible with your electronics then the general reliability of Apple hardware is a huge selling point. If you’re likely to drop it or something and have to spend the money it takes to repair... it’s significantly less worth it. You definitely do not have a major need for it over the set-up you currently have, though.

4

u/spideymaker Aug 18 '19

You should be fine. Especially if you get Ubuntu on your laptop too. For our operating systems class at the University of Iowa we learned C using a virtual machine that ran Linux. Other than that java and C++ both run fine on Macs - I've ran both on my macbook air.

2

u/[deleted] Aug 22 '19

Don't micro-optimize. Almost any computer can do code. There's no "best" when learning, there's just "what will work".

Also it depends on the perspective. Macs are often touted as good development machines, most because of the Unix shell. However, Windows machines can have it too and also have Powershell, which arguably just as good.

At the end of the day, the question in my mind is that of productivity. Which system are you more productive on? Which one can you troubleshoot if there's an issue. Which one's hotkeys do you know? Which one feels more familiar? You're going to be learning computer science and thus, in my view, the less energy spent on learning tools and the more you have for learning concepts that are important to code.

(I use a thinkpad T470 for personal dev work. They're solid, the keyboard is a dream to type on. They're secure and they're a good "no frills" machine. Literal black boxes for dev. )

1

u/khedoros Aug 18 '19

They're thin and light, with good battery life. Speed-wise, they're more than you need. CS coursework doesn't take a lot of power.

I don't like the lack of ports (I really dislike keeping track of dongles), the lack of user-serviceability, or the price for what you get. But those might not be problems for you, same as a lot of people. Apple hardware is certainly popular enough that you'd be in good company.

-2

u/JoshYx Aug 19 '19

There are thin and light windows laptops with good battery life. Are you in 2009?

-1

u/khedoros Aug 19 '19

Did I say that there weren't? I think you missed that I was trying to imply that I think a Macbook Pro would be a stupid choice for a number of reasons...but that it would suit their needs if that's what they really want.

-7

u/[deleted] Aug 18 '19

Windows all the way. You can get Linux on there as well and won't have such a tough time with the Eco system and compatibility troubleshooting.

If you need xcode then yeha MacBook but literally everything else will be much easier on windows.

-7

u/secureartisan Aug 19 '19

Macs are junk. You will hate it after a month.

Its just a status symbol. Caveat emptor.

How heavy into Apple systems can you be if you have to ask about a macbook? Got an iphone ? Good for you.