How are name spaces different than prefixing every variable name with your library/organisation name? With current editing tools (powerful search and replace), they are one and the same.
Name:
Anonymous2018-08-22 13:09
namespaces mean that you don't have to do it manually
Name:
Anonymous2018-08-22 13:14
if there are no namespaces, it's not enough that you add prefixes, you must make sure that everyone else does. it also more or less solves the 'multiple import' problem without the need for C's #ifndef hack. of course, the better way of solving that problem is importing structured data instead of source code text, but you can have both
Name:
Anonymous2018-08-22 13:32
Unix was created without namespaces. Somehow an OS powerful enough to enable shitpoasting on \prog\ can be written in barebones C.
Name:
Anonymous2018-08-22 13:38
>>1 so you're proposing that people only use one namespace because you don't like the concept of multiple namespaces?
what about scope?
would you want people to have nestedLoopIterator instead of i to avoid collisions?
remember that the term ``rootkit'' originated from unix malware from back in the day (a kit for getting root user access on unix), since unix was the first insecure OS to embrace networking
Name:
Anonymous2018-08-22 13:42
>>4 unix doesn't include third-party libraries. you don't really need namespaces when you control all the code
Name:
Anonymous2018-08-22 13:47
>>7 nobody controls all the code on their devices anymore
>>8 this is irrelevant to the topic of namespaces though, as hidden minix or other shit doesn't clash with non-namespaced source code the way included libraries do
Name:
Anonymous2018-08-22 15:27
Back in my day we only had 256 global variables with no scope and we liked it!
you are never fully secure or in control of your computer when your CPU is running who knows what kind of code, which has proven to be insecure
the ``management engine'' might be benign, or maybe it's up to no good
nothing you do within such a system can be trusted
Name:
Anonymous2018-08-22 15:44
If I were an evil government, I'd force Intel to make their minix-based management engine (that runs on the CPU regardless of the OS or UEFI) to inject compiler backdoors into the user's OS, so that any code they compile would have a unique identifying string in it, so that they can be doxxed if they make malware or some shit
it would be similar to a MAC address in the sense that it would be a unique hardcoded combination, corresponding to something physical (in this case, a CPU)
there are many other ways it could be misused
think of all the possibilities
I'm an ideas man
Name:
Anonymous2018-08-22 23:58
Proper namespaces are functions: (define (mynamespace f) (cond ((eq? f 'anus) (lambda (x) (x x))) ((eq? f 'snake) (lambda (x) x)) (#t (error ";_;")))
Use as: ((mynamespace 'anus) (mynamespace 'anus)) ((mynamespace 'snake) 1)