3 Replies - 1206 Views - Last Post: 26 January 2011 - 10:59 PM

Poll: Personal class libraries... (6 member(s) have cast votes)

Do you use a class library for personal work?

  1. Yes (2 votes [33.33%] - View)

    Percentage of vote: 33.33%

  2. No (4 votes [66.67%] - View)

    Percentage of vote: 66.67%

Vote Guests cannot vote

#1 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9366
  • View blog
  • Posts: 35,187
  • Joined: 12-June 08

Personal class libraries...

Post icon  Posted 26 January 2011 - 03:44 PM

Some or most of use use a custom class library at work, but what about home? Is there a personal library you reference with each project? Some toolbox of bits, bobs, and helper methods that are pretty indispensable?

I've lugged one around for quite some time, and now automatically force forms to inherit from a custom form that includes a status bar to output status messages to (with color!). The oldest thing I have lugged around (and I forgot why I even have it there) is a constant for pi; out to eight places. I guess it was important... back in the day.

Whatcha got? What's the oldest? Oddest? Most bad ass?

Is This A Good Question/Topic? 3
  • +

Replies To: Personal class libraries...

#2 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4525
  • View blog
  • Posts: 7,893
  • Joined: 08-June 10

Re: Personal class libraries...

Posted 26 January 2011 - 03:58 PM

Quote

a constant for pi


Math.PI. That's one you can delete :D

I actually don't actually use a custom library for each project. I have one, with some extension methods I like, but I don't import it each time. I copy what I need from it, and only that. I don't like adding unnecessary dependencies or increasing the size of my project unnecessarily.

This post has been edited by insertAlias: 26 January 2011 - 03:58 PM

Was This Post Helpful? 0
  • +
  • -

#3 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1253
  • View blog
  • Posts: 4,168
  • Joined: 27-January 10

Re: Personal class libraries...

Posted 26 January 2011 - 04:11 PM

To be honest, I've never had the use for keeping a library of my functions. Then again, I'm only on my first year of actual non-school programming work. We'll see. ;)
Was This Post Helpful? 0
  • +
  • -

#4 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Re: Personal class libraries...

Posted 26 January 2011 - 10:59 PM

A stack of WinAPI function implemented via P/Invoke with all the associated types and callbacks. At least applies to the functions I am using - I am constantly implementing new stuff.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1