Hacker Newsnew | past | comments | ask | show | jobs | submit | ijoshua's commentslogin

> Where can you point me to "better documentation than PHP"? This is a major difficulty for new people getting into Python-- the documentation is really quite poor and out-dated.

I disagree that the Python documentation is poor or out-dated. However, it is fragmented in what could be considered a confusing manner. I’ve often been searching for a particular piece of documentation, wondering if I should be looking in the tutorial, the library reference, or the language reference.


Python‘s way of accomplishing this is as easy, although the use of `locals` should indicate that this isn’t generally something you should be doing:

    post = {'name': 'ijoshua', 'email': 'spam@example.com', 'extra': 'data'}
    
    filter = ['name', 'email']
    
    for k in filter: locals()[k] = post[k]
    
    print name, email


I don’t know the details of the compiler, but the negation operator on int objects also has a corresponding method: `__neg__`

-1 == (1).__neg__()


Principia Discordia; or How I Found Goddess and What I Did to Her When I Found Her


See those arrows? That’s human moderation. Just don’t click on the up arrow if you think it’s spam.


The privacy implications and “unintended consequences” of participating in Facebook are shocking.


The patent appears to predate PLTaEURXs work.


"The patent appears to predate PLTaEURXs work."

Boy, that extra character support sure would've come in handy. :P


It was an apostrophe, but since Arc doesnaEURXt support Unicode, fuck it.


What kind of keyboard do you use that has an actual apostrophe on it? Or do you go out of your way to use Markdown (or something) to clean your input before submitting? Just curious...


I'm scared to think, but there might be a Firefox extension that embeds Word into text fields...


there is, its called "its all text". It works for any text editor, actually.


option-shift-] on the Mac does a proper apostrophe.


How did you arrive at these conclusions? Did you use some programmatic analysis of CL source code to report these stats? Which codebases were your reference?


Yes. I used all the CL and Scheme source of my own that I could find, and I also asked Ken Anderson to analyze some big collection of CL (I think it was) code at BBN.



I looked at it very briefly. The codebase is actually pretty small. It appears to depend heavily on memcached.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: