Forum dedicated to code samples
People could share some code too big as a code snippet, and not big enough to make it into a product of its own.
Maybe we could have a similar forum here?! What do you think?
Maybe we could have a similar forum here?! What do you think?
I think thats a good idea and would prove to be useful.
However, the next question that comes up is whether the users would upload the samples elsewhere and provide a URL to the code sample or if the this forum will need to support a Upload code sample option?
I checked that some of the other popular forums have a dedicated forum titled "CodeBank" where people can upload entire code samples as zip files which I think is a good idea.
Regards,
Vikram
Yes indeed. This would be quite useful. But the problem that I see here would be how to handle malicious programs. A coder might write a trojan-like program and name it "ADO.Net - Beginners Approach", this would definitely generate lots of downloads and in reality endanger their systems.
I think the solution here is for better moderation. The code to be uploaded must be checked by moderators if it contains malicious codes. This could be a heavy burden to be placed on the moderators...
Lastly, If this could be implemented, microsoft should include a code-viewer in their help documentations, so that users could just search the code-database...
cheers,
Paul June A. Domag
Thats true - someone can always exploit the upload feature to uplood malicious code. Some kind of virus check as in Hotmail upload needs to happen if such a feature is to be implemented.
Regards,
Vikram
Good point about malicious code, but I was thinking people would post the source code directly, so there would be no need for virus checks. Of course, this bug needs to be fixed first...
I guess what Paul meant that somebody could post a class that had malicious code hidden in it, like deleting files or opening backdoors into the system. I agree that a moderator should be looking at the code samples and approve them.