Jump to content

  • Log In with Google      Sign In   
  • Create Account


xiaoyunking

Member Since 06 Jul 2009
Offline Last Active Aug 19 2012 06:34 PM

Posts I've Made

In Topic: How to explain Software ?

16 August 2012 - 12:08 AM

The problem with the cooking analogy -- which has always bugged me -- is that there aren't complicated control structures in cooking. Most recipes don't contain loops or conditionals.


The BASIC programming manual that came either with my Atari 800 or TI-99 had a good cooking analogy for loops and conditionals. The example used was continually adding a pinch of salt to a dish and then tasting it until the flavour was correct.

When I was a child in elementary school, my cousin (also my classmate) and I went back to my home after school, and my father was out then, so dicided to make noodles, I added a scoop of salt, then he found it was too salt, and then I add a bowl of water, then I found it was tasteless, he then added a scoop of salt, and I found ...he then added a bowl of water ... then ... at the end, the boiler was full of water and it probablly could serve 10 people.
That is:
while(true)
{
if(salt)
{
add_water();
contiune;
}

if(tasteless)
{
add_salt();
continue;
}
break;
}

In Topic: How to explain Software ?

14 August 2012 - 03:30 AM

I am working in the software department of a printer company (US-Japan Joint, in China), and we are developing embeded softwares for printers, and every time I went back to my hometown, my relatives would like to know what my job was, it's really a headache to explain that, because my hometown is in the rural mountain area, and older people have no idea about computer an printer.

Every time I said "Software is made by computer" or "Software is on the printer's motherboard","You can't touch, but they are there, you can only feel","they are only electrical signals", etc. the more explanation I made, the more confusion they get. :(

In Topic: How to explain Programming?

13 August 2012 - 11:53 PM

Haha, I also have been in such an embarrassed condition.
Once, I was asked by my mother's brother, he is an old farmer in the poor rural area of China, and I worked in the software department of a printer company (US-Japan Joint).
He said "Could you tell me what 's programming and what's software in printer?"
I really don't know how to explain such stuff to a man who even has never seen a computer. I took out my mobile phone, and told him softwares were in my phone, his face showed that he wanted me to disassemble the phone, and take out the "software" ...

PARTNERS