4 ms·
Hardly consider using Python to help in "understanding of the underlying software systems". Tired of these pseudo-scientist that are seeking more "fame" than ac
by Elizer0x0309 12y ago
Hardly consider using Python to help in "understanding of the underlying software systems". Tired of these pseudo-scientist that are seeking more "fame" than actually advancing the tech industry. YCombinator seems to get more of this pseudo-engineering upvoted. Time to go to slashdot.
- krylon 12y agoIf you have never done any network programming before, or even little programming experience at all, it is not a bad approach. Python is a nice language, and it has the advantages of being fairly readable and less error-prone than C. Also, keep in mind that the author is working on a book on the subject, and this is most likely an excerpt, or at least a highly condensed version of what the books shows. Hopefully, the book would be a lot more detailed. (Furthermore, if you have written a web server before or are a long time Apache contributor or something like that, you are not the target audience.) That being said, if I had never done any network programming before, I would probably still be slightly confused at the end, because I would not know anything about the socket API. As I have done network programming before, I found myself getting kind of bored quickly. And the really interesting stuff you'd need know for writing a realy web server is not even touched in this part ("Part 1" kind of implies there will be at least one more part) - how do you map URLs to replies? How do you send files or call code dynamically to generate responses (a simple CGI implementation might be interesting for study purposes)? How do you handle multiple concurrent requests?
- noir_lord 12y agohttp://blog.ycombinator.com/new-hacker-news-guideline http://blog.ycombinator.com/new-hacker-news-guideline