HI,
Can someone tell me if two static hashtables declared with the same name in two different classes will cause ambiguity while acessing in each other classes without refering them with class Name.
vivek_green 0 Newbie Poster
Recommended Answers
Jump to Postand why use public static fields at all?
They're THE worst thing to use in Object Oriented programming, a clear sign that the programmer didn't know the first thing about what she was doing.
Jump to PostLast company I worked we had a banner on the wall reading "the only good global is an eliminated global".
That's how bad public static variables (and to a somewhat lesser degree methods) are.
All 8 Replies
nschessnerd 0 Posting Whiz in Training
vivek_green 0 Newbie Poster
nschessnerd 0 Posting Whiz in Training
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
jwenting 1,905 duckman Team Colleague
vivek_green 0 Newbie Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
jwenting 1,905 duckman Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.