Live data from Hacker News

Ask HN: MAC vs PC for a developer?

news.ycombinator.com

1–10 of 102 posts

Ask HN: MAC vs PC for a developer?

#1
I don't wanna start a new flame war, but work is buying me a new computer and I can chose, but I really don't know what I should pick.

My criteria are: most productive for web development lowest possible maintenance

I mostly develop in python and also do a lot of HTML/CSS editing

what would you recommend and why? what software would you use on a mac? what are the major disadvantages of a mac over pc?

Re: Ask HN: MAC vs PC for a developer?

#3
Mac, most definitely.

For one, Mac OS X comes with a Python version installed. It also comes with a whole toolbox of Unix utilities, including a number of text editors. (There are many other 3rd party text editors for the Mac, too. Though I stick with "vim" or Xcode myself, both of which are included.)

You can't understate the value of being able to pop down to the Unix layer when needed. There are lots of times where a simple "grep" or "cp" or "mv" is exactly what you need, and I love that this is just built in to the Mac. If you aren't that familiar with Unix commands, I think it's knowledge well worth having; most of the basic ones are really not that hard to use.

I have to use Windows at work, and I have to say I'm amazed with how little it comes with. While it is possible to work productively on Windows, I have found this is only true after a large setup cost. So if you don't mind downloading stuff for hours, you can eventually get the right tools. Still, I have never found Windows tools to be as "integrated" as Unix utilities are; every Windows program wants its own scripting language, its own hackish way of doing things (in my experience, that is; YMMV). Microsoft's command prompt is also pretty lousy; it really doesn't compare to a Unix shell, and the idea that you could only get that level of power by installing all of Cygwin, is a turn-off to me.

Re: Ask HN: MAC vs PC for a developer?

#4

Mac, most definitely. For one, Mac OS X comes with a Python version installed. It also comes with a whole toolbox of Unix utilities, including a number of text editors. (There are many other 3rd party text editors for the Mac, too. Though I stick with "vim" or Xcode myself, both of which are included.) You can't understate the value of being able to pop down to the Unix layer when needed. There are lots of times wher…

A PC can run *nix too, it's not limited to Windows. In fact, it can run OS X too :)

Re: Ask HN: MAC vs PC for a developer?

#6
The only disadvantage of picking a Mac is that (unless they spring for a Mac Pro) you can't stuff it to the gills with RAM.

Until the latest generation of consumer Macs the limit was 4gb, though now if you spend $500 you can get 2x4gb DDR3 for an iMac or Macbook (though the Macbooks can only address 6gb). In the PC world, you can get 4x4gb DDR2 for a desktop Core2 motherboard for $350, or 6x2gb DDR3 for a new Nehalem motherboard for $240.

Re: Ask HN: MAC vs PC for a developer?

#8

Mac, most definitely. For one, Mac OS X comes with a Python version installed. It also comes with a whole toolbox of Unix utilities, including a number of text editors. (There are many other 3rd party text editors for the Mac, too. Though I stick with "vim" or Xcode myself, both of which are included.) You can't understate the value of being able to pop down to the Unix layer when needed. There are lots of times wher…

As a web developer, you'll also probably need to test in Windows and IE. For that, get Fusion or Parallels and you can have Windows and OSX running side by side.

Re: Ask HN: MAC vs PC for a developer?

#9

Mac, most definitely. For one, Mac OS X comes with a Python version installed. It also comes with a whole toolbox of Unix utilities, including a number of text editors. (There are many other 3rd party text editors for the Mac, too. Though I stick with "vim" or Xcode myself, both of which are included.) You can't understate the value of being able to pop down to the Unix layer when needed. There are lots of times wher…

Excuse me, "PC" does not mean "Windows computer", so I'd pick a PC and install some Linux distro.

Re: Ask HN: MAC vs PC for a developer?

#10
PC running Linux is your best bet. Take the money they save versus buying a Mac and use it for a second monitor which I find to be one of the most important development tools. Having your code and browser open at the same time will make your life that much easier.
Post reply on HN