silly asp question
-
Right well im knew to asp and i've just been given a project to change around an existing project, mainly this one file of 3000 lines of code but the variable names seems strange to me, they seem to start with letters and then a defination like "Bpopup" and "Atitle" and "SAttribute" i was wonderin if these stood for anything like s for server etc. Maybe im totally wrong but i just thought mayb there was a standard????????????
-
Right well im knew to asp and i've just been given a project to change around an existing project, mainly this one file of 3000 lines of code but the variable names seems strange to me, they seem to start with letters and then a defination like "Bpopup" and "Atitle" and "SAttribute" i was wonderin if these stood for anything like s for server etc. Maybe im totally wrong but i just thought mayb there was a standard????????????
Asp does not force any names .. seems that the previous developers had their standards or conventions.. like using str prefix indicate strings and tbl to indicate tables etc.
-
Asp does not force any names .. seems that the previous developers had their standards or conventions.. like using str prefix indicate strings and tbl to indicate tables etc.
-
Right well im knew to asp and i've just been given a project to change around an existing project, mainly this one file of 3000 lines of code but the variable names seems strange to me, they seem to start with letters and then a defination like "Bpopup" and "Atitle" and "SAttribute" i was wonderin if these stood for anything like s for server etc. Maybe im totally wrong but i just thought mayb there was a standard????????????
"knew"..??? You seem to be new to English too. That's just plain stupid. Change the variable names to something more meaningful and try being a little generous with words...don't cut them off. For instance if its server attribute then name it something like "server_attribute" not "server_attr" etc. Anyways when the developer writes 3000 lines of code in one file that speaks volumes about his skills. Unfortunately the developers of webstandards have not kept pace with application/web developers...leading to such headaches. Regards, SRT
-
yeah i was thinkin they were implemented by the developers but was thinkin that mayb alot of developers may use a standard and was wondering if there was one what it was?
Here are a few links: Design Guidelines for Class Library Developers (MSDN) Coding Standard: C# C# coding standards regards, Paul Watson Bluegrass South Africa Chris Maunder wrote: "I'd rather cover myself in honey and lie on an ant's nest than commit myself to it publicly." Jon Sagara replied: "I think we've all been in that situation before." Crikey! ain't life grand?