Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2629

Make built-in functions first class

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 4.1.1.004
    • Fix Version/s: None
    • Labels:
      None

      Description

      See my blog article:
      http://cfmlblog.adamcameron.me/2013/09/wow-coldfusions-built-in-functions-will.html

      And the corresponding Adobe ticket:
      https://bugbase.adobe.com/index.cfm?event=bug&id=3434441

      Summary:
      The problem here is that CFML BIFs are not "first class functions", meaning - and this is a fairly layman-ish distillation of that Wikipedia article - that they have a "special" status in the language in that they don't count as functions in the sense of a function one might create with a function declaration or function expression, and aren't variables, so can't be used in situations in which the code calls for function variables.

      Adobe are implementing this for CF11, according to the bugbase. Sean's asked me to make sure it's at least on your radar too.

      Cheers.


      Adam

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: