Skip to main content

Showing 1–2 of 2 results for author: Casalnuovo, C

Searching in archive cs. Search in all archives.
.
  1. arXiv:1910.03704  [pdf, other

    cs.CL cs.IT cs.PL

    Do People Prefer "Natural" code?

    Authors: Casey Casalnuovo, Kevin Lee, Hulin Wang, Prem Devanbu, Emily Morgan

    Abstract: Natural code is known to be very repetitive (much more so than natural language corpora); furthermore, this repetitiveness persists, even after accounting for the simpler syntax of code. However, programming languages are very expressive, allowing a great many different ways (all clear and unambiguous) to express even very simple computations. So why is natural code repetitive? We hypothesize that… ▽ More

    Submitted 8 October, 2019; originally announced October 2019.

  2. arXiv:1806.02437  [pdf, other

    cs.CL

    Studying the Difference Between Natural and Programming Language Corpora

    Authors: Casey Casalnuovo, Kenji Sagae, Prem Devanbu

    Abstract: Code corpora, as observed in large software systems, are now known to be far more repetitive and predictable than natural language corpora. But why? Does the difference simply arise from the syntactic limitations of programming languages? Or does it arise from the differences in authoring decisions made by the writers of these natural and programming language texts? We conjecture that the differen… ▽ More

    Submitted 6 June, 2018; originally announced June 2018.

    Comments: Preprint

    MSC Class: 68N15; 68T50