473,411 Members | 1,899 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,411 software developers and data experts.

i used lots of static fuction is it ok?

i've already used static fuction to make website
i wanna common module that's why i used static fuctions.
may be it's more than 100 fuction ...is it ok?


Nov 20 '05 #1
3 1273
Depends on the size of your project and what you're doing.

I have projects with thousands of static methods spread over hundreds
of classes. Most of those classes have constructors and instance
methods as well. If you've got something similar, I'd certainly call
that OK. Then again, if your entire backend consists of a single
abstract class with 100 static methods, we'd probably want to talk.

Describe what you're trying to accomplish and what you're planning to
implement. Then maybe we can help you.

Jason Kester
Expat Software Consulting Services
http://www.expatsoftware.com/

---
Get your own Travel Blog, with itinerary maps and photos!
http://www.blogabond.com/

Nov 20 '05 #2
http://support.microsoft.com/default...b;en-us;893666

Greg

"mike" <so**********@gmail.com> wrote in message
news:u0**************@TK2MSFTNGP15.phx.gbl...
i've already used static fuction to make website
i wanna common module that's why i used static fuctions.
may be it's more than 100 fuction ...is it ok?

Nov 20 '05 #3
Actually it will work, as long as you don't use static variables, because if
one browser changes a static variable, it will be changed for all browsers.

"mike" <so**********@gmail.com> wrote in message
news:u0**************@TK2MSFTNGP15.phx.gbl...
i've already used static fuction to make website
i wanna common module that's why i used static fuctions.
may be it's more than 100 fuction ...is it ok?

Nov 20 '05 #4

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

Similar topics

1
by: Szaki | last post by:
I use a BulkLoad to import file.xml to my base MS Server 2000. To import this xml file I need schema file. Mayby you know how to do this file mechanicy f.g. mayby somebody have some script in .net...
10
by: Not Available | last post by:
On the host server: namespace JCart.Common public class JCartConfiguration : IConfigurationSectionHandler private static String dbConnectionString; public static String ConnectionString { get...
4
by: Gee | last post by:
I'm new to csharp and in other languages I used I have had a standard set of useful function like QuoteString DeQuoteString which are used all over the place. Creating a class everything I want to...
5
by: SemSem | last post by:
when i was usong c++ idont have to put static before tha function that i want to acces but in c# i have to but it . ex : ihave a function called add(int x,int y) i have to put static int...
0
by: mike | last post by:
i make some fuction and then i want to use this into the ImageButton not behind code , just html page. for example, i make GoManager.GoBoardWrite() static fucntion and then <asp:ImageButton...
3
by: Umesh | last post by:
What is the use by making function Static.
1
by: jacuna | last post by:
the ______ keyword is used in a fuction header to indicate that a function does not return a value or to indicate that a function cotains no parameters
2
by: DaTurk | last post by:
Hi, I have an interesting issue, well, it's not really an issue, but I'd like to understand the mechanics of what's going on. I have a file, in CLI, which has a class declared, and a static...
1
by: christian.bau | last post by:
On Oct 9, 6:49 pm, regis <regis.barbanc...@free.frwrote: C99 Standard draft 6.7.4.3: "An inline definition of a function with external linkage shall not contain a definition of a modifiable...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.