Alex Rivera | Logout

Personal Code Library

Asked 2008-10-10T16:15:01.933
21

So I assume I'm not the only one. I'm wondering if there are others out there who have compiled a personal code library. Something that you take from job to job that has examples of best practices, things you are proud of, or just common methods you see yourself using over and over.

I just recently started my C# library. It already has quite a few small items. Common Regex validations, interfaces for exception handling, some type conversion overloads, enum wrappers, sql injection detection methods, and some common user controls with AJAX toolkit examples.

I'm wondering what kind of things do you have in yours?

Edit
Report

2 Answers

9

I use my own wiki where I post code snippets and commentaries.

I find that more useful than having my own library. And since they are essentially notes and not full programs there isn't a problem with who owns the code (you or your employer ).

PS: I don't hide the fact that I have that from my employer. In fact most of them were positive and even asked for a copy.

answered 2008-10-10T16:38:18.610
0

For my PHP work I started with a small file of simple things: a mail function that checks inputs for header attacks, and email validator, an input srubber, that type of thing. Over time it has grown into a application framework for quickly developing one off applications that can be templated by our graphic designer.

answered 2008-10-10T17:18:14.737

Your Answer