r/AskComputerScience • • Nov 07 '18

should i get a macbook ?

I have been working as a software dev for a while now and been mainly working in JS. Apart from my work i enjoy doing my own projects. I do it on an old G50-45 Lenovo laptop with latest Ubuntu dual booted with Win10. Currently i am financially stable and can afford a MacBook. I my country MacBook costs almost twice the amount of two wheeler. I can afford it right now and plan on buying it for sole purpose of programming. Should i get it? It it worth the money? I can code right now on my laptop but because of battery problems its more like a desktop than a laptop.

0 Upvotes

17 comments sorted by

9

u/trineroks Nov 07 '18

I like using a Macbook because

  • I like OSX

  • Native Unix environment

  • Supports iOS development

  • I have an iPhone so might as well take advantage of Apple specific features

  • I am partial to the build quality

That being said, just go with the laptop that's best suited for your case. Do you need the features listed above? If not then why not go for a different laptop?

2

u/[deleted] Nov 07 '18

Can you effectively do Android development on a mac?

2

u/trineroks Nov 07 '18

Oh definitely! It's just as easy.

1

u/[deleted] Nov 07 '18

Also - what's the benefit of a native Unix environment?

2

u/trineroks Nov 07 '18 edited Nov 07 '18

A native Unix environment means that you have access to Unix commands (since Terminal uses the bash shell). Commands such as "grep", "ssh", "vim", etc work natively and offer a lot more flexibility than Windows's cmd. I also suppose it helps that I'm a lot more comfortable with Unix commands in general.

1

u/[deleted] Nov 07 '18

I thought bash was a scripting language?

1

u/trineroks Nov 07 '18

A shell is both a scripting language and a command line interface.

Bash (Bourne-again shell) is an improvement on the previous Bourne shell.

Here's the wiki article on bash: https://en.wikipedia.org/wiki/Bash_(Unix_shell)

2

u/combuchan Nov 07 '18

I bought a new $600 ideapad 330s with 8 GB RAM and a 128 GB SSD. Would have had problems getting linux on it and the keyboard broke after 8 days. Am returning it.

I spent $900 for a mid-2015 macbook pro with twice the storage and ram and superior display and speakers. Only 68 battery cycles.

An old mbp isn't a waste of money at all on a budget imho. I should get three more years out of this and it'd be worth fixing even if something did break.

3

u/alanbdee Nov 07 '18

Well, my opinion of Macbooks are that they were good but have failed to keep up. They're expense to buy, difficult to repair and expensive if you have to do so. As a device for programming in JS I'm not aware of any benefit of using a mac.

I used to use Ubuntu but with Windows Subsystem for Linux that has added most the features I needed so now I just use Windows 10. The other issue I have is I hate having less then three screens; so I do all my work on a traditional desktop.

Another way to look at it might be from a financial perspective. Any computer will go down in value. Since there is not a good reason to need one, beyond preference, then you're better off putting your money somewhere else where it can grow. I'd rather have an $800 item depreciate over 5 years then a $2000 device.

5

u/lordwax3 Nov 07 '18

I was a PC master race kid my whole life, tried out a MacBook because of the battery life and UNIX. One of the best decisions I’ve ever made, I still own a PC for gaming but keep all the dev stuff on my MPB. Highly recommend. If ur feeling iffy, rent one from ur uni library for a couple hours and mess with it.

2

u/secureartisan Nov 08 '18

Stay away from the overpriced macbooks - you will regret it and find yourself having to constantly find reasons to justify your purchase.

Buy a Windows laptop, use Virtualbox and install a linux environment if you/when you need one.

2

u/drboyfriend Nov 08 '18

Make sure to try the keyboard first. It's a nice machine but it has an awful keyboard.

1

u/__october__ Nov 07 '18

I think it comes down to your personal preferences. I had a macbook for some time and ultimately replaced it with a thinkpad. My friend, on the other hand, got a 15" macbook from his company and loves it. If you feel like your current needs are satisfied by your current lenovo then why not upgrade to a more recent thinkpad for a fraction of the price? Unlike macbooks, thinkpads can be easily repaired or upgraded and accessories are also very affordable. Thinkpads also have ridiculously long battery lives.

1

u/rfinger1337 Nov 07 '18

If you are planning to work in c# (or .net) or then you should probably stick to windows. Anything ios (swift, arkit etc) would be better with a mac and other things (like unity3d or java) can be done on either mac or windows.

That being said, the mac hardware is really nice and you will be happy with it.

1

u/PUSH_AX Nov 07 '18

Was a PC fanboy, until my first company issued MBP's to devs.

I can never ever go back now, except for gaming. The windows 10 OS makes me want to murder someone, the UX is a nightmare in comparison. I have a 2014 MBP and it's just solid, having gone through lots of PC's and laptops I just know a 2014 PC laptop would be toast by now, or would have needed several reformats. Mac has a great dev environment out of the box.

A lot of things will feel alien at first, and you might not like it because of that, stick with it and power through the unfamiliarity, it's worth it.

1

u/Kplow19 Nov 07 '18

Honestly I'd rather have a 2014 MBP than the new ones in dongle hell

1

u/apptryer Nov 08 '18

I feel like this depends on your taste in OS and physical laptop design. If you like macOS and the look of macbooks then go for it, but since you're used to using a PC with Ubuntu, personally I think a macbook is a waste of money. I have one, though.

I'd say a good PC with Unix is equal to a macbook for programming purposes. You can do the same things (at least to my knowledge.)

The reason I like my macbook is because I hate using Ubuntu for daily purposes like checking email, internet browsing etc. That's just my preference though. I think macOS is great because it's a very intuitive and easy to use OS, but also is capable of handling my programming needs because it's a Unix system.

In short, if you're just using it for programming then a PC with Ubuntu is a way better investment if you ask me as long as your PC components are reliable. A macbook is not a step up from what you have. It's just the look of the macbook and macOS that people like.