28 points · by raganwald · 16y ago · 21 comments
"Raganwald is a NOOP," for example, is simultaneously an insult and an opportunity to reinforce a tribal bond between speaker and listener, who both share a certain understanding of the term "NOOP."
Whether we want to admit it to ourselves or not, we do some pretty serious stuff (once we progress beyond "Hello, world" or Aunt Nell's cat fancier web site). Why shouldn't we take ourselves seriously? I mean, cripes, I worried about big O, edge cases, maintainability and profiling when I started developing Notes applications after transitioning from years as a shoe shiner and apprentice cobbler. OO concepts were not far behind, and anyone who has done anything non-trrivial in JavaScript should have knocked up against functional programming principles at some point. Each of those has its own associated terminology. As an autodidact, I understand that there are some things I just plain ought to know if I want to participate in this little part of the world. I see no particular reason why I should be responsible not only for re-inventing the wheel, but for reconceptualising roundness on a daily basis.
If as high school dropout I can take the time to learn the language and the concepts it represents, why shouldn't I be able to expect the same from people who entered the guild in a more conventional manner? It's nothing more than Mike the plumber would expect from his peers.
Trust me, I can pick a term from "Introduction to Algorithms" or Knuth's 3 volume books that you never heard about.
For those who are interested in your plugin, chances are high that they know what K/T represents, but that's because they've worked with combinators before and that's why they are looking at your plugin.
I know that, that's why I wrote this post. Although I don't think I "stumbled upon them in a course," Combinatorial Logic was a requirement at UofT's undergraduate program in the 80s. But I don't think every program required it then, and certainly not every program requires it now, so I don't think every or even many programmers know what they are.
And I don't think others should know about them. I picked them as an example, perhaps the larger question is, "What subset of all the things someone might learn as part of an undergraduate CS degree should be considered standard?" If you don't teach SKI calculus, you teach something else, so it's not like people are graduating knowing less than I did, just different things.
In recent years, it seems that the answer has been dominated by vocational concerns rather than theoretical concerns. So CS graduates are less likely to have heard of Kestrels or Parser Combinators than of Java Packages. I'm just pointing out that there is some value in having a standard body of knowledge such that jargon is immediately recognizable by new graduates.
For those who are interested in your plugin, chances are high that they know what K/T represents, but that's because they've worked with combinators before and that's why they are looking at your plugin
Well, obviously if I name if jQuery Combinators than K and T are fine names. But I suspect that if I named it "Ruby Shoes for jQuery" and named the methods "returning" and "into" I would have 10x the audience.
I never heard of K and T while in college. Why? Probably because its not a major enough term. There is hardly enough time to learn all the lingo especially when it takes a whole 10 lines to write these combinators. I would have just wrote those ten lines and not cared what its called.
simple answer: marketing.
you have a nice plugin there. if you want more people to find it and use it, using terminology that discriminates instead of includes will make that more difficult. if you don't, then it doesn't matter and you can do whatever you want.
I will probably rename everything at some point and use it to try to lure people into finding out more about combinators. Perhaps "Ruby Shoes for jQuery" could be the gateway drug for combinatory logic... But somehow I'm still saddened to think that we could look at something, know it has a name, but fear that calling it by its name will make it less popular than if we try to find a catchy nickname for it.
Should professors rename the combinators "returning" and "into?"
This isn't about a distain for science or knowledge. It's about disdain for oblique names. I mean, heck, we would blast anyone who named all their variables that way. Imagine if Ruby's "each," "map" and "select" methods were instead named "w", "q" and "x" — you would rightly say that Matz had gone mad. We tolerate it in our combinators because that's just how it's always been done, but that doesn't mean other people are wrong to be put off by it.
and that is just how it goes with the popularization with any field. the masses will have their own way of talking about concepts that differs from the educated academics. and there's a growing group of non-CS educated web developers/designers that make use of jquery in meaningful ways.
FWIW, In Prototype.js, K is the identity function.
I think the problem is in assuming that people reading the code will know K and T are combinatory logic concepts, considering the terms aren't even described on Wikipedia (at least as far as I can tell).
(BTW: On a side note, the code currently throws an error if you don't have "Functional" declared.)
http://en.wikipedia.org/wiki/Combinator#Completeness_of_the_...
In any case, is this supposed to be a given to a javascript programmer? I don't think anyone in my company would see a .K() and go "oh, that's a combinator", for instance, and most programmers there have CS degrees. I'd say that even asking for a definition of combinator would be pushing it, in fact...
1. By using these names someone that comes across combinators somewhere else can relate to a previous "popular" jquery library they've used. This makes the new knowledge easier to digest thanks to partial familiarity.
2. I've come across other formal methods material in the past that was "decorated" to be seemingly be easier to understand. Instead, I thought this material was the author's original invention and had no way to search for more information on the subjects with "made up", rather than established, terms.
3. You're also a pretty popular internet persona. Just like with your previous "raganwald" blog, having someone in the spotlight promote lesser known but useful information is beneficial for the programming community.
In the end, remember that it's your open source library. If people feel so strongly against those names, they can fork you.
[1] http://sourcemaking.com/antipatterns/intellectual-violence