Hacker News new | ask | show | jobs
by melling 4251 days ago
A lot of programming is repetitive. It would be great if we could make some advances. On iOS, for example, Apple will generate a lot of code for you if, say, you want to create a uitableview. I could easily imagine we could tell it a few things and the entire method could be generated.

If we look at duplicate code across all projects on the Internet, maybe can simply pull from a larger database.

http://stackoverflow.com/questions/191614/how-to-detect-code...

Anyway, it's easy to say that it can't be done. It's probably more worthwhile to try and tackle the problem and make some forward progress.

[Update]

Just saw this HN submission.

https://news.ycombinator.com/item?id=8562635

Microsoft can now autocomplete C# code by using Bing Code Search Engine based off of your comments.

///how to read file pth line by line<TAB>

Pretty slick.