The Java Programmer's Phrase Book
نویسندگان
چکیده
Method names in Java are natural language phrases describing behaviour, encoded to make them easy for machines to parse. Programmers rely on the meaning encoded in method names to understand code. We know little about the language used in this encoding, its rules and structure, leaving the programmer without guidance in expressing her intent. Yet the meaning of the method names — or phrases — is readily available in the body of the methods they name. By correlating names and implementations, we can figure out the meaning of the original phrases, and uncover the rules of the phrase language as well. In this paper, we present an automatically generated proof-of-concept phrase book for Java, based on a large software corpus. The phrase book captures both the grammatical structure and the meaning of method phrases as commonly used by Java programmers.
منابع مشابه
Exception Analysis for Java
Current JDK Java compiler relies too much on programmer's speciication for checking against uncaught exceptions of the input program. It is not elaborate enough to remove programmer's unnecessary handlers (when programmer's speciications are too many) nor suggest to programmers for specialized handlings (when programmer's speciica-tions are too general). We propose a static analysis of Java pro...
متن کاملOberon system - user guide and programmer's manual
Imagine that you get such certain awesome experience and knowledge by only reading a book. How can? It seems to be greater when a book can be the best thing to discover. Books now will appear in printed and soft file collection. One of them is this book oberon system user guide and programmers manual. It is so usual with the printed books. However, many people sometimes have no space to bring t...
متن کاملLongitudinal Data and SAS>: A Programmer's Guide
Read more and get great! That's what the book enPDFd longitudinal data and sas a programmers guide will give for every reader to read this book. This is an on-line book provided in this website. Even this book becomes a choice of someone to read, many in the world also loves it so much. As what we talk, when you read more every page of this longitudinal data and sas a programmers guide, what yo...
متن کاملContext-Free Multilanguages
Inspired by ideas of Chomsky, Bar-Hillel, Ginsburg, and their coworkers, I spent the summer of 1964 drafting Chapter 11 of a book I had been asked to write. The main purpose of that book, tentatively entitled The Art of Computer Programming, was to explain how to write compilers; compilation was to be the subject of the twelfth and final chapter. Chapter 10 was called " Parsing, " and Chapter 1...
متن کاملComputer systems - a programmers perspective
The graph on the front cover is a " memory mountain " that shows the measured read throughput of an Intel Core i7 processor as a function of spatial and temporal locality. Many of the designations by manufacturers and seller to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations ha...
متن کامل