Which MacBook should I use for writing code?

Those problems include screen real estate, storage capacity, RAM overhead and the speed of the processor, at least when it comes to doing something with the code you're writing.

R.R. writes:

I'm planning to buy a new Mac laptop for writing Xcode, browsing the web, text editing and using other IDE's (Integrated Development Environments). Is the MacBook Air a good pick or should I go for a Pro or Air with upgraded RAM?

In truth, you can write code on anything. Even an iPad will work. So regardless of which Mac laptop you get, you'll have a superb machine for writing code to your heart's content.

Compiling code is a bit of a different story. You'll benefit from having a faster, more capable CPU, but whether going quad-core or i7 is worth the extra money is more a matter of your budget than it is a pure function of usability. The bottom line is that even a 13-inch MacBook Air is a good machine to use for development.

I'd make sure you have at least 8 GB RAM installed on any Mac you buy. More RAM is better if you can afford it. I imagine you'd prefer to have as much storage capacity as you can afford. 128 GB is scant for a machine that will be used for development and general purpose use, so think about paying a bit more for 256 GB if you can. Just make sure you budget enough money for a storage and backup plan for your Mac.

Regardless of which Mac laptop you buy, I'd consider having an external display (or two) to be an essential. You're probably going to have many apps and windows open simultaneously. It's really helpful to be able to spread out across a lot of desktop real estate rather than the cramped confines of a 13-inch or even a 15-inch display.

Even the Retina displays found on today's MacBook Pros run out of space quickly when you start popping up text editors and tool palettes and so on. Switching between different Spaces in OS X is an option — it can help you organize yourself a bit. It's so much more convenient just to be able to see what you're working on at a glance just by using more screens.

Peter Cohen
Latest in Apple Macbook
Stage Manager running Safari on a MacBook Air
Apple’s alleged 19-inch folding MacBook kicked further down the road – now arriving 2027 at the earliest
A headless macbook
I've just discovered headless MacBooks, now I'm so obsessed I might decapitate my own just to try it
MacBook deals
Grab a MacBook Air M1 for just $650 at Walmart in this incredible deal
M3 MacBook Pro review
How to build the ultimate MacBook setup — the perfect pick for every accessory
MacBook deals
Need a new MacBook for those big WWDC announcements? Get one at $150 off in this secret Apple sale at Best Buy
Microsoft Surface Laptop 7
M3 MacBook Air vs Surface Laptop 7: How does Microsoft's MacBook alternative stack up
Latest in How-to
iPhone 16 Event Invite It's Glowtime
How to watch the iPhone 16 Glowtime reveal event - tune in for iPhone 16, iPhone 16 Pro, iPhone 16 Plus and iPhone 16 Pro Max
macOS Sequoia
Here's how to use Window Tiling on macOS Sequoia
iPhone 14 with Messages app on home screen
Here's how to add some flair to your messages with new iOS 18 text effects
watchOS 11
How to pause activity streaks in watchOS 11
Apple Intelligence Siri on iPhone 15 Pro Max
How to type to Siri on iOS 18 and why it's made me use it more
Control Center iOS 18
Control Center has been supercharged in iOS 18 — here’s how to get the most from it