Namespaces
1
Name:
Anonymous
2009-07-06 9:56
What is the point of namespaces and under what circumstances would it be good practice to implement and not implement them?
2
Name:
Anonymous
2009-07-06 10:19
not implement them?
Loal. You cannot not implement them, there still has to be at least one big namespace.
3
Name:
Anonymous
2009-07-06 11:33
If you want an example of why namespaces are important try PHP for a while.
4
Name:
Anonymous
2009-07-06 11:48
>>3
while.
stopped reading right there
5
Name:
Anonymous
2009-07-06 11:50
It's a mostly useless concept introduced with C++ to make reading code written by other people harder. Just ignore it and stick with C.
6
Name:
Anonymous
2009-07-06 11:53
What is the point of namespaces and under what circumstances would it be good practice to implement and not implement them?
The point is to make it easier for people to use global variables.
7
Name:
Anonymous
2009-07-06 11:55
>>5
Yeah, C++ does them horribly (what didn't Bjarne do wrong), but in other languages I've found them to be pretty useful.
8
Name:
Anonymous
2009-07-06 13:24
>>6
BUT GLOBALS ARE BAD oh wait you mean like functions, okay, that's fine with me. Proceed.
9
Name:
Anonymous
2010-11-27 9:01
11
Name:
Anonymous
2010-12-10 8:20