<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ian McKellar on Medium]]></title>
        <description><![CDATA[Stories by Ian McKellar on Medium]]></description>
        <link>https://medium.com/@ian?source=rss-1935ec08ecee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sjn7lJ5y7v2YGt1d.jpeg</url>
            <title>Stories by Ian McKellar on Medium</title>
            <link>https://medium.com/@ian?source=rss-1935ec08ecee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 03:41:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ian/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[An Ideal Platform for Desktop Software]]></title>
            <link>https://medium.com/@ian/an-ideal-platform-for-desktop-software-a352cf35c591?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/a352cf35c591</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Thu, 01 Jun 2017 15:46:06 GMT</pubDate>
            <atom:updated>2017-06-01T15:46:06.705Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine an ideal platform for developing and deploying desktop software. Your wish-list might look something like:</p><h4>Graphics</h4><ul><li>GPU accelerated graphics</li><li>a 2D scene graph for arbitrary sophisticated graphics</li><li>3D capabilities if you need them — we’re not targeting high-end gaming</li><li>Comprehensive, extensible set of UI controls</li><li>Platform native fonts</li><li>Flexible, accelerated animations / transitions</li><li>Support for both declarative and programmatic UI creation</li></ul><h4>Languages</h4><ul><li>Scripting based on a well known scripting language</li><li>JIT for scripting engine tuned for interactive desktop applications not batch or server workloads</li><li>Easy integration of arbitrary native code</li></ul><h4>Ecosystem</h4><ul><li>Cross-platform, supporting at least Windows, macOS and Linux</li><li>Open Source</li><li>Broad set of specialized UI controls and support libraries</li><li>APIs based on standards with both new features arriving and long term support for existing interfaces</li></ul><h4>Tooling</h4><ul><li>Broad IDE support</li><li>Ability for designers to prototype and tweak</li><li>Sophisticated debuggers</li><li>Memory and CPU profiling</li></ul><p>And imagine if the technologies underlying this were the subject of vigorous head-to-head competition for performance between the three largest tech companies in the world.</p><h3>Reality</h3><p>Anyway, this exists and it’s called <a href="https://electron.atom.io/">Electron</a>. I’m honestly confused when people don’t see its appeal. Mozilla had their own product in this space, <a href="https://developer.mozilla.org/en-US/docs/Archive/Mozilla/XULRunner">XULRunner</a>, but they killed it about a decade ago when they realized that native software was dead.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a352cf35c591" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reusing Passwords]]></title>
            <link>https://medium.com/@ian/reusing-passwords-b952bca0712?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/b952bca0712</guid>
            <category><![CDATA[passwords]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Sat, 26 Nov 2016 19:33:35 GMT</pubDate>
            <atom:updated>2016-11-26T19:36:16.467Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>I have a confession. Sometimes I reuse passwords. Not for anything that “matters”, but I’ve ended up using a couple of passwords a lot of times. And inevitably some of those sites get hacked. But where did I use them?</p><p>Chrome remembers all my passwords but unfortunately doesn’t seem to offer a straightforward API to get at them. Conveniently they do sync my passwords to my computer’s password store and there’s an <a href="https://specifications.freedesktop.org/secret-service/">API for that</a>.</p><p>I wrote a little script and I’ve been going through generating unique passwords for all the unimportant sites and turning two-factor authentication on where it’s offered. The <em>Secret Service</em> database (and Chrome) seem to sometimes end up with multiple entries for a single site, and Chrome doesn’t seem to sync my updates immediately, but I’ve found this a helpful start.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0b915dfabb26f9e49c9681fd5ff2def7/href">https://medium.com/media/0b915dfabb26f9e49c9681fd5ff2def7/href</a></iframe><p><em>Originally published at </em><a href="https://ianloic.com/2016/11/26/reusing-passwords/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b952bca0712" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[If you you wait and see you won’t see anything]]></title>
            <link>https://medium.com/@ian/if-you-you-wait-and-see-you-wont-see-anything-19b8b6abb556?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/19b8b6abb556</guid>
            <category><![CDATA[privilege]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[2016-election]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Sat, 19 Nov 2016 02:01:19 GMT</pubDate>
            <atom:updated>2016-11-19T02:01:19.225Z</atom:updated>
            <content:encoded><![CDATA[<p>The awkward truth is that totalitarianism is fairly comfortable for a lot of people for a long time.</p><p>While I’ve never lived under totalitarianism I’ve spent time in some (Mubarak’s Egypt, Suharto’s Indonesia, Mahathir’s Malaysia). In these countries most people went about their daily business quite freely. The fell in love, started businesses, gossiped with their friends, watched television. There were significant parts of the countries that were <em>not</em> ok - political dissidents, religious and ethnic minorities, journalists - but most of the people, most of the time, were doing just fine, and so was everyone around them.</p><p>If we just wait and see how the Trump administration affects our lives, for most of us the effects will be minor and possibly even positive. I&#39;m a straight white upper middle class cis white man. I&#39;m an immigrant but with a green card and no discernible accent. I will be okay.</p><p>Our coastal bubbles of privilege will protect us from harm like they protected us from seeing what was going on in the country. Our friends of color, our queer friends, our Muslim friends who are in our our cities will be mostly okay - or at least not much worse off than they have been.</p><p>We need to look out of our bubbles, not just to understand the country that elected Trump, but more to protect the most vulnerable. Unless we go looking we won’t see the voter suppression, the refugees stuck in war zones, the violence against gay kids or the immigrants dying at the border.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19b8b6abb556" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Partisan Divide]]></title>
            <link>https://medium.com/@ian/partisan-divide-2ca413015b2?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ca413015b2</guid>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Mon, 07 Nov 2016 17:57:48 GMT</pubDate>
            <atom:updated>2016-11-07T17:57:49.573Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>There’s an American election on Tuesday. Whatever the outcome of the races, the partisan polarization is disturbing. Roughly 40% of the electorate considers each presidential candidate to be unqualified to even run. I don’t have the right to vote but my <a href="https://shop.hillaryclinton.com/products/im-with-her-car-magnet">perspective</a> is just as absolute. I’m right, but I’d say that wouldn’t I.</p><p>Each party chose a candidate that was dismissed out of hand by half the country as even a valid choice to offer. The core of the debate has not been over policy or even really a vision of the future of the country, but of the fatal personal flaws of the other candidate.</p><p>Where do we go from here? If America elects Trump on Tuesday then I and half the country won’t just feel defeated and disappointed, worried about next four years and the country our children will inherit, but we’ll be skeptical of the president elect’s eligibility to hold the office to which he was democratically elected. If Clinton prevails the other half of the country will feel the same way.</p><p>Perhaps more disturbingly support for the candidates break heavily along gender, ethnicity and class lines. Whoever wins, whole communities will not only feel unrepresented in the White House, they’ll feel that its occupant is illegitimate. And for all their various skills, neither candidate has demonstrated skill in uniting the nation.</p><p><em>Originally published at </em><a href="https://ianloic.com/2016/11/07/partisan-divide/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ca413015b2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tyranny is mostly pleasant]]></title>
            <link>https://medium.com/@ian/tyranny-is-mostly-pleasant-f791f88cc3c5?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/f791f88cc3c5</guid>
            <category><![CDATA[tyranny]]></category>
            <category><![CDATA[dwebsummit]]></category>
            <category><![CDATA[free-software]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Thu, 09 Jun 2016 00:55:33 GMT</pubDate>
            <atom:updated>2016-06-09T00:55:34.820Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>In my life I’ve been lucky enough to visit some brutal military dictatorships. From Suharto’s Indonesia as a child to Mubarak’s Egypt more recently, they’ve been really pleasant to visit. My impression is that most citizens of these countries were fairly unencumbered by the political system they lived under. Some people had terrible time — Islamists in Egypt, Timorese and Papuans in Indonesia — were tortured and murdered, their languages and beliefs suppressed. But for most people this wasn’t an issue.</p><p>Thinking about technology we have a similar situation. Most people are happy to rely on a proprietary operating system like MacOS or Windows because even though it takes away some freedoms, for them these freedoms aren’t as important on a day-to-day basis as the convenience that the platform provides.</p><p>Even though they’ve done a terrible job of protecting women and marginalized minorities from abuse, Twitter is a really convenient conversation platform for me. Facebook too with its real names policy excludes many people from honest, safe expression, but for a white cis man like me it’s really convenient.</p><p>On the other hand I run Linux on my personal computers because software freedom is morally important to me and the practical benefits for my fringe use case (programming) are significant.</p><p>If we’re going to build and promote Free technology — both FLOSS and a decentralized web, we need to accept that the pure principle of freedom isn’t enough to kick-start change. Enough people need to suffer enough discomfort to trigger a revolution.</p><p><em>Originally published at </em><a href="https://ianloic.com/2016/06/08/tyranny-is-mostly-pleasant/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f791f88cc3c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decentralized Web: My Thought Experiment]]></title>
            <link>https://medium.com/@ian/decentralized-web-my-thought-experiment-80481d71faee?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/80481d71faee</guid>
            <category><![CDATA[dwebsummit]]></category>
            <category><![CDATA[reputation]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Wed, 08 Jun 2016 22:11:16 GMT</pubDate>
            <atom:updated>2016-06-08T22:11:17.426Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>I’m at the <a href="http://www.decentralizedweb.net/">Decentralized Web Summit</a> today and it’s all very interesting. There are some big picture ideas of how the future should be. There are all sorts of interesting disparate technologies filling all kinds of holes. But I have a thought experiment that I’ve used to understand where we need to go and what we need to build to get there.</p><p>Uber. Or Lyft or AirBnB, or even Etsy.</p><p>This new sharing economy supposedly shakes up traditional businesses by harnessing the distributed power of the internet, but when you ignore shiny apps these businesses look a lot like traditional rent-seeking middlemen.</p><p>It feels like a bug that we are making new businesses that look like such old businesses. Ride sharing shouldn’t need middleman. Prospective passengers and drivers should be able to discover each other, agree on a transaction, go for a ride and then make payment.</p><p>We have a lot of the pieces already, but <em>reputation</em> is the big challenge I see in all this. Even centralized systems struggle with reputation but we don’t have a good way to know if we should trust that a driver is competent or a guest won’t trash my apartment. I don’t know how to solve this, but I sure hope someone is thinking about it.</p><p><em>Originally published at </em><a href="https://ianloic.com/2016/06/08/decentralized-web-my-thought-experiment/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80481d71faee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Low Fidelity Abstraction]]></title>
            <link>https://medium.com/@ian/low-fidelity-abstraction-d1e7bc9d7327?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1e7bc9d7327</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[rant]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Thu, 26 May 2016 00:53:03 GMT</pubDate>
            <atom:updated>2016-05-26T00:53:04.697Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>It’s only through abstraction that we’re able to build the complex software systems that we do today. Hiding unimportant details from developers lets us work more efficiently and most importantly it allows us to devote more of our brain to the higher-level problems we’re trying to solve for our users.</p><p>As an obvious example, if you’re implementing a simple arithmetic function in assembly language you have to expend a lot of your brain power to track which registers are used for what, how the CPU will schedule the instructions and so on, while in a high level language you just worry about if you’ve picked the right algorithm and let the compiler worry about communicating it correctly and efficiently to the processor.</p><h4>Lo-fi</h4><p>More abstraction isn’t necessarily good though. If your abstractions hide important details then the cognitive burden on developers is increased (as they keep track of important information not expressed in the API) or their software will be worse (if they ignore those details). This can take many forms, but generally it makes things that can be expensive feel free by overloading programming language constructs. Here are some examples…</p><h4>Getters and Setters</h4><p>Getters and setters can implicitly introduce unexpected, important side effects. Code that looks like:</p><pre>foo.bar = x;<br>y = foo.baz;</pre><p>is familiar to programmers. We think we know what it means and it looks cheap. It looks like we’re writing a value to a memory location in the <em>foo</em> structure and reading out of another. In a language that supports getters and setters that may be what’s happening, or much more may be happening under the hood. Some common unexpected things that happen with getters and setters are:</p><ul><li><strong>unexpected mutation</strong> — getting or setting a field changes some other aspect of an object. For example, does setting <em>person.fullName</em> update the <em>person.firstName</em> and <em>person.lastName</em> fields?</li><li><strong>lack of idempotency</strong> — reading the same field of an object repeatedly shouldn’t change its value, but with a getter it can. It’s even often convenient to have a <em>nextId</em> getter than returns an incrementing id or something.</li><li><strong>lack of symmetry</strong> — if you write to a field does the same value come out when you immediately read from it? Some getters or setters clean up data — useful, but unexpected.</li><li><strong>slow performance</strong> — setting a field on a struct is just about the cheapest thing you can do in high level code. Calling a getter or setter can do just about anything. Expensive field validation for setters, expensive computation for getters, and even worse reading from or writing to a database are unexpected yet common.</li></ul><p>Getters and setters are really useful to API designers. They allow us to present a simple interface to our consumers but they introduce the risk of hiding details that will impact them or their users.</p><h4>Automatic Memory Management</h4><p>Automatic memory management is one of the great step forwards for programmer productivity. Managing memory with <em>malloc</em> and <em>free</em> is difficult to get right, often inefficient (because we err on the side of simple predictability) and the source of many bugs. Automatic memory management introduces its own issues.</p><p>It’s not so much that garbage collection is slow, but it makes allocation look free. The more allocation that occurs the more memory is used and the more garbage needs to be collected. The performance price of additional allocations aren’t paid by the code that’s doing the allocations but by the whole application.</p><p>APIs’ memory behavior is hidden from callers making it unclear what their cost will be. Worse, in weirder automatic memory management systems like Automatic Reference Counting in modern versions of Objective-C, it’s not clear if APIs will retain objects passed to them or returned from them — often even to the implementers of the API (<a href="https://github.com/liquidx/CoreBluetoothPeripheral#cbcentralmanager-connectperipheral-silently-fails">for example</a>).</p><h4>IPC and RPC</h4><p>It’s appealing to hide inter-process communication and remote procedure calls behind interfaces that look like local method calls. Local method calls are cheap, reliable, don’t leak user data, don’t have semantics that can change over time, and so on. Both IPC and RPC have those issues and can have them to radically different extents. When we make calling remote services feel the same as calling local methods we remove the chore of using a library but force developers to carry the burden of the subtle but significant differences in our meagre brains.</p><h4>But…</h4><p>But I like abstraction. It can be incredibly valuable to hide unimportant details but incredibly costly to hide important ones. In practice, instead of being aware of the costs hidden by an abstraction and taking them into account, developers will ignore them. We’re a lazy people, and easily distracted.</p><p>When designing an API step back and think about how developers will use your API. Make cheap things easy but expensive things obviously expensive.</p><p><em>Originally published at </em><a href="https://ianloic.com/2016/05/25/low-fidelity-abstraction/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1e7bc9d7327" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTTP/2 on nginx on Debian]]></title>
            <link>https://medium.com/@ian/http-2-on-nginx-on-debian-c2e2f96295f2?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2e2f96295f2</guid>
            <category><![CDATA[http2]]></category>
            <category><![CDATA[debian]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Mon, 23 May 2016 03:41:16 GMT</pubDate>
            <atom:updated>2016-05-23T03:41:17.769Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>I run my web site off a <a href="https://www.debian.org/">Debian</a> server on <a href="https://cloud.google.com/compute/">GCE</a>. I like tinkering with the configuration. I hear that <a href="https://http2.github.io/">HTTP 2</a> is the new hot thing, and that’s going to mean supporting <a href="https://en.wikipedia.org/wiki/Application-Layer_Protocol_Negotiation">ALPN</a> which means upgrading to OpenSSL 1.0.2 and nginx 1.9.5 or newer. But they isn’t supported in <a href="https://www.debian.org/releases/jessie/">Debian 8</a>.</p><p>I used <a href="https://wiki.debian.org/AptPreferences#Pinning">apt pinning</a> to bring in versions of nginx and OpenSSL from <a href="https://www.debian.org/releases/testing/">testing</a> into my jessie server. I first added sources for testing by creating a file /etc/apt/sources.list.d/testing.list:</p><pre>deb <a href="http://ftp.us.debian.org/debian">http://ftp.us.debian.org/debian</a> testing main non-free contrib</pre><p>Then I configured my pin priorities by creating /etc/apt/preferences with:</p><pre>Package: *<br>Pin: release a=stable<br>Pin-Priority: 700<br><br>Package: *<br>Pin: release a=testing<br>Pin-Priority: 650<br><br>Package: *<br>Pin: release a=unstable<br>Pin-Priority: 600</pre><p>After an apt-get update I could install the version of nginx from testing, bringing in the appropriate version of OpenSSL: apt-get -t=testing install nginx-full</p><p>Then it was just a matter of changing:</p><pre>listen 443 ssl;</pre><p>to:</p><pre>listen 443 ssl http2;</pre><p>wherever I wanted it.</p><p>Now it looks like I’m serving over HTTP/2. Not that it makes a whole lot of obvious difference yet.</p><p><em>Originally published at </em><a href="https://ianloic.com/2016/05/22/http2-on-nginx-on-debian/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2e2f96295f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The real value of side projects]]></title>
            <link>https://medium.com/@ian/the-real-value-of-side-projects-4d30c1ea4283?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d30c1ea4283</guid>
            <category><![CDATA[side-project]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[work]]></category>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Thu, 07 Apr 2016 15:31:54 GMT</pubDate>
            <atom:updated>2016-04-07T15:31:54.440Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m a programmer.</p><p>I love learning new programming languages and inventing new programming languages. I like designing meta-frameworks that I could use to build frameworks. It’s so intellectually rewarding to reimplement existing functionality in new ways — to try to eek out a little more performance, or see if a different approach will result in more elegantly structured code. I play with expressing algorithms in the most concise way possible. I implement crypto algorithms and network protocols from scratch. I could spend hours or days tweaking or creating the perfect build system for a project. I really want to use bloom filters for something some day.</p><p>It’s so much fun. I <em>love</em> being a programmer.</p><p>None of that is particularly useful, most of the time. I learn a lot, which can be useful, but it’s rarely creating value or solving real problems. That’s why I do it on my own time.</p><p>At work I focus on building products that will excite my users, not myself. I try to avoid impressing my co-workers with my cleverness. I strive to write code that I would want to read. I hope the people I work with do the same. That’s why I hope they spend some of their own time playing with code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d30c1ea4283" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Writing ES6 without a transpiler]]></title>
            <link>https://medium.com/@ian/writing-es6-without-a-transpiler-1012110010a6?source=rss-1935ec08ecee------2</link>
            <guid isPermaLink="false">https://medium.com/p/1012110010a6</guid>
            <dc:creator><![CDATA[Ian McKellar]]></dc:creator>
            <pubDate>Fri, 18 Mar 2016 10:03:47 GMT</pubDate>
            <atom:updated>2016-03-18T18:03:48.682Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>I like modern JS features. I’ve been using some like const and let for a long time in specific contexts like <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const#Firefox-specific_notes">Gecko chrome</a> (when I worked on <a href="https://en.wikipedia.org/wiki/Flock_(web_browser)">Flock</a> &amp; <a href="https://en.wikipedia.org/wiki/Songbird_(software)">Songbird</a>). Recently I’ve been playing with the features that have been standardized as ES6.</p><p>I tried a bunch of different build-system and transpiler approaches but I found them all unsatisfying. Even with automatic transpilation on save, even with source maps, I felt that I was missing too much of the edit/reload cycle that makes web JS programming such a pleasure. Even with low latency I couldn’t take advantage of things like being able to edit my source code inside the <a href="https://developer.chrome.com/devtools/docs/javascript-debugging">Chrome developer tools debugger</a>.</p><p>Luckily stable Chrome <a href="https://www.chromestatus.com/features#es6">supports a lot of ES6</a>. Just restricting myself to that quite large subset gives me a great set of features to work with, without losing the development flow I like. Every six weeks I get more features to play with as a new Chrome release launches. When I want to deploy to older browsers I can transpile (<a href="https://github.com/google/closure-compiler/wiki/ECMAScript6">Closure Compiler</a> is great) and <a href="https://github.com/inexorabletash/polyfill">polyfill</a>, but it’s part of the release / deployment flow rather than obstructing development.</p><p>So what am I using? Mostly:</p><ul><li>Classes</li><li>Arrow functions</li><li>let and const</li><li>New collection types — Map, Set, etc</li></ul><p>It’s pretty nice.</p><p><em>Originally published at </em><a href="https://ianloic.com/2016/03/18/writing-es6-without-a-transpiler/"><em>Ian McKellar</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1012110010a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>