Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering: New Ideas and Emerging Results 2020
DOI: 10.1145/3377816.3381720
|View full text |Cite
|
Sign up to set email alerts
|

A theory of dual channel constraints

Abstract: The surprising predictability of source code has triggered a boom in tools using language models for code. Code is much more predictable than natural language, but the reasons are not well understood. We propose a dual channel view of code; code combines a formal channel for specifying execution and a natural language channel in the form of identifiers and comments that assists human comprehension. Computers ignore the natural language channel, but developers read both and, when writing code for longterm use a… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
3
1
1

Citation Types

0
15
0

Year Published

2020
2020
2023
2023

Publication Types

Select...
5
3

Relationship

2
6

Authors

Journals

citations
Cited by 24 publications
(19 citation statements)
references
References 13 publications
0
15
0
Order By: Relevance
“…the natural language identifiers that are chosen and the comments that are written in the code. Based on this insight, Casalnuovo et al [2020] described two communication channels in source code: the algorithmic channel (AL) and the natural language channel (NL). The algorithmic channel comprises of all the instructions written by the developers which will be executed by a computer.…”
Section: Related Workmentioning
confidence: 99%
See 1 more Smart Citation
“…the natural language identifiers that are chosen and the comments that are written in the code. Based on this insight, Casalnuovo et al [2020] described two communication channels in source code: the algorithmic channel (AL) and the natural language channel (NL). The algorithmic channel comprises of all the instructions written by the developers which will be executed by a computer.…”
Section: Related Workmentioning
confidence: 99%
“…In this paper, we propose a lightweight approach to check if casts are used judiciously. Casalnuovo et al [2020] presented source code as being dual channel. One channel is represented by the algorithmic channel, comprised of instructions understood and executed by computers.…”
Section: Introductionmentioning
confidence: 99%
“…The theory of dual channel constraints (Casalnuovo, Barr, Dash, Devanbu, & Morgan, 2020) describes how programmers express meaning in code to each audience. In this formulation, code is comprised of two channels-an algorithmic (AL) channel and a natural language (NL) channel.…”
Section: Dual Channel Constraints and Equivalent Meaning In Codementioning
confidence: 99%
“…Seshat can predict the entire kill matrix 2 that results from mutation analysis. We refer to this new type of predictive modelling as Predictive Mutation Analysis (PMA), to emphasise the finer granularity of the prediction, as opposed to PMT, whose outcome is the test suite level mutation analysis.…”
Section: Introductionmentioning
confidence: 99%
“…Seshat exploits the Natural Language (NL) channel in software [2]. Natural Language channel refers to the communication channel that explains the conceptual contexts of the actual executions via natural language elements in source code, such as identifier names.…”
Section: Introductionmentioning
confidence: 99%