Matthew Garrett ([personal profile] mjg59) wrote2014-05-18 10:53 pm
Entry tags:

The desktop and the developer

I was at the OpenStack Summit this week. The overwhelming majority of OpenStack deployments are Linux-based, yet the most popular laptop vendor (by a long way) at the conference was Apple. People are writing code with the intention of deploying it on Linux, but they're doing so under an entirely different OS.

But what's really interesting is the tools they're using to do so. When I looked over people's shoulders, I saw terminals and a web browser. They're not using Macs because their development tools require them, they're using Macs because of what else they get - an aesthetically pleasing OS, iTunes and what's easily the best trackpad hardware/driver combination on the market. These are people who work on the same laptop that they use at home. They'll use it when they're commuting, either for playing videos or for getting a head start so they can leave early. They use an Apple because they don't want to use different hardware for work and pleasure.

The developers I was surrounded by aren't the same developers you'd find at a technical conference 10 years ago. They grew up in an era that's become increasingly focused on user experience, and the idea of migrating to Linux because it's more tweakable is no longer appealing. People who spend their working day making use of free software (and in many cases even contributing or maintaining free software) won't run a free software OS because doing so would require them to compromise on things that they care about. Linux would give them the same terminals and web browser, but Linux's poorer multitouch handling is enough on its own to disrupt their workflow. Moving to Linux would slow them down.

But even if we fixed all those things, why would somebody migrate? The best we'd be offering is a comparable experience with the added freedom to modify more of their software. We can probably assume that this isn't a hugely compelling advantage, because otherwise it'd probably be enough to overcome some of the functional disparity. Perhaps we need to be looking at this differently.

When we've been talking about developer experience we've tended to talk about the experience of people who are writing software targeted at our desktops, not people who are incidentally using Linux to do their development. These people don't need better API documentation. They don't need a nicer IDE. They need a desktop environment that gives them access to the services that they use on a daily basis. Right now if someone opens an issue against one of their bugs, they'll get an email. They'll have to click through that in order to get to a webpage that lets them indicate that they've accepted the bug. If they know that the bug's already fixed in another branch, they'll probably need to switch to github in order to find the commit that contains the bug number that fixed it, switch back to their issue tracker and then paste that in and mark it as a duplicate. It's tedious. It's annoying. It's distracting.

If the desktop had built-in awareness of the issue tracker then they could be presented with relevant information and options without having to click through two separate applications. If git commits were locally indexed, the developer could find the relevant commit without having to move back to a web browser or open a new terminal to find the local checkout. A simple task that currently involves multiple context switches could be made significantly faster.

That's a simple example. The problem goes deeper. The use of web services for managing various parts of the development process removes the need for companies to maintain their own infrastructure, but in the process it tends to force developers to bounce between multiple websites that have different UIs and no straightforward means of sharing information. Time is lost to this. It makes developers unhappy.

A combination of improved desktop polish and spending effort on optimising developer workflows would stand a real chance of luring these developers away from OS X with the promise that they'd spend less time fighting web browsers, leaving them more time to get on with development. It would also help differentiate Linux from proprietary alternatives - Apple and Microsoft may spend significant amounts of effort on improving developer tooling, but they're mostly doing so for developers who are targeting their platforms. A desktop environment that made it easier to perform generic development would be a unique selling point.

I spoke to various people about this during the Summit, and it was heartening to hear that there are people who are already thinking about this and hoping to improve things. I'm looking forward to that, but I also hope that there'll be wider interest in figuring out how we can make things easier for developers without compromising other users. It seems like an interesting challenge.

(Anonymous) 2014-05-19 07:59 am (UTC)(link)
Agreed. I was somewhat recently in the market for a new laptop, when I started my search I was looking for a windows ultrabook with a price around ~1000 dollars. Everything I found was disappointing in one way or another (most commonly they had poor battery life for the price). during the search I just kept coming back to the macbook air even though I wasn't even looking for a mac, the touchpad and battery life just seemed to blow anything else in the price range away. Some of the ultrabooks had nice screens, but that wasn't my priority.

When I bought the MBA and used it I was immediately amazed with the touchpad. Both the touchpad hardware, and the OSX driver/touchpad integration was flawless. Everything from the scrolling to the gestures just works so damn well. I've always *loathed* using windows on a laptop because if its shitty touchpad support, most features were left up to the touchpad driver itself (synaptics etc... and their drivers were usually really buggy), and even basics like two finger scrolling never worked well. I had actually used linux for years on my previous two laptops, because I found even linux was much nicer to use with a touchpad than windows. /windows touchpad rant

I ended up disappointed with though, even though there was a lot I liked about it, because the linux desktop's quality control just isn't there yet, way too many bugs and regressions with every release, at times I felt like I was spending way more time reporting bugs, trying to work around bugs, and distro/desktop hopping than actually using my computer.

So far the MBA has hands down my favorite laptop and OSX has quite good to me (although not without its own issues).

(Anonymous) 2014-05-19 08:01 am (UTC)(link)
Oops, I accidentally a word near the end there, meant *I ended up disappointed with linux though*

Same here

(Anonymous) 2014-05-19 01:05 pm (UTC)(link)
I'm surprised that battery life hasn't been mentioned more times already. I recently went shopping for a new ultra-portable laptop, even though I had one that would regularly give me 6+ hours of actual use (10 claimed IIRC). The 13" MBA I'm typing this on was just way better than anything else, and I regularly get 8-10 hours out of it. It's also dead silent unless I'm playing graphically intense games, which is notable because fan noise is another problem that severely afflicts many machines in this category. I won't risk making either battery life or fan noise worse by installing a whole different operating system and drivers, so I just keep running OSX and iTerm2. If I ever saw actual proof that an *out of the box* Linux install on something like a Yoga 2 Pro or the latest X1 Carbon would work as well then I'd gladly do that too, but that has been such an often-made and never-met promise in the past that it might take more than one person's word to convince me. My time is worth more than the price differential between MBA13 out of the box vs. hours of research plus purchased alternative plus even more hours pulling all the bits together.

I went with a Chromebook for much the same reason

[identity profile] https://www.google.com/accounts/o8/id?id=AItOawn4R0kHSNy76q8-jEI78dfNp-hHnwDNHQo 2014-05-21 05:15 pm (UTC)(link)
I'm running the slightly proprietary ChromeOS (rather than pure ChromiumOS) on my Pixel. However I also have a crouton install alongside which brings all my normal FLOSS development tools and environment. The main reason I don't blow away ChromeOS and replace it with a full Linux distro is because it I like having a laptop that Just Works (tm) without having to fiddle to get wifi/multimedia/html5 magic working. The update model for ChromeOS is also quite nice from a "not having to worry about securing my machine" point of view.