Questions tagged [greenspunning]

3 questions
10
votes
10 answers

Is INTERPRETER an anti-pattern?

To me, the Interpreter patten sounds very much like an anti-pattern known as Greenspun's tenth rule: Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common…
5
votes
0 answers

Statically typed well-formed cons list in C#

I've asked myself a stupid question and have been wracking my brain for a few hours now with no result. Let's say you want to implement a cons cell in C# for whatever reason (Greenspun's tenth rule should be enough). Since it's in C#, you want it to…
Alexey
  • 1,354
  • 13
  • 30
2
votes
2 answers

Greenspunning: Most impressive extension of a language you have made and whether it was worth it

Greenspunning. We've all had occasion to hack around a language's missing features to get what we need. Implementing pseudo-monadic patterns in Java, Y Combinators in Javascript, variable immutability in C... What do you consider your most…
pookleblinky
  • 623
  • 1
  • 11
  • 23