News for hackers. Stuff that matters.
Re:Low Hanging Fruit of Programming Language Design by NotableAlamode on Wednesday November 22, 2017 @10:11AM (#15757300)
There is an interesting related paper "Copy and Paste Redeemed" [1] that is based on the assumption that a lot of copy/paste happens (and discusses why this is not necessarily a bad thing). [1] investigates how copy/paste can be auto-detected, how similar pieces of code can automatically be merged together, and how abstractions can be automatically created from copy/paste code.

I have not used the tool myself, so I cannot comment on how well it works in practise. But I found the idea intriguing.

[1] K. Narasimhan, C. Reichenbach, Copy and Paste Redeemed http://creichen.net/papers/cpr.pdf

Re:Low Hanging Fruit of Programming Language Design by agumonkey on Wednesday November 22, 2017 @10:20AM (#15757377)
good approach IMO