I was watching Triple X State of The Union the other day, and in one scene there is this stereotypical college guy wearing a sweater and tie (in general looking like the kind of guy who spent most of his freshman year upside down in a garbage can, toilet or any other assorted place he probably didn’t want his head) who is hacking into the Department of Defenses database. They scroll though all the lovely screens of computers that look like they are doing very impressive stuff, and I thought I saw on one of these screens some C code and since I learnt C this year in school I decided to pause it and go back. Well looks good so far it has the necessary stdio.h library and then what’s this a function definition before a there is a function prototype, and why is there a space in the name of that function, also where are alls those variables coming from. Well the story is if I think that scene was funny I wonder what real hackers think about it.
To finish I will leave you with a joke (specifically programmed for programmers)
main ( ) /*gcc compiler doesn’t demand the voids*/
printf(“A programmer and his wife come out of a supermarket\n”); /*shocking no bars involved*/
printf(“His wife realizes that she forgot to buy something and tells her husband \n”
“to watch the nine bags in their cart. When she comes back out she discovers\nhim messing around with the bags taking them out of the basket then putting\n\ them back in. She asks him what he is doing and he told her that he lost one\nof their bags, he then proceeded to count them 0,1,2,3…”);