This repository has been archived on 2017-04-03. You can view files and clone it, but cannot push or open issues/pull-requests.
blog_post_tests/20141029131446.blog

29 lines
8.5 KiB
Plaintext

When hackers grow old
<p>Lately I&#8217;ve been wrestling with various members of an ancient and venerable open-source development group which I am not going to name, though people who regularly follow my adventures will probably guess which one it is by the time I&#8217;m done venting.</p>
<p>Why it so <em>freaking</em> hard to drag some people into the 21st century? Sigh&#8230; </p>
<p>I&#8217;m almost 56, an age at which a lot of younger people expect me to issue semi-regular salvos of get-off-my-lawn ranting at them. But no &#8211; I find, that, especially in technical contexts, I am far more likely to become impatient with my age peers.</p>
<p>A lot of them really have become grouchy, hidebound old farts. And, alas, it not infrequently falls to me to be the person who barges in and points out that practices well-adapted for 1995 (or, in the particular case I&#8217;m thinking of, 1985) are &#8230; not good things to hold on to decades later.</p>
<p>Why me? Because the kids have little or no cred with a lot of my age peers. If anyone&#8217;s going to get them to change, it has to be someone who <em>is</em> their peer in their own perception. Even so, I spend a lot more time than seems just or right fighting inertia.</p>
<p>Young people can be forgiven for lacking a clue. They&#8217;re young. Young means little experience, which often leads to unsound judgment. It&#8217;s more difficult for me to forgive people who have been around the track often enough that they should have a clue, but are so attached to The Way It&#8217;s Always Been Done that they can&#8217;t see what is in front of their freaking noses.</p>
<p><span id="more-6485"></span></p>
<p>(News flash: I really don&#8217;t have a conservative temperament. I find it wryly amusing how often both conservatives and non-conservatives who argue politics with me fail to notice this.)</p>
<p>OK, now let&#8217;s talk about GNU ChangeLog files. They were a fine idea, a necessary one even, in 1985. The idea was to use a single ChangeLog entry to document a group of related changes to multiple files. This was a reasonable adaptation to absent or extremely primitive version control. I know this because I was <em>there</em>.</p>
<p>Even in 1995, or as late as the early 2000s, many version control systems didn&#8217;t have changesets. That is, there was no or only weak support for grouping multiple file modifications into a single retrievable object with a comment attached to the object rather than to individual file modifications. CVS, the system in widest use then, only faked changesets &#8211; and did it so badly that many people felt they couldn&#8217;t rely on that feature. ChangeLog files still made some functional sense.</p>
<p>But then Subversion &#8211; with real changesets &#8211; achieved wide acceptance through its beta releases around 2003 and its 1.0 in 2004. It should have been obvious then, even before the new wave of DVCSes that began a year later, that there was a culture clash a comin&#8217;. Because if your project both has a DVCS and uses the ChangeLog convention, they&#8217;re fighting for control of the same metadata.</p>
<p>There are different ways you can adapt. One is to continue to treat the ChangeLogs as the authoritative record of the evolution of the code. In that case, you tend to get stubby or pro-forma commit comments. </p>
<p>Another is to treat the commit comment log as authoritative. If you do that, you soon begin to wonder why you&#8217;re still writing ChangeLog entries at all. The commit metadata has better coherence with the code changes, after all &#8211; that&#8217;s what it&#8217;s designed for.</p>
<p>(Now imagine a project in which, with the best of intentions, different people are making opposite choices out of these two. Now you have to read both the ChangeLogs <em>and</em> the commit logs to know what&#8217;s going on. Friction costs are rising&#8230;)</p>
<p>A third is to try to have it both ways &#8211; duplicating commit comment data in a slightly different format in a ChangeLog entry that&#8217;s part of the commit. This has all the problems you&#8217;d expect with a representation in which there is no single point of truth; one copy gets garbled, or the ChangeLog entry gets modified so that it&#8217;s no longer in sync with the allegedly matching commit data, and life gets very confusing for anyone who comes along later and tries to figure out what people were thinking.</p>
<p>Or, as a senior dev on a Certain Project I Won&#8217;t Name just did in email, declaring that commits can include multiple ChangeLog entries and the commit metadata is <em>irrelevant</em> to the Changelogs. Which we still have to write. </p>
<p>My eyes crossed and my gorge rose when I read that. What kind of fool fails to realize that this is begging for trouble &#8211; that, actually, the whole edifice of custom around ChangeLog files is just dead weight and friction drag in a DVCS world with good browsing tools for reliable commit logs?</p>
<p>Alas, it&#8217;s a very particular kind of fool: a hacker who has grown old and rigid. All the rationalizations he will ever utter fail to hide this. He&#8217;s attached to tactics that made sense a decade ago but have become counterproductive ceremonies now. If you tried to explain not just about git summary lines but that the correct adaptation for current toolsets is to scrap ChangeLogs entirely &#8230; well, that would be insupportable, inconceivable, and just crazy talk.</p>
<p>Functionally this infuriates me. It is substantially harder to work on that project because of this and related nonsense. And, as badly as it happens to need young developers, that&#8217;s a real problem. It has a G+ community well into 4 digits, they&#8217;re mostly kids, and they&#8217;re not stepping up. Evidently the message has been received on the outside; the devs on this project are ancient mossbacks with inexplicable tribal fixations, and best admired from a good long distance.</p>
<p>What gives this extra emotional edge for me is that whenever I have to butt heads with a mossback, I keep wondering: will I be like this someday? Worse, am I looking in a mirror, already rigidified and not knowing it? I mean, I get the impression from his web presence that this particular specimen is <em>younger</em> than me. By a good fifteen years.</p>
<p>I <em>feel</em> mentally agile. I don&#8217;t get frustrated by people moving faster than I can handle, I get frustrated by people who can&#8217;t keep up with me, who can&#8217;t see the obvious. But this self-belief could be just a bad case of Dunning-Krueger effect biting me where I least understand it. Very few things terrify me; this possibility is high on the short list.</p>
<p>A separately disconcerting thing is that as I get older this sort of collision is happening more often rather than less. Somehow I expected my hacker peers to age more gracefully, to retain their neotenous flexibility even if they were physically aging. Some do indeed seem to be going that way; too many, alas, are not. It is a sadness.</p>
<p>I&#8217;m not sure I have a good finish for this. <em>If</em> I&#8217;ve escaped mentally rigidifying (and that&#8217;s an if) I think I know at least in part why, but I&#8217;m very unsure whether it can be generally replicated &#8211; you might need to have a wired-in brain chemistry that matches the strategy. Nevertheless, for whatever it&#8217;s worth, here is my advice to young hackers and indeed the young of all kinds.</p>
<p>You &#8211; yes, even you &#8211; cannot count on retaining your mental flexibility into middle and old <em>unless you work at it</em>. You have to practice busting out of comfortable mental grooves and regularly checking your assumptions when you&#8217;re young, and you have to develop a habit of it that sustains into old age.</p>
<p>It&#8217;s said that the best time for a middle-aged person to start (physically) exercising is thirty years ago. I think the same goes for the habits that might (might!) keep you mentally agile at 56, or 65. <em>Push your envelope.</em> Develop the regular practice of challenging yourself and exiting your comfort zone now so you&#8217;ll have it established when you really need it.</p>
<p>You have to be realistic about this; there&#8217;s an optimal-challenge level where you choose an <em>attainable</em> goal and work mentally hard for it. This month I&#8217;m going to learn go. Not the game, I already play that (though not very well); the programming language. Not because I really need to for a specific project, but because it&#8217;s time to stretch myself.</p>
<p>Develop that habit. And <em>never let it go.</em></p>