Beej's Guide to Network Programming
El caso es que desempolvé la carpeta de ANSI C y programación de sockets que tenía por casa. Y me encontré revisando los conceptos de la Beej's Guide to Network Programming. Bastante interesante, por cierto. Y pensaba leerme el libro de C de Kernighan y Ritchie, que me parece uno de los más interesantes. Pero buscando los archivos de la guía de Beej, me encontré con una guía para aprender C.
Genial. En serio. No se yo si sin saber nada de C aprenderás algo de la guía. Supongo que si, porque tiene muy buenas críticas. Pero si sabes C y quieres pegar un repasito sin que se te haga pesado, esta es la guía. La forma en la que está escrita es de trato directo con el lector y llena de comentarios y bromas.
---
1. Foreword
No point in wasting words here, folks, let's jump straight into the C code:
E((ck?main((z?(stat(M,&t)?P+=a+'{'?0:3:
execv(M,k),a=G,i=P,y=G&255,
sprintf(Q,y/'@'-3?A(*L(V(%d+%d)+%d,0)
And they lived happily ever after. The End.
---
Ooooo! Prostrate yourself, mortal, in the face of The Specification!
Ok, maybe I'm being a little too overdramatic here. But I wanted to stress just mildly and subtly, if you might indulge me, that The Specification BWHAHAHA *THUNDERCLAP* (Sorry! Sorry!) is something you should spend time absorbing before your fingers touch the keyboard. Except for checking your mail and reading Slashdot, obviously. That goes without saying.
---
Right now, you might not know any of the pieces that you have at your disposal. That's ok.
The fastest way to learn them is to, right now, press the mouse to your forehead and say the password, "K&R2". That didn't work? Hmmm. There must be a problem with the system somewhere. Ok, we'll do it the old-school way: learning stuff by hand.
---
Excellent question, and we'll get to that right after these messages from our sponsor.
ACME ROBOTIC HOUSING UNIT CLEANING SERVICES. YOUR HOMESTEAD WILL BE DRAMATICALLY IMPROVED OR YOU WILL BE TERMINATED. MESSAGE ENDS.
---
Another name for this section might have been, "Why can't I write a Photoshop clone in half an hour?"
Lots of people when they first start programming become disheartened because they've just spent all this effort to learn this whole programming business and what do they have to show for it: a little text-based program that prints a string that looks like it's some prehistoric throwback to 1979.
---
La verdad es que estoy repasando un montón de forma clara y entretenida. :D
URL: http://beej.us/guide/bgc/output/html/multipage/index.html
Comentarios