.comment-link {margin-left:.6em;}
Hey there, I'm Rowan. I'm currently studying Software Engineering at UTM, and I'm also an IT Entrepreneur. This is my programming blog - you'll find loads of C# stuff in here, as well as MySQL and C tutorials with source. Comments are most welcome.
About Me
I love programming. I clearly spend most of my spare time doing something related to computers. I'm an introverted guy, and I like being alone. My Other Blog(s) and Site(s)Friend sites and blogsMy Recent Posts
Tutorials
Best ArticlesMy C-Sharp IdeasArchivesBlog Directories |
Tuesday, October 18, 2005How I Began Coding
Here's the incredible story of how I began coding ~
I remember my dad coming home with this dark gray box that would flip open - a laptop. That was something quite expensive to have during that time. I was only 5 years old, and the year was 1990. He was working as a photograph-reporter for the Mauritian Sun newspaper, and the laptop belonged to his office. I don't remember much from the computer itself, but I do remember Shamush, and BASICA. My dad taught me my first program. Hello, What is your name? ROWAN Hello ROWAN Fascinating. The ability to make the computer do what I wanted it to do. A few months later, my dad brought home a few books on BASICA. I wasn't reading it - I could barely understand English. I was just copying the examples and executing them. I started by faithfully copying down the code and then ended up modifying almost every number I could find. Thousands became millions, hundreds became zeroes. I just loved it. Windows 95 was out, and my cousin and myself were hooked up on F1GP on my uncle's PC. And on QBasic as well. My cousin Ashvin was two years older than I was, and he had learnt quite a few tricks in programming. I could write a few stuff in QBasic as well, but I couldn't go far without the QBasic Help. I was 10-11, and I started to learn about variables. I was awed to hear about the existence of Arrays, and I heard about compilation. Compiling - the ability to make your own executables. I never wrote any useful program during that time, but I learnt a few batch-file tricks from my cousin. I eventually ended up with my own PC in 1998, and I was off writing useless programs in QBasic. I barely understood the concepts of programming, and I hadn't heard about algorithms yet. I met Arvind during that time. We were in school together, and we became friends. He was the batch-file genius. He had devised countless ways to include programs in batch files and make everything work together. To bad ends. He was mostly up to replacing the good old win.com by funny programs. For the last time in my programming marathon, my dad intervened. He had bought a PC-Format magazine, which contained the full version of Borland Delphi 1. I tried it out, and fell in love with it. The help was pretty bad, but I managed to get a few working examples here and there. I was now working with forms, without having the slightest idea of what an object was, nor about Windows API calls. And the best thing about it was that I could create my own executables! Perfect! Pretty soon, Arvind got his own copy of Delphi and stopped trying to replace win.com with other things. We were off to write **real** programs. I eventually ended up with a modem and 56k internet. That was where I started to learn about characters, boolean values, methods, and also loops. I don't know what went through Arvind's head, but he signed me up for a programming competition. He told the teacher that I was "good". Nope, I wasn't good at all, and I still hadn't tried writing complicated algorithms. I spent some time learning the real pascal, but still failed miserably in the competition, while Arvind got himself a bronze medal. The competition was organised by the DCDM business school, and they held a programming bootcamp for all the participants of their previous competition. That was where I got taught everything I missed in programming. The bootcamp was also the place where I met Dimple, who would become my good friend later on. She was the cutest thing I had ever seen at 16, and the gleaming gold medal she had previously won had left me speechless. After the training camp, Arvind taught me about pointers. I couldn't really understand the purpose of it all, but I still managed to make my own linked list. After a few weeks of practise, I made my own binary tree without any help on Pascal. I was getting better at coding. The competition was held again the next year and I came out sixth with a silver medal. The first four guys were going to be sent to the IOI which was being organised in Finland, and there was a training camp which was being organised for them at the DCDM Business school. I was one of the replacement team members, which allowed me to follow Vik Nuckchady and Sarita Hardin's programming lessons along with the other better guys. The guy who came out first was barely as tall as myself, with his hair in all directions and a fucked up sense of humour. Dominique. That was where I met him, although we didn't really become friends at that time. Programming was becoming more and more part of my life with every passing day. I had learnt about API calls, performance and memory optimization and a whole host of programming tricks designed to mainly impress your friends. The programming competition was held again the next year. I was 17, Arvind 19, and Dominique 18. The day before, Arvind had taught me about the 8-Queen problem, and surprisingly enough, it came out as the final question of the competition. I came out third, Dom first (as usual), and Arvind got himself a silver medal. We were trained and sent off to the IOI which was being held in South Korea. I became friends with Dom in Korea. None of us earned anything at all, but we were still glad to have participated. I lent Dom one of my books on Delphi, and after a few months, he became the Delphi expert. He introduced me to OOP, although I didn't really like the concept. Most of my programs were still straightforward - I would usually kick in everything in one object, never instantiating or destroying anything at all. I kept this style of coding until we found a job. Dom called me up one day, saying that he got an interview for a job for the both of us. I was 18, and Dom 19. The interview went fine, and we were told that we would receive about 8 months of training before we began working on solid projects. The guy who trained us was also our CTO - Cuan brown - or Q. Although I was barely awake in Q's classes, I must admit that he did raise me from the level of n00b to something of a programmer. Q's training wasn't focused only on programming; he was constantly kicking our asses to get us to write good professional code. I was still a Delphi coder during that time, but Cuan (through brutal and sadomaschistic means) made me like C#. This blog, my .NET projects, the programs that I wrote and that are currently running in background, my ASP and ASP.NET pages and even some of the porn I leeched all exist thanks to Q. He kicked my ass and made me work with ASP, forced me to work with CSS and helped me with most of my web-related work. Nowadays, most of the code that I write would bear this faint italicized trace: Q's shoe in my butt while he was exclaiming: "Fucking Muppets Need Fucking Training"
Comments:
hey...Rowy!! Wasssup man???
A man was crossing a road one day when a frog called out to him and said, "If you kiss me, I'll turn into a beautiful princess." He bent over, picked up the frog, and put it in his pocket. The frog spoke up again and said, "If you kiss me and turn me back into a beautiful princess, I will tell everyone how smart and brave you are and how you are my hero." The man took the frog out of his pocket, smiled at it, and returned it to his pocket. The frog spoke up again and said, "If you kiss me and turn me back into a beautiful princess, I will be your loving companion for an entire week." The man took the frog out of his pocket, smiled at it, and returned it to his pocket. The frog then cried out, "If you kiss me and turn me back into a princess, I'll stay with you for a year and do ANYTHING you want." Again the man took the frog out, smiled at it, and put it back into his pocket. Finally, the frog asked, "What is the matter? I've told you I'm a beautiful princess, that I'll stay with you for a year and do anything you want. Why won't you kiss me?" The man said, "Look, I'm a computer programmer. I don't have time for a girlfriend, but a talking frog is cool." Muhammad Ahad!:-)
Hello Rowy:
Check this:-> http://www.iseesharp.net/ ______________________________________________________________________Quel est le fruits que les poissons detestent le plus ? Réponse: la pêche Pourquoi les marchands de savon font-ils fortune ? - Parce que leurs clients les savent honnête. Quelle est la différence entre une femme et une boule de bowling ? On ne peut mettre que 3 doigts dans la boule de bowling. Pourquoi les femmes aiment faire l'amour le matin ? - Pour partir avec quelque chose de chaud dans le ventre. Quelle est la différence entre une usine et une femme ? - L'usine débite des caisses et la femme encaisse des bites M....... A...
Hello Rowy....it's me Muhammad Ahad!!
Wasssup?? ZDNet: Home Page Gamelan Java programming MSDN Online Libraries Inquiry.com - answers for IT professionals Cnet.com whatis.com --------------> cul8r!!
A project manager, a computer programmer and a computer operator are driving down the road when the car they are in gets a flat tire. The three men try to solve the problem.
The project manager said: "Let's catch a cab and in ten minutes we'll reach our destination." The computer programmer said: "We have here the driver's guide. I can easily replace the flat tire and continue our drive." The computer operator said: "First of all, let's turn off the engine and turn it on again. Maybe it will fix the problem." Suddenly a Microsoft software engineer passed by and said: "Try to close all windows, get off the car, and then get in and try again." A Software Engineer, a Hardware Engineer and a Departmental Manager were on their way to a meeting. They were driving down a steep mountain road when suddenly the brakes on their car failed. The car careened almost out of control down the road, bouncing off the crash barriers, until it miraculously ground to a halt scraping along the mountainside. The car's occupants, shaken but unhurt, now had a problem: they were stuck halfway down a mountain in a car with no brakes. What were they to do? "I know," said the Departmental Manager, "Let's have a meeting, propose a Vision, formulate a Mission Statement, define some Goals, and by a process of Continuous Improvement find a solution to the Critical Problems, and we can be on our way." "No, no," said the Hardware Engineer, "That will take far too long, and besides, that method has never worked before. I've got my Swiss Army knife with me, and in no time at all I can strip down the car's braking system, isolate the fault, fix it, and we can be on our way." "Well," said the Software Engineer, "Before we do anything, I think we should push the car back up the road and see if it happens again." Why do programmers always get Christmas and Halloween mixed up? Because DEC 25 = OCT 31 -------------------------------------------------------------------------------- How do you keep a programmer in the shower all day? Give him a bottle of shampoo which says "lather, rinse, repeat." -------------------------------------------------------------------------------- A system programmer came home from work almost at dawn and told his wife enthusiastically: "Tonight I have installed a new release of MVS/ESA together with VM/CMS and CICS/VS". "G.O.O.D" answered his wife. -------------------------------------------------------------------------------- The Programmers' Cheer Shift to the left, shift to the right! Pop up, push down, byte, byte, byte! -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- - "Have you heard about the object-oriennted way to become wealthy?" - "No..." - "Inheritance." -------------------------------------------------------------------------------- If you can touch it and you can see it, it's REAL. If you can touch it but you can't see it, it's TRANSPARENT. If you can't touch it but you can see it, it's VIRTUAL. If you can't touch it and you can't see it, it's GONE. -------------------------------------------------------------------------------- If you can pick it up, it's a PC. If you can't pick it up but you can push it over, it's a minicomputer. But when you can't pick it up or knock it over, it's a mainframe. search390.com -------------------------------------------------------------------------------- Once a programmer drowned in the sea. Many Marines where at that time on the beach, but the programmer was shouting "F1 F1" and nobody understood it. -------------------------------------------------------------------------------- The boy is smoking and leaving smoke rings into the air. The girl gets irritated with the smoke and says to her lover: "Can't you see the warning written on the cigarettes packet, smoking is injurious to health!" The boy replies back: "Darling, I am a programmer. We don't worry about warnings, we only worry about errors." -------------------------------------------------------------------------------- Jack was a COBOL programmer in the mid to late 1990s. After years of being taken for granted and treated as a technological dinosaur by all the Client/Server programmers and website developers, he was finally getting some respect. He'd become a private consultant specializing in Year 2000 conversions. Several years of this relentless, mind-numbing work had taken its toll on Jack. He began having anxiety dreams about the Year 2000. All he could think about was how he could avoid the year 2000 and all that came with it. Jack decided to contact a company that specialized in cryogenics. He made a deal to have himself frozen until March 15th, 2000. The next thing he would know is he'd wake up in the year 2000; after the New Year celebrations and computer debacles; after the leap day. Nothing else to worry about except getting on with his life. He was put into his cryogenic receptacle, the technicians set the revive date, he was given injections to slow his heartbeat to a bare minimum, and that was that. The next thing that Jack saw was an enormous and very modern room filled with excited people. They were all shouting "I can't believe it!" and "It's a miracle" and "He's alive!". There were cameras (unlike any he'd ever seen) and equipment that looked like it came out of a science fiction movie. Someone who was obviously a spokesperson for the group stepped forward. Jack couldn't contain his enthusiasm. "Is it over?" he asked. "Is the year 2000 already here? Are all the millennial parties and promotions and crises all over and done with?" The spokesman explained that there had been a problem with the programming of the timer on Jack's cryogenic receptacle, it hadn't been year 2000 compliant. It was actually eight thousand years later, not the year 2000. Technology had advanced to such a degree that everyone had virtual reality interfaces which allowed them to contact anyone else on the planet. "That sounds terrific," said Jack. "But I'm curious. Why is everybody so interested in me?" "Well," said the spokesman. "The year 10000 is just around the corner, and it says in your files that you know COBOL". APL is a write-only language. In C we had to code our own bugs. In C++ we can inherit them. C gives you enough rope to hang yourself. C++ also gives you the tree object to tie it to. With C you can shoot yourself in the leg. With C++ you can reuse the bullet. A computer without COBOL and Fortran is like a piece of chocolate cake without ketchup and mustard. PL/I is for programmers who can't decide whether to write in COBOL or Fortran. -------------------------------------------------------------------------------- The most important thing in the programming language is the name. A language will not succeed without a good name. I have recently invented a very good name and now I am looking for a suitable language. D. E. Knuth, 1967 -------------------------------------------------------------------------------- Why all Pascal programmers ask to live in Atlantis? Because it is below C level. -------------------------------------------------------------------------------- Have you heared they are developing an Object Oriented version of COBOL? It's called... Bruce Clement, SIGPLAN Notices, 1992 -------------------------------------------------------------------------------- Programming Languages are Like Cars Assembler: A formula I race car. Very fast but difficult to drive and maintain. FORTRAN II: A Model T Ford. Once it was the king of the road. FORTRAN IV: A Model A Ford. FORTRAN 77: a six-cylinder Ford Fairlane with standard transmission and no seat belts. COBOL: A delivery van. It's bulky and ugly but it does the work. BASIC: A second-hand Rambler with a rebuilt engine and patched upholstery. Your dad bought it for you to learn to drive. You'll ditch it as soon as you can afford a new one. PL/I: A Cadillac convertible with automatic transmission, a two-tone paint job, white-wall tires, chrome exhaust pipes, and fuzzy dice hanging in the windshield. C++: A black Firebird, the all macho car. Comes with optional seatbelt (lint) and optional fuzz buster (escape to assembler). ALGOL 60: An Austin Mini. Boy that's a small car. ALGOL 68: An Aston Martin. An impressive car but not just anyone can drive it. Pascal: A Volkswagon Beetle. It's small but sturdy. Was once popular with intellectual types. LISP: An electric car. It's simple but slow. Seat belts are not available. PROLOG/LUCID: Prototype concept cars. FORTH: A go-cart. LOGO: A kiddie's replica of a Rolls Royce. Comes with a real engine and a working horn. APL: A double-decker bus. It takes rows and columns of passengers to the same place all at the same time but it drives only in reverse and is instrumented in Greek. Ada: An army-green Mercedes-Benz staff car. Power steering, power brakes, and automatic transmission are standard. No other colors or options are available. If it's good enough for generals, it's good enough for you. Java: All-terrain very slow vehicle. -------------------------------------------------------------------------------- What is an example of a never halting program? Friedrichs and Magnus in front of an open elevator, each saying "you go first". -------------------------------------------------------------------------------- Why Client Server Computing is like Teenage Sex It is on everybody's mind all the time. Everyone is talking about it all the time. Everyone thinks everyone else is doing it. Almost no one is really doing it. The few who are doing it are: doing it poorly; sure it will be better next time; not practicing it safely. -------------------------------------------------------------------------------- Life Before the Computer An application was for employment A program was a TV show A cursor used profanity A keyboard was a piano! Memory was something that you lost with age A CD was a bank account And if you had a 3 ½ inch floppy You hoped nobody found out! Compress was something you did to garbage Not something you did to a file And if you unzipped anything in public You'd be in jail for awhile! Log on was adding wood to a fire Hard drive was a long trip on the road A mouse pad was where a mouse lived And a backup happened to your commode! Cut - you did with a pocket knife Paste you did with glue A web was a spider's home And a virus was the flu! I guess I'll stick to my pad and paper And the memory in my head I hear nobody's been killed in a computer crash But when it happens they wish they were dead! -------------------------------------------------------------------------------- There are three kinds of lies: Lies, damned lies, and benchmarks. Paraphrased after a famous saying by Mark Twain -------------------------------------------------------------------------------- Software Development Cycle Programmer produces code he believes is bug-free. Product is tested. 20 bugs are found. Programmer fixes 10 of the bugs and explains to the testing department that the other 10 aren't really bugs. Testing department finds that five of the fixes didn't work and discovers 15 new bugs. Repeat three times steps 3 and 4. Due to marketing pressure and an extremely premature product announcement based on overly-optimistic programming schedule, the product is released. Users find 137 new bugs. Original programmer, having cashed his royalty check, is nowhere to be found. Newly-assembled programming team fixes almost all of the 137 bugs, but introduce 456 new ones. Original programmer sends underpaid testing department a postcard from Fiji. Entire testing department quits. Company is bought in a hostile takeover by competitor using profits from their latest release, which had 783 bugs. New CEO is brought in by board of directors. He hires a programmer to redo program from scratch. Programmer produces code he believes is bug-free... -------------------------------------------------------------------------------- A grade school teacher was asking his pupils what their parents did for a living. "Tim, you be first. What does your mother do all day?" Tim stood up and proudly said, "She's a doctor." "That's wonderful. How about you, Amy?" Amy shyly stood up, scuffed her feet and said, "My father is a mailman." "Thank you, Amy" said the teacher. "What does your parent do, Billy?" Billy proudly stood up and announced, "My daddy plays piano in a whorehouse." The teacher was aghast and went to Billy's house and rang the bell. Billy's father answered the door. The teacher explained what his son had said and demanded an explanation. Billy's dad said, "I'm actually a system programmer specializing in TCP/IP communication protocol on UNIX systems. How can I explain a thing like that to a seven-year-old?" -------------------------------------------------------------------------------- Unix is user friendly. It's just very particular about who it's friends are. A programmer was walking along the beach when he found a lamp. Upon rubbing the lamp a genie appeared who stated "I am the most powerful genie in the world. I can grant you any wish you want, but only one wish." The programmer pulled out a map of the Mediterranean area and said "I'd like there to be a just and last peace among the people in the middle east." The genie responded, "Gee, I don't know. Those people have been fighting since the beginning of time. I can do just about anything, but this is beyond my limits." The programmer then said, "Well, I am a programmer and my programs have a lot of users. Please make all the users satisfied with my programs, and let them ask sensible changes" Genie: "Uh, let me see that map again." -------------------------------------------------------------------------------- All programmers are playwrights and all computers are lousy actors. -------------------------------------------------------------------------------- They say that the new super computer knows everything. A skeptical man came and asked the computer, "Where is my father?" The computer bleeped for a short while, and then came back with "Your father is fishing in Michigan." The skeptical man said triumphantly, "You see? I knew this was nonsense. My father has been dead for twenty years." "No", replied the super computer immediately. "Your mother's husband has been dead for twenty years. Your father just landed a three pound trout." -------------------------------------------------------------------------------- The programmer to his son: "Here, I brought you a new basketball." "Thank you, daddy, but where is the user's guide?" -------------------------------------------------------------------------------- The problem with physicists is that they tend to cheat in order to get results. The problem with mathematicians is that they tend to work on toy problems in order to get results. The problem with program verifiers is that they tend to cheat at toy problems in order to get results. -------------------------------------------------------------------------------- A software verifier read in the Bible that God protects all fools, and decided to test it empirically. He jumped out of the window and broke a leg. There he lies, writhing in pain, and happily thinks: "I never really considered myself a fool, but I never knew I was THAT clever!" -------------------------------------------------------------------------------- In the beginning God created the Bit and the Byte. And from those he created the Word. And there were two Bytes in the Word; and nothing else existed. And God separated the One from the Zero; and he saw it was good. And God said - Let the Data be; And so it happened. And God said - Let the Data go to their proper places. And he created floppy disks and hard disks and compact disks. And God said - Let the computers be, so there would be a place to put floppy disks and hard disks and compact disks. Thus God created computers and called them hardware. And there was no Software yet. But God created programs; small and big... And told them - Go and multiply yourselves and fill all the Memory. And God said - I will create the Programmer; And the Programmer will make new programs and govern over the computers and programs and Data. And God created the Programmer; and put him at Data Center; And God showed the Programmer the Catalog Tree and said You can use all the volumes and subvolumes but DO NOT USE Windows. And God said - It is not Good for the programmer to be alone. He took a bone from the Programmer's body and created a creature that would look up at the Programmer; and admire the Programmer; and love the things the Programmer does; And God called the creature: the User. And the Programmer and the User were left under the naked DOS and it was Good. But Bill was smarter than all the other creatures of God. And Bill said to the User - Did God really tell you not to run any programs? And the User answered - God told us that we can use every program and every piece of Data but told us not to run Windows or we will die. And Bill said to the User - How can you talk about something you did not even try. The moment you run Windows you will become equal to God. You will be able to create anything you like by a simple click of your mouse. And the User saw that the fruits of the Windows were nicer and easier to use. And the User saw that any knowledge was useless - since Windows could replace it. So the User installed the Windows on his computer; and said to the Programmer that it was good. And the Programmer immediately started to look for new drivers. And God asked him - What are you looking for? And the Programmer answered - I am looking for new drivers because I can not find them in the DOS. And God said - Who told you need drivers? Did you run Windows? And the Programmer said - It was Bill who told us to ! And God said to Bill - Because of what you did you will be hated by all the creatures. And the User will always be unhappy with you. And you will always sell Windows. And God said to the User - Because of what you did, the Windows will disappoint you and eat up all your Resources; and you will have to use lousy programs; and you will always rely on the Programmers help. And God said to the Programmer - Because you listened to the User you will never be happy. All your programs will have errors and you will have to fix them and fix them to the end of time. And God threw them out of the Data Center and locked the door and secured it with a password. GENERAL PROTECTION FAULT -------------------------------------------------------------------------------- CIA - Computer Industry Acronyms CD-ROM: Consumer Device, Rendered Obsolete in Months PCMCIA: People Can't Memorize Computer Industry Acronyms ISDN: It Still Does Nothing SCSI: System Can't See It MIPS: Meaningless Indication of Processor Speed DOS: Defunct Operating System WINDOWS: Will Install Needless Data On Whole System OS/2: Obsolete Soon, Too PnP: Plug and Pray APPLE: Arrogance Produces Profit-Losing Entity IBM: I Blame Microsoft DEC: Do Expect Cuts MICROSOFT: Most Intelligent Customers Realize Our Software Only Fools Teenagers CA: Constant Acquisitions COBOL: Completely Obsolete Business Oriented Language LISP: Lots of Insipid and Stupid Parentheses MACINTOSH: Most Applications Crash; If Not, The Operating System Hangs AAAAA: American Association Against Acronym Abuse. WYSIWYMGIYRRLAAGW: What You See Is What You Might Get If You're Really Really Lucky And All Goes Well. -------------------------------------------------------------------------------- Murphy's Laws of Computing When computing, whatever happens, behave as though you meant it to happen. When you get to the point where you really understand your computer, it's probably obsolete. The first place to look for information is in the section of the manual where you least expect to find it. When the going gets tough, upgrade. For every action, there is an equal and opposite malfunction. He who laughs last probably made a back-up. A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. The number one cause of computer problems is computer solutions. A computer program will always do what you tell it to do, but rarely what you want to do. -------------------------------------------------------------------------------- Ten Commandments for Stress Free Programming Thou shalt not worry about bugs. Bugs in your software are actually special features. Thou shalt not fix abort conditions. Your user has a better chance of winning state lottery than getting the same abort again. Thou shalt not handle errors. Error handing was meant for error prone people, neither you or your users are error prone. Thou shalt not restrict users. Don't do any editing, let the user input anything, anywhere, anytime. That is being very user friendly. Thou shalt not optimize. Your users are very thankful to get the information, they don't worry about speed and efficiency. Thou shalt not provide help. If your users can not figure out themselves how to use your software than they are too dumb to deserve the benefits of your software anyway. Thou shalt not document. Documentation only comes in handy for making future modifications. You made the software perfect the first time, it will never need modifications. Thou shalt not hurry. Only the cute and the mighty should get the program by deadline. Thou shalt not revise. Your interpretation of specs was right, you know the users' requirements better than them. Thou shalt not share. If other programmers needed some of your code, they should have written it themselves. Drug Dealers and Software Engineers - A Comparison Drug Dealers Software Engineers "The first one is free" "Download a free trial version" Have important South-Asia connections (to help move the stuff) Have important South-Asia connections (to help debug the code) Strange jargon: "Stick", "Rock", "Dime bag", "E" Strange jargon: "TCP/IP", "XML", "Java", "SQL" Realize that there's a ton of cash in the 14- to 25-year-old market Realize that there's a ton of cash in the 14- to 25-year-old market Job is assisted by industry's producing newer, more potent mixes Job is assisted by industry's producing newer, faster machines Often seen in the company of pimps and hustlers Often seen in the company of marketing people and venture capitalists Their products cause unhealthy addictions. DOOM. Quake. SimCity. Duke Nukem 3D.; Enough said. Do your job well and you can sleep with sexy movie stars who depend on you Damn! Damn! DAMN! Real software engineers... Real software engineers don't read dumps. They never generate them, and on the rare occasions that they come across them, they are vaguely amused. Real software engineers don't comment their code. The identifiers are so mnemonic they don't have to. Real software engineers don't write applications programs, they implement algorithms. Real software engineers don't program in a language that doesn't have recursive function calls. Real software engineers don't debug programs, they verify correctness. Real software engineers like C's structured constructs, but they are suspicious of it because they have heard that it lets you get "close to the machine." Real software engineers admire PASCAL for its discipline and spartan purity, but they find it difficult to actually program in. Real software engineers work from 9 to 5, because that is the way the job is described in the formal spec. Working late would feel like using an undocumented external procedure. Real software engineers like writing their own compilers, preferably in PROLOG. Real software engineers regret the existence of COBOL, FORTRAN and BASIC. PL/I is getting there, but it is not nearly disciplined enough; far too much built in functions. Real software engineers aren't too happy about the existence of users. Users always seem to have the wrong idea about what the implementation and verification of algorithms is all about. -------------------------------------------------------------------------------- Programming Revisited Windows 95 is a 32 bit extension for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor by a 2 bit company that can't stand 1 bit of competition. Have you heard about the new Cray super computer? It's so fast, it executes an infinite loop in 6 seconds. If God had intended Man to program, we would be born with serial I/O ports. The generation of random numbers is too important to be left to chance. The computer is mightier than the pen, the sword, and usually, the programmer. The determined programmer can write a COBOL program in any language. Every program is either trivial or it contains at least one bug. Al-gor-ithm" means "The unscrupulous technique of continuing to count and re-count until you get the result you want." (Sent by Gary Gilmore) Don't get sucked in by comments--only debug code. If cars had followed the same developmental path as computers, a Rolls Royce would cost $100, get a million miles per gallon, and crash once a year. If builders built buildings the way programmers write programs, then the first woodpecker to come along would destroy civilization. Demo-oriented programming: A programming style, typically used by startups, focusing on the demo of the program being developed, so it will easily catch the prospective investor. -------------------------------------------------------------------------------- How programmers do it... Programmers do it byte by byte. Programmers do it with bytes and nibbles. Programmers try to do it again and again. Programmers do it with acronyms. Programmers do it by computer simulation. Programmers do it according to the specifications. Programmers do it over and over until they get it right. Ada programmers do it by committee. ALGOL 68 programmers do it od. APL programmers do it in a line. Assembler programmers do it a bit at a time. C++ programmers do it with class. Fortran programmers do it with double precision. LISP (programmers (do (it (with (parentheses))))). Logo programmers do it for an educational experience. Prolog programmers do it artificially. Smalltalk programmers have more methods. System programmers do it with interrupts. -------------------------------------------------------------------------------- You Might Be a Programmer if... you lust for O'Reilly books. you know that "goto considered harmful". you are looking for the "else" at the end of this joke. you believe that making a wrong program worse is no sin. every combination of three letters is a meaningful acronym for you. when you are counting objects, you go "0,1,2,3,4,5,6,7,8,9,A,B,C,D...". you can remember seventeen computer passwords but not your anniversary. you are sure that the year 2000 is a leap year, and know why it is dangerous. you start laughing hysterically when the topic of computer reliability is brought up. you go to balance your checkbook and discover that you're doing the math in hexadecimal. the language you are best speaking is English, but the language you are best writing is Java. on vacation, you are reading a computer manual and turning the pages faster than everyone else who is reading John Grisham novels. -------------------------------------------------------------------------------- How many software engineers does it take to change a light bulb? None. "We'll document it in the manual." None. It's a hardware problem. 1.000000001. Two. One always leaves in the middle of the project. Four. One to design the change, one to implement it, one to document it, and one to maintain it afterwards. Four, plus one senior analyst to manage the project, one technical writer to correct the spelling and grammar of the one who documented it, one light bulb librarian, a sales-force of at least five to drum up enough users who want to turn the light on, 274 users to burn out the new bulb, at which point we go to tender for another light bulb change,... Five. Two to write the specification program, one to screw it in, and two to explain why the project was late. Only one, but she's not available till the year 2000. "The change is 90% complete." "It's hard to say. Each time we separate the bulb into its modules to do unit testing, it stops working." Of course, as everyone knows, just five years ago all it took was a bunch of kids in a garage in Palo Alto to change a light bulb. How many maintenance programmers does it take to change a light bulb? None. They try to fix the old one. "We looked at the light fixture and decided there's no point trying to maintain it. We're going to rewrite it from scratch. Could you wait two months?" How many software testers does it take to change a light bulb? None. "We just recognized darkness, fixing it is someone else's problem." How many C++ programmers does it take to change a light bulb? "You're still thinking procedurally! A properly designed light bulb object would inherit a change method from a generic light bulb class!" How many Java programmers does it take to change a light bulb? One, to generate a "ChangeLightBulb" event to the socket. How many Windows programmers does it take to change a light bulb? Seventy two. One to write WinGetLightBulbHandle, one to write WinQueryStatusLightBulb, one to write WinGetLightSwitchHandle ... How many data base people does it take to change a light bulb? Three: One to write the light bulb removal program, one to write the light bulb insertion program, and one to act as a light bulb administrator to make sure nobody else tries to change the light bulb at the same time. How many IBM employees does it take to change a light bulb? Fifteen. Five to do it, and ten to write document number GC7500439-001, Multitasking Incadescent Source System Facility, of which 10% of the pages state only "This page intentionally left blank". How many technical writers does it take to change a light bulb? Just one, provided there's a programmer around to explain how to do it. Muhammad Ahad
ck said...
great discourse..really...no wonder people "fall" in love and not rise... good that you haven't fallen yet...not even for the fake thing...lol 11:19 PM cerisecarnations said... @ck yep ..sometimes ppl say the most ridiculous things abt love ..and they say it with such authority as if they were cupid themselves...but then again what is life without the a sense of insanity in it ;-) 11:35 PM Radhika said... love is an interchangeable synonym for words like attraction, affection etc...in today's world...the only love left is perhaps of a mother to a child..and i hv seen that dying out too! :( wish people really knew what they meant when they uttered this word! and u can buy attention..not love! 12:58 AM Bhagya said... ROTFL Just Amazing. You know what CC you remind me of my younger days. I just love to read your blog. 1:11 AM AakASH!!! said... This is quite a dissection of a befallen guy's psyche. for the bechaara fallen in love people. All should read your analysis! 2:35 AM Seema said... loved the gyan, especially the food for thought. You know exactly what you want lady, just take your time before you 'fall' and then enjoy and prove the gf-bf theory wrong he he he. 3:46 AM cerisecarnations said... @rads..i agree ..people use the term so loosely ..it quite insulting 3:56 AM cerisecarnations said... @bhagya ...hey thanks ..;-).me love ur blog too.. 3:56 AM cerisecarnations said... @akaash.....well i am not saying there arent people who are really in love...but most of the people arent and wuld like to believe that they are...i think real love is when you have no words to say just emotions to feel...speechless silent strong and all consuming 3:58 AM cerisecarnations said... @seema ..yea seema ...i will .i dont wanna end up with someone who i am not sure of after marraige ;-) 3:59 AM godolphin said... aloha CC..ahaa..nice one..esp the gyan.. well i think i wasted[did i??] not being in love..or maybe jus somewhere near it.. 4:58 AM AakASH!!! said... Well as they say, Love is a want to be wanted by someone. And yes most of the times it is just a make believe... And well i think what i wrote on 'aksar', can be called a song cant it? I can definitely put it to rhythm. 5:39 AM Flaming Cyanide said... Haaa...love...that is ever present but not visible...are you talking abt the same emotion? 7:09 AM IcEyeZ said... hmmm..many lines were thought provoking...will think more n comment ! :-D 6:20 AM cerisecarnations said... @iceyez were they ?;-)..well good to knw i make enuff sense or non sense to provoke thoughts in ppl ..i have lived my life ..sigh..hey wait what abt my dram of making millions..ok i havent lived my life ;D 4:50 PM
kee said...
Post a Comment
we should eat something turkey-related on thanksgiving. 02:18 jorge said... doesn't ken already have these?? 02:23 kee said... ken??????? wtf. where the heck have you been g? she's not dating ken anymore. 02:24 JORGE said... WHAT? WHEN DID THIS HAPPEN? NOBODY TOLD ME. WHEN WHEN WHEN? they still cant make it after all these time??? 12 years omanoman 02:26 jorge said... wait, who is k then? do i know him? 02:26 kee said... austin's cousin. the tennis boy remember? 02:28 jorge said... the tv guy?? 02:29 kee said... right on. 02:30 jon said... smoking too much crack lately jorge? can't think of any reason why you re so slow 12:31 Rowan, i've spotted you at Rose-Hill Saturday. Muhammad Ahad Links to this post: << Home
|