• DocumentCode
    2250801
  • Title

    Beyond autocomplete: Automatic function definition

  • Author

    Murray, Kyle I. ; Bigham, Jeffrey P.

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Rochester, Rochester, NY, USA
  • fYear
    2011
  • fDate
    18-22 Sept. 2011
  • Firstpage
    259
  • Lastpage
    260
  • Abstract
    Programmers have used autocomplete to reduce the cognitive overhead of remembering exhaustive lists of APIs for years. Autocomplete has a primary and obvious point of failure: when a programmer expects a certain method or function name to exist and it does not, the autocompletion list simply stops displaying results and disappears. We describe automatic function definition (AFD), which can succeed where autocomplete fails. It is a novel way to reduce the impact of threadbare libraries, increase the coding speed of primary programming tasks, and distribute work among different types of programmers and automatic tools. Instead of seeing an empty list, users can instead perform automatic function definition, which uses several sources to define the function that the user intended to use. We present three complementary techniques for defining functions based on the information about the function that a user provides while writing code as usual: code search, fellow programmers, and the crowd. Finally, we discuss our implementation of this work in progress and plans for evaluation.
  • Keywords
    application program interfaces; programming; API; application program interface; autocomplete programming feature; autocompletion list; automatic function definition; code search function; crowd function; fellow programmer function; programming task; threadbare library; Encoding; Humans; Libraries; Natural languages; Programming; Visualization; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Visual Languages and Human-Centric Computing (VL/HCC), 2011 IEEE Symposium on
  • Conference_Location
    Pittsburgh, PA
  • ISSN
    1943-6092
  • Print_ISBN
    978-1-4577-1246-3
  • Type

    conf

  • DOI
    10.1109/VLHCC.2011.6070421
  • Filename
    6070421