{"id":337,"date":"2014-05-12T10:07:45","date_gmt":"2014-05-12T15:07:45","guid":{"rendered":"http:\/\/microgecko.com\/binnacle\/?p=337"},"modified":"2014-05-20T22:15:49","modified_gmt":"2014-05-21T03:15:49","slug":"%c2%bfque-tipo-de-programador-eres","status":"publish","type":"post","link":"https:\/\/microgecko.isi.com.mx\/?p=337","title":{"rendered":"\u00bfque tipo de programador eres?"},"content":{"rendered":"<h2><span style=\"color: #ff0000;\">Antes de la escuela:<\/span><\/h2>\n<p>10 PRINT &#8220;HELLO WORLD&#8221;<br \/>\n20 END<\/p>\n<h2><span style=\"color: #ff0000;\">Primer a\u00f1o en la batiz:<\/span><\/h2>\n<p>program Hello(input, output)<br \/>\nbegin<br \/>\nwriteln(&#8216;Hello World&#8217;)<br \/>\nend.<\/p>\n<h2><span style=\"color: #ff0000;\">Segundo a\u00f1o en la batiz:<\/span><\/h2>\n<p>(defun hello<br \/>\n(print<br \/>\n(cons &#8216;Hello (list &#8216;World))))<\/p>\n<h2><span style=\"color: #ff0000;\">Reci\u00e9n egresado:<\/span><\/h2>\n<p>#include<\/p>\n<p>void main(void)<br \/>\n{<br \/>\nchar *message[] = {&#8220;Hello &#8220;, &#8220;World&#8221;};<br \/>\nint i;<br \/>\nfor(i = 0; i &lt; 2; ++i)<br \/>\nprintf(&#8220;%s&#8221;, message[i]);<br \/>\nprintf(&#8220;\\n&#8221;);<br \/>\n}<\/p>\n<h2><span style=\"color: #ff0000;\">Con experiencia:<\/span><\/h2>\n<p>#include<br \/>\n#include<br \/>\nclass string<br \/>\n{<br \/>\nprivate:<br \/>\nint size;<br \/>\nchar *ptr;<br \/>\npublic:<br \/>\nstring() : size(0), ptr(new char(&#8216;\\0&#8217;)) {}<br \/>\nstring(const string &amp;s) : size(s.size)<br \/>\n{<br \/>\nptr = new char[size + 1];<br \/>\nstrcpy(ptr, s.ptr);<br \/>\n}<br \/>\n~string()<br \/>\n{<br \/>\ndelete [] ptr;<br \/>\n}<br \/>\nfriend ostream &amp;operator &lt; string &amp;operator=(const char *);<br \/>\n};<\/p>\n<p>ostream &amp;operator&lt;{<br \/>\nreturn(stream &lt;&lt; s.ptr);<br \/>\n}<br \/>\nstring &amp;string::operator=(const char *chrs)<br \/>\n{<br \/>\nif (this != &amp;chrs)<br \/>\n{<br \/>\ndelete [] ptr;<br \/>\nsize = strlen(chrs);<br \/>\nptr = new char[size + 1];<br \/>\nstrcpy(ptr, chrs);<br \/>\n}<br \/>\nreturn(*this);<br \/>\n}<br \/>\nint main()<br \/>\n{<br \/>\nstring str;<br \/>\nstr = &#8220;Hello World&#8221;;<br \/>\ncout &lt;&lt; str &lt;&lt; endl;<br \/>\nreturn(0);<br \/>\n}<\/p>\n<h2><span style=\"color: #ff0000;\">Administrador de Sistemas<\/span><\/h2>\n<p>#include<br \/>\n#include<br \/>\nmain()<br \/>\n{<br \/>\nchar *tmp;<br \/>\nint i=0;<br \/>\n\/* on y va bourin *\/<br \/>\ntmp=(char *)malloc(1024*sizeof(char));<br \/>\nwhile (tmp[i]=&#8221;Hello Wolrd&#8221;[i++]);<br \/>\n\/* Ooopps y&#8217;a une infusion ! *\/<br \/>\ni=(int)tmp[8];<br \/>\ntmp[8]=tmp[9];<br \/>\ntmp[9]=(char)i;<br \/>\nprintf(&#8220;%s\\n&#8221;,tmp);<br \/>\n}<\/p>\n<h2><span style=\"color: #ff0000;\">Hacker reci\u00e9n iniciado:<\/span><\/h2>\n<p>#!\/usr\/local\/bin\/perl<br \/>\n$msg=&#8221;Hello, world.\\n&#8221;;<br \/>\nif ($#ARGV &gt;= 0) {<br \/>\nwhile(defined($arg=shift(@ARGV))) {<br \/>\n$outfilename = $arg;<br \/>\nopen(FILE, &#8220;&gt;&#8221; . $outfilename) || die &#8220;Can&#8217;t write $arg: $!\\n&#8221;;<br \/>\nprint (FILE $msg);<br \/>\nclose(FILE) || die &#8220;Can&#8217;t close $arg: $!\\n&#8221;;<br \/>\n}<br \/>\n} else {<br \/>\nprint ($msg);<br \/>\n}<br \/>\n1;<\/p>\n<h2><span style=\"color: #ff0000;\">Hacker Experimentado:<\/span><\/h2>\n<p>#include<br \/>\n#include<br \/>\n#define S &#8220;Hello, World\\n&#8221;<br \/>\nmain(){exit(printf(S) == strlen(S) ? 0 : 1);}<\/p>\n<p>Seasoned Hacker<\/p>\n<p>% cc -o a.out ~\/src\/misc\/hw\/hw.c<br \/>\n% a.out<br \/>\nHello, world.<\/p>\n<h2><span style=\"color: #ff0000;\">Gur\u00fa:<\/span><\/h2>\n<p>% cat<br \/>\nHello, world.<\/p>\n<h2><span style=\"color: #ff0000;\">Nuestro administrador de sistemas (el recomendado)<\/span><\/h2>\n<p>10 PRINT &#8220;HELLO WORLD&#8221;<br \/>\n20 END<\/p>\n<h2><span style=\"color: #ff0000;\">Lider de proyecto<br \/>\n<\/span><\/h2>\n<p>mail -s &#8220;Hello, world.&#8221; bob@b12<br \/>\nBob, could you please write me a program that prints &#8220;Hello, world.&#8221;?<br \/>\nI need it by tomorrow.<br \/>\n^D<\/p>\n<h2><span style=\"color: #ff0000;\">Gerente de Sistemas:<\/span><\/h2>\n<p>% zmail jim<br \/>\nI need a &#8220;Hello, world.&#8221; program by this afternoon.<\/p>\n<h2><span style=\"color: #ff0000;\">Experto en venta de tecnolog\u00eda:<\/span><\/h2>\n<p>% letter<br \/>\nletter: Command not found.<br \/>\n% mail<br \/>\nTo: ^X ^F ^C<br \/>\n% help mail<br \/>\nhelp: Command not found.<br \/>\n% damn!<br \/>\n!: Event unrecognized<br \/>\n% logout<\/p>\n<h2><span style=\"color: #ff0000;\">Investigador Cient\u00edfico:<\/span><\/h2>\n<p>PROGRAM HELLO<br \/>\nPRINT *, &#8216;Hello World&#8217;<br \/>\nEND<\/p>\n<h2><span style=\"color: #ff0000;\">Investigador cient\u00edfico de la vieja escuela:<\/span><\/h2>\n<p>WRITE (6, 100)<br \/>\n100 FORMAT (1H ,11HHELLO WORLD)<br \/>\nCALL EXIT<br \/>\nEND<\/p>\n<p><a href=\"http:\/\/www.gnu.org\/fun\/jokes\/helloworld.html\"><br \/>\n<\/a><\/p>\n<p><a href=\"http:\/\/www.gnu.org\/fun\/jokes\/helloworld.html\"><br \/>\n<\/a><\/p>\n<p><a href=\"http:\/\/www.gnu.org\/fun\/jokes\/helloworld.html\">Source:<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Antes de la escuela: 10 PRINT &#8220;HELLO WORLD&#8221; 20 END Primer a\u00f1o en la batiz: program Hello(input, output) begin writeln(&#8216;Hello World&#8217;) end. Segundo a\u00f1o en la batiz: (defun hello (print (cons &#8216;Hello (list &#8216;World)))) Reci\u00e9n egresado: #include void main(void) { char *message[] = {&#8220;Hello &#8220;, &#8220;World&#8221;}; int i; for(i = 0; i &lt; 2; ++i) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,8],"tags":[],"_links":{"self":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts\/337"}],"collection":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=337"}],"version-history":[{"count":4,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts\/337\/revisions"}],"predecessor-version":[{"id":345,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=\/wp\/v2\/posts\/337\/revisions\/345"}],"wp:attachment":[{"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microgecko.isi.com.mx\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}