Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Namespaces

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?

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.

Name: Anonymous 2009-07-06 11:33

If you want an example of why namespaces are important try PHP for a while.

Name: Anonymous 2009-07-06 11:48

>>3
while.
stopped reading right there

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.

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.

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.

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.

Name: Anonymous 2010-11-27 9:01

Name: Anonymous 2010-12-10 8:20

Don't change these.
Name: Email:
Entire Thread Thread List