Talk:Greenspun's tenth rule
- 1 Cut error
- 2 Misssing
- 3 Greenspun's motivation
- 4 Possible example
- 5 Leonard part 6?
- 6 Preventing the perception of original research
- 7 ha ha only serious
- 8 Prolog Follow-up
- 9 So where is lisp+prolog+erlang?
- 10 NoSQL
- 11 Erlang quote
- 12 generalization to functional language?
- 13 Backwards interpretation
- 14 Morris' corollary doesn't make sense.
I cut this:
- "This refers to complex software that is made scriptable, and then gradually evolves a more comprehensive scripting language. Examples can be user-defined functions in Microsoft Excel, HTML and ECMAScript, XSLT, and even MediaWiki through template substitution (as beta reduction)"
This is incorrect. It is based on a misinterpretation of Philip's Rule. Philip's Rule neither requires a scripting language, nor are most scripting language functional. I'll give an analogy: In much the same way as GTK implements object oriented programming on top of C, most complex system eventually implement some subset of functional programming language on top of C. This isn't necessarily externally visible. It might be some dude hacking on a calculator program, and finds he wants the user to be able to compose expresions: f(x)=g(h(x)), so implements a data structure of a linked list of function pointers, emulating closures, poorly. Another guy implements reference counting by overriding operators in C++, to make memory management easier for some type of object. As systems get more complex, these hacks get more complex, and eventually you end up with half of Lisp/Scheme/... in the program, only implemented badly.
18.104.22.168 22:00, 21 October 2007 (UTC)
- That's a good point - that's much more about software bloat or featuritis. I've merged those removed sentences to those articles. --Gwern (contribs) 00:41 23 October 2007 (GMT)
- "That doesn't change the fact that, to many users, those things are all completely irrelevant if they can't easily open a socket, connect to a database, spawn a process, stat a file, open a pipe, send a datagram, throw a window on the screen, match a string against a regular expression, encrypt a string, use the syslog facility, parse CGI environment variable values, parse urls, send mail, read mail, send a file via ftp, read a file via ftp, start an nntp session, parse an xml file, manipulate image files, manipulate sound files, ..." - Gabe Garza
FFI and MOP are missing from the standard, too.
I think the article needs a complete overhaul. It should take into account that a lot has happened since the Common Lisp language standard came out. It should explain, too, that big ("diagonal") languages are also needed and that you need experience implementing them - the niche (once) filled by Common Lisp. --Anon.
That sounds like anti-Lisp bias to me. At the very least, that account doesn't represent a gaping hole, so I'm going to take the cleanup off at this point and I suggest Anon tag this as unbalanced if they feel their view is neutral. Vagary 20:20, 11 August 2006 (UTC)
"You can certainly edit the wikipedia if you like, though I'm not sure it is that interesting. I just thought it sounded better to have a 10th rule, as though it were part of a comprehensive system."
Is an email I recieved from Greenspun, how would I put that up for citation? I have the full email in my GMail account.
- Post it to some website. TOTSE is one possibility, but I'm sure you can think of others. --maru (talk) contribs 00:14, 25 July 2006 (UTC)
I recently added to Common Lisp a quote by Paul Graham in which he says that Yahoo's rewrite of Yahoo Store is a perfect example of this rule. Should this be added to the article? --maru (talk) contribs 20:54, 21 August 2006 (UTC)
- Absolutely; he mentions the Tenth Rule in the quote, so he obviously thinks it's an example. (I'm not so sure; it was after all in Lisp to start with). EdC 21:35, 21 August 2006 (UTC)
- Well, perhaps it originally being in Lisp makes it even better as an example, along the lines of "This application was so awesome we had to write it in Lisp, and when fools tried to rewrite it in a lesser language, they had no choice but to include a Lisp interpreter, that's just how pathetic their chosen languages were."? --maru (talk) contribs 21:57, 21 August 2006 (UTC)
Leonard part 6?
Preventing the perception of original research
I've requested cites on a few things to ensure the article doesn't start looking like original research here... Greenspun's quote (which someone said they had a source for), the "ha ha only serious" statement, and the generalization. If I Google for the text of the claimed generalization, I don't see any obvious reliable sources to source it to, so it's in question... --Ds13 (talk) 20:41, 18 April 2008 (UTC)
- 'ha ha only serious' is in the jargon file I believe, if that is what the query is on, the link is http://www.catb.org/jargon/html/H/ha-ha-only-serious.html I would reference it myself, but i'm a lurker, and know hardly any wiki script, including how to do this ^_^ if someone else wants to, feel free. SirEelBiscuits (talk) 21:20, 14 May 2008 (UTC)
- Well, given that the page i linked is a description of the meaning of haha only serious, and describes what it means, it should be adequate amirite? And it's from the definitive list of computer scientists slang, so it's about as reliable as it gets. (even dictionary.com now references the jargon file) SirEelBiscuits (talk) 10:55, 16 May 2008 (UTC)
- Again, the fact isn't there doubting what ha only serious means, it isn't doubting that it exists. It doubts that Greenspun's Rule is humor; that it is in particular an example of 'ha ha only serious' humor; and that the Rule is not a serious and cogent analysis of programming techniques, much like the Design Patterns by the Gang of Four (which as risible as many of them seem to users of 'better' languages, can't be classified as 'ha ha only serious').
- I don't know how much clearer I can explain why the cite is not useful. --Gwern (contribs) 01:50 17 May 2008 (GMT)
ha ha only serious
I have the opposite question myself. The only place I've ever seen the phrase "ha ha only serious" is in the jargon file. I wonder if that phrase is actually in common use, and I also wonder if there's really anything unique about "hackers" in this respect -- programmer's are hardly the inventors of "truth in jest". -- Doom (talk) 04:31, 22 November 2008 (UTC)
- Well, keep in mind the origins of the Jargon File - there's stuff in it that go back to the MIT Model Railroad Club in the '50s (or '40s?). Plenty of the entries are no longer in live usage, just as there are many contemporary hacker terms which are not in it. --Gwern (contribs) 21:00 23 November 2008 (GMT)
I am tempted to add to the Prolog follow-up section the example of Paradigms of Artificial Intelligence Programming, where all the code examples in the book are in Lisp, until such time that the author, Peter Norvig, describes a Prolog interpreter, after which time all code examples are in Prolog. Atannir (talk) 17:29, 28 January 2009 (UTC)
- Well, since I am not that familiar with the history of Lisp, I have also discovered that Paul Graham does a very similar thing in On Lisp... Norvig is mentioned in the reference provided for the functional language quote as well. Atannir (talk) 20:12, 23 February 2009 (UTC)
So where is lisp+prolog+erlang?
Honestly, I understand teh aphorism well, as I code in scheme, layered on top of a C++ structure that is prolog-like. And would like to have erlang or scala (programming language)-like features. What language *should* I code in? Does this language exist? linas (talk) 17:08, 1 September 2009 (UTC)
Any sufficiently complicated NoSQL program contains an ad hoc,informally-specified,bug-ridden,slow implementation of half of SQL
The referenced email for the quote regarding erlang doesn't seem related to the article, and doesn't contain the quote in question. This  message contains the quote, with attribution to Robert Virdig, although a follow-up indicates a prior usage (with broken link). There are a couple of quotes of this:  and  attributing it to Virdig. 22.214.171.124 (talk) 19:53, 25 March 2011 (UTC)
generalization to functional language?
Common Lisp is not a functional language (given the examples, the intent was clearly to talk about purely functional languages) and also Greenspun's Tenth Rule is not limited to functional language features of Lisp, so the pretended Generalization makes no sense, which matches with the fact that nobody seems to ever had heard it before. Instead of merely suggesting to remove it, I'm doing it right now because i fear mere suggestion will lead nowhere in any reasonable timeframe. If somebody thinks i'm wrong in my analysis, restore it and explain why here. --126.96.36.199 (talk) 23:50, 6 August 2011 (UTC)
The "Meaning" section is completly off the mark; it for some reason starts off talking about Lisp syntax and macros... whereas any recovering C++/Fortran vetran can tell you that the beef is in the features common with today's popular dynamic languages including automatic memory management, high level data structures and strong typing.
- Indeed. And the real meaning - namely, that Common Lisp had important language features and a large standard - is already mentioned in the lead section. The 'meaning'section is just an opinion without any reputable source.
- I will move it here: Lisp syntax is barely abstract; Lisp programs are constructed as trees of S-expressions, which are equivalent to the abstract syntax trees that compilers of other languages create internally. As a homoiconic language, Lisp also makes no distinction between code and data; Lisp programs are themselves just Lisp data structures. Lisp programs can thus generate additional Lisp programs themselves via macros. As a result, the programmer can construct complex domain specific languages with relative ease. Lisp advocates such as Paul Graham claim that this allows faster construction of more robust software compared to other languages. Common Lisp, specifically, has a quite large standard library with a large number of functions with flexible interfaces, that capture many programming paradigms (like
map, etc.). Greenspun's Rule expresses the opinion that these capabilities are necessary for any sufficiently complex software package, and so will be redesigned from scratch in an ad hoc manner in any large project, duplicating effort already exerted in Common Lisp. -- Zz (talk) 12:09, 9 September 2014 (UTC)
Morris' corollary doesn't make sense.
"Including Common Lisp" what does that mean? Common Lisp isn't a C or Fortran program; it can't be included in the set of C and Fortran programs. Some Common Lisp implementations use C or C++ in their "kernels". Some are written in Common Lisp itself or some combination of the two. (Don't know of any in current use that are based on Fortran.) Of course if you implement Common Lisp, the project will contain half of Common Lisp --- and the other half, too! (Will it necessarily be ad hoc or bug-ridden? Probably not the former if you follow the specification.)188.8.131.52 (talk) 03:03, 3 October 2015 (UTC)