Code Template Repository
In my wildest dream I was wondering why wouldn't it be possible to have a code repository that learns on its own from various code done in an organization, and to be able to bring up templates for developers to just modify and reuse?
I feel artificial intelligence could be a rite fit to build repository
("Code Template Repository") that can make developers life easy and
apply re-usability to greater heights. This could be very handy for
products/domains specific learning pattern, which would give birth to
re-usability from a business stand point.
Maybe it's too ambitious to say "learn on its own", but there could be some
manual intervention from developer so as to what a template is, and a replacement criteria
for reusing it. I haven’t worked out the details yet. As I started, it could be
a wild dream but I feel there is a real need of a repository that could
store knowledge not just the .jar file :).
- Login or register to post comments
- 3151 reads
- Printer-friendly version
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)




Comments
Alexei Vidmich replied on Mon, 2010/03/08 - 7:08pm
Imagine if there would be a service indexing your code. I can see it as a plugin in IDE - you configure privacy settings and it automatically publishes what you allow it to publish. And other developers do the same.
Then imagine if it would be possible for the same plugin in your IDE to constantly search against that index of code inventory. It would help if you provide some keywords for it to understand what you are working on. E.g. "Login page".
It instantly shows you 10 most popular implementations that match to what you started writing and match the task that you are trying to accomplish.
Chuck Canning replied on Tue, 2010/03/09 - 3:38pm
Senthil Balakrishnan replied on Wed, 2010/03/10 - 9:34am
Alexi,
You seem to be thinking on the same lines as myne, I am sure it's not far from reality.
Thanks,
Senthil Kumar
Rajesh Soundarraj replied on Wed, 2010/03/10 - 9:51am
Instead of AI, It should be more like a neural network, where it can extract patterns from the code and build on top of it.
Perhaps it can also lead to IP issues or worst developers will be obsolete
Senthil Balakrishnan replied on Wed, 2010/03/10 - 10:20am
in response to: rajessh
You are right the worst developers will be obselete :)
Thanks,
Senthil Kumar