473,472 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Best practice for organizing Constant

I have about 50 string constants that I put all of them in one file. I find
that it's too un-organized because I have to intellisense thru lots of
unrelated constant to get to the one I want. Is there a best practice for
organizing constant? Please share with me your thoughts and experiences.

Thanks so much in advance.

Jun 20 '06 #1
2 1299
Creating a custom configuration class and make them XML driven.
http://openmymind.net/index.aspx?documentId=5

--
http://www.openmymind.net/
http://www.fuelindustries.com/
"Ethan V" <aa*@aaa.aaa> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I have about 50 string constants that I put all of them in one file. I find
that it's too un-organized because I have to intellisense thru lots of
unrelated constant to get to the one I want. Is there a best practice for
organizing constant? Please share with me your thoughts and experiences.

Thanks so much in advance.

Jun 20 '06 #2
create a seperate class for each group of related constants. this will give
a nice dot notation. you can still use one file.
-- bruce (sqlwork.com)

"Ethan V" <aa*@aaa.aaa> wrote in message
news:OS**************@TK2MSFTNGP04.phx.gbl...
I have about 50 string constants that I put all of them in one file. I find
that it's too un-organized because I have to intellisense thru lots of
unrelated constant to get to the one I want. Is there a best practice for
organizing constant? Please share with me your thoughts and experiences.

Thanks so much in advance.

Jun 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Miranda Evans | last post by:
Seeking reference material (a url, a book, an article) that offers advice and guidelines for organizing classes within files. For example, assume two classes: 1) SuperABC - a superclass 2)...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
10
by: Rada Chirkova | last post by:
Hi, at NC State University, my students and I are working on a project called "self-organizing databases," please see description below. I would like to use an open-source database system for...
9
by: Bryan Hepworth | last post by:
Hi Everyone I'm wondering what the best practice is for a particular task I'm trying to accomplish. I'm using two sets of radio buttons for a user to select values from. These values then go...
13
by: Alan Silver | last post by:
Hello, MSDN (amongst other places) is full of helpful advice on ways to do data access, but they all seem geared to wards enterprise applications. Maybe I'm in a minority, but I don't have those...
16
by: Rex | last post by:
Hi All - I have a question that I think MIGHT be of interest to a number of us developers. I am somewhat new to VIsual Studio 2005 but not new to VB. I am looking for ideas about quick and...
66
by: KimmoA | last post by:
Hey! Some questions about C that have been bugging me for a while... 1) Is inline a valid C keyword or not? I was kind of surprised of not finding it in C, to be honest. My "The C Programming...
13
by: Justin.Voelker | last post by:
Hello Everyone: I am in search of an easier way to develop pages. My most current website, www.Base2WebDesign.com, has the exact same layout throughout the entire site. Right now I use a...
4
Colloid Snake
by: Colloid Snake | last post by:
Hello- I'm installing a new device due to the shoddy administration of a few servers I recently came to admin, and I was wanting to make sure a constant problem they were having didn't happen...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.