In computer programming languages, indentation formats program source code to improve readability. Programming languages make use of indentation to define program structure .Programmers use indentation to understand the structure of their programs to human readers. Especially, indentation is the better way to represent the relationship between control flow constructs such as selection statements or loops and code contained within and outside them. This paper describes about different indentation styles used in Programming and also describes context of each indentation style. It also describes indentation styles used for various programming constructs and the best practice for a particular programming construct. This paper helps the beginners to understand various indentation styles used in programming and also to choose suitable indentation style.
FSE/CACM Rebuttal$^2$: Correcting A Large-Scale Study of Programming Languages and Code Quality in GitHub
Ray、Devanbu和Filkov发表了一篇反驳我们的TOPLAS论文《论程序设计语言对代码质量的影响:再现研究》。我们的论文转载了“A Large-Scale Study of程序设计语言and Code Quality in GitHub”,该论文发表在FSE 2014上,随后在2017年作为CACM研究亮点重新发表。这篇文章是对这种反驳的反驳。
Massachusetts Institute of Technology(麻省理工学院);Microsoft Research(微软研究院);Google Brain(谷歌大脑)
实例编程(Programming by Example,PBE)是从输入输出实例中归纳出计算机程序的任务。它可以被看作是一种机器学习,其中假设空间是某些程序设计语言中的合法程序的集合。最近的工作可微解释放松离散空间的程序到一个连续的空间,使搜索程序可以使用基于梯度的优化。虽然概念上很强大,但到目前为止,基于可微解释器的程序合成只能解决非常简单的问题。在这项工作中,我们研究建模时出现的选择,构建一个微分程序设计语言和它们的影响,成功的合成。建模选择的主要动机来自函数式编程:我们研究内存分配方案、不可变数据、类型系统和内置控制流结构的影响。从经验上讲,我们表明,将函数式编程思想到微分程序设计语言,使我们能够学习更复杂的程序比现有的微分语言是可能的。