By a News Reporter-Staff News Editor at Computer Weekly News -- Fresh data on Computer Programming are presented in a new report. According to news originating from Yorktown Heights, New York, by VerticalNews correspondents, research stated, "Refactoring has become an integral part of modern software development, with wide support in popular integrated development environments (IDEs). Modern IDEs provide a fixed set of supported refactorings, listed in a refactoring menu."
Our news journalists obtained a quote from the research from IBM T.J. Watson Research Center, "But with IDEs supporting more and more refactorings, it is becoming increasingly difficult for programmers to discover and memorize all their names and meanings. Also, since the set of refactorings is hard-coded, if a programmer wants to achieve a slightly different code transformation, she has to either apply a (possibly non-obvious) sequence of several built-in refactorings, or just perform the transformation by hand. We propose a novel synthesis system which addresses these limitations. Our system employs a recently proposed refactoring interface, in which a refactoring is achieved via three simple steps: the programmer first indicates the start of a code refactoring phase; then she performs some of the desired code changes manually; and finally, she asks the tool to complete the refactoring. Given the initial and modified programs, our synthesis system completes the refactoring by first extracting the difference between the starting program and the modified version, and then synthesizing a sequence of refactorings that achieves (at least) the desired changes. To enable scalable synthesis, we introduce local refactorings, which allow for first discovering a refactoring sequence on small program fragments and then extrapolating it to a full refactoring sequence. We implemented our approach as an Eclipse plug-in, with an architecture that is easily extendable with new refactorings."
According to the news editors, the research concluded: "The experimental results are encouraging: with only minimal user input, the synthesizer was able to quickly discover complex refactoring sequences for several challenging realistic examples."
For more information on this research see: Refactoring with Synthesis. ACM Sigplan Notices, 2013;48(10):339-354. ACM Sigplan Notices can be contacted at: Assoc Computing Machinery, 2 Penn Plaza, Ste 701, New York, NY 10121-0701, USA.
The news correspondents report that additional information may be obtained from V. Raychev, IBM TJ Watson Res Center, Yorktown Hts, NY, United States. Additional authors for this research include M. Schafer, M. Sridharan and M. Vechev.
Keywords for this news article include: New York, United States, Yorktown Heights, Computer Programming, North and Central America
Our reports deliver fact-based news of research and discoveries from around the world. Copyright 2014, NewsRx LLC