Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Reinventing the wheel

by zentara (Archbishop)
on Nov 03, 2011 at 10:32 UTC ( #935627=note: print w/ replies, xml ) Need Help??


in reply to Reinventing the wheel

You never really know how a wheel works, until you tear it apart. I bet you now know more than most about the http protocol, now that you built your own. I think building your own webserver is a great educational exercise, because it exposes you to all the problems involved, and also makes you appreciate the pre-made wheels that are given to us.

I think this also applies to object-oriented programming.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh


Comment on Re: Reinventing the wheel
Re^2: Reinventing the wheel
by cavac (Chaplain) on Nov 03, 2011 at 19:23 UTC

    I bet you now know more than most about the http protocol, now that you built your own.

    I don't claim to know all of http. But the important parts i think i understand, yes.

    I think building your own webserver is a great educational exercise, because it exposes you to all the problems involved, and also makes you appreciate the pre-made wheels that are given to us.

    There are a few quirks in the protocol, but i spend at least half the time wondering why a correctly implemented feature wont work... until i found the correct browser workaround. And not all of the browser bugs are bugs, some are backward compatibility workarounds in the browsers that i now need to workaround in the server. Insert facepalm here

    So, yes, i did learn quite a lot. And on the side, i even got a working product out of it ;-)

    Don't use '#ff0000':
    use Acme::AutoColor; my $redcolor = RED();
    All colors subject to change without notice.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935627]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-12-22 03:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls