News for hackers. Stuff that matters.
Re:Python: Making ctypes Structures Beautiful by densh on Thursday July 12, 2012 @01:25PM (#4235562)
People never seem to fully understand namespaces. You don't need any additional prefixes for classes and functions inside of your module. Its name already does separate it from everything else. Moreover "from module import *" is evil. Period.

import newstruct as ns

...

x = ns.long()

Re:Python: Making ctypes Structures Beautiful by DeepDuh on Thursday July 12, 2012 @11:49PM (#4238145)
Makes me think.. is the NS prefix in cocoa frameworks short for "newstruct"? I always wondered about that one.
Re:Python: Making ctypes Structures Beautiful by spleeyah on Friday July 13, 2012 @01:42AM (#4238397)

    > Cocoa classes begin with the acronym "NS" (standing either for the
    > NeXT-Sun creation of OpenStep, or for the original proprietary term
    > for the OpenStep framework, NeXTSTEP)
http://en.wikipedia.org/wiki/Cocoa_(API)#Cocoa_history