Programming on a Mac
(I hope this is the right forum)
Hello,
I am considering getting a Mac Book Pro 15 inch for college. I will be a Computer Science major and I'm wondering if there's any advantage of using Mac OS X for programming over Windows 7 (Windows will on on the mac regardless). Any thoughts?
I can't speak for Windows 7, but if you'll be installing it anyway (via Parallels or Bootcamp, or some such), then you'll have the best of both worlds.
Macs ship with PHP, tcl, Perl, Python, and Ruby. If you need a database, Macs ship with MySQL and SQLite. If you want to do web development, Macs ship with Apache2. I repeat: Macs
ship with all that preinstalled.
Using XCode (which costs $4.99), you can write C, C++, and Objective C. All the major SCM software programs run on Mac, including SVN, Mercurial, and Git, and there are great GUI software front-ends (I use Tower for Git and Versions for SVN).
Need something more esoteric? Erlang is used in a lot of college CS classes. To install Erlang, first install the Homebrew package manager (package managers are common in the *nix/Linux world; don't know if there's something similar on Windows).
Once Homebrew is installed, installing Erlang is as simple as typing
at a command line. Homebrew takes care of downloading and compiling Erlang for the specific OS version and architecture you're running.
(a list of packages available through Homebrew is here:
https://github.com/mxcl/homebrew/tree/master/Library/Formula/)
Most anything that runs on Unix or a unix-like environment will compile on a Mac.
That, combined with the ability to run Windows at the same time, makes a Mac a great programming tool.