Click here to Skip to main content
15,894,362 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: So how the heck do you explain this? Pin
dbrenth28-May-15 3:27
dbrenth28-May-15 3:27 
AnswerRe: So how the heck do you explain this? Pin
englebart28-May-15 3:27
professionalenglebart28-May-15 3:27 
GeneralRe: So how the heck do you explain this? Pin
GenJerDan28-May-15 3:45
GenJerDan28-May-15 3:45 
GeneralRe: So how the heck do you explain this? Pin
scmtim28-May-15 4:27
scmtim28-May-15 4:27 
GeneralRe: So how the heck do you explain this? Pin
kalberts28-May-15 13:30
kalberts28-May-15 13:30 
GeneralRe: So how the heck do you explain this? Pin
Member 255500628-May-15 4:29
Member 255500628-May-15 4:29 
GeneralRe: So how the heck do you explain this? Pin
James Curran28-May-15 4:43
James Curran28-May-15 4:43 
GeneralRe: So how the heck do you explain this? Pin
SeattleC++28-May-15 4:58
SeattleC++28-May-15 4:58 
Wow, having to describe what a name is to a first-grader. Glad I dodged that bullet. I'm going to assume you wanted a straight answer to this question, so ...

The Alice-in-Wonderland answer below is an awesome answer, but is probably a bit too hard for a first grader. So you could say, "A name is a short word to describe something. We call you Bob (whatever his name is), or Bobby, or sweetie-pie, because it's faster than calling you 'skinny red-headed kid with the lopsided grin and the goofy sense of humor' all the time. Your name isn't you, it's something we say that picks you out of a crowd.

Now 'a' and 'b' are names. They name little boxes in the computer that each can hold a number. There are millions of these little boxes, so we have to give them names to pick them out of the crowd.

When we say 'let a = 2' we are saying, put the number '2' into the box whose name is 'a'. When we say 'c = a + b' we are saying, take the number out of the box named 'a', take the number out of the box named 'b', add the numbers together, and put them in the box named 'c'.

I actually had the grown-up version of this problem when first learning to program. I didn't understand the difference between symbolic constants, where the name actually meant a number, from variables, where the name meant a storage location into which you could put a number. I didn't get why the assembler (yeah, they taught programming using assemblers, what were they thinking) produced an error when I tried to assign a new value to a symbolic constant.

GeneralRe: So how the heck do you explain this? Pin
patbob28-May-15 5:18
patbob28-May-15 5:18 
GeneralRe: So how the heck do you explain this? Pin
nedo_00728-May-15 21:09
nedo_00728-May-15 21:09 
GeneralRe: So how the heck do you explain this? Pin
KP Lee29-May-15 23:23
KP Lee29-May-15 23:23 
GeneralRe: So how the heck do you explain this? Pin
BotReject31-May-15 23:14
BotReject31-May-15 23:14 
GeneralRe: So how the heck do you explain this? Pin
Member 107319441-Jun-15 15:42
Member 107319441-Jun-15 15:42 
GeneralRe: So how the heck do you explain this? Pin
Stefan_Lang3-Jun-15 6:03
Stefan_Lang3-Jun-15 6:03 
GeneralYou don't always get what you pay for Pin
Slacker00727-May-15 1:59
professionalSlacker00727-May-15 1:59 
GeneralRe: You don't always get what you pay for Pin
Johnny J.27-May-15 2:04
professionalJohnny J.27-May-15 2:04 
GeneralRe: You don't always get what you pay for Pin
CDP180227-May-15 2:06
CDP180227-May-15 2:06 
GeneralRe: You don't always get what you pay for Pin
Rage27-May-15 2:13
professionalRage27-May-15 2:13 
GeneralRe: You don't always get what you pay for Pin
Slacker00727-May-15 2:22
professionalSlacker00727-May-15 2:22 
GeneralRe: You don't always get what you pay for Pin
Sascha Lefèvre27-May-15 2:31
professionalSascha Lefèvre27-May-15 2:31 
GeneralRe: You don't always get what you pay for Pin
OriginalGriff27-May-15 2:24
mveOriginalGriff27-May-15 2:24 
GeneralRe: You don't always get what you pay for Pin
Sascha Lefèvre27-May-15 2:32
professionalSascha Lefèvre27-May-15 2:32 
GeneralRe: You don't always get what you pay for Pin
Rage27-May-15 2:33
professionalRage27-May-15 2:33 
GeneralRe: You don't always get what you pay for Pin
OriginalGriff27-May-15 4:35
mveOriginalGriff27-May-15 4:35 
GeneralRe: You don't always get what you pay for Pin
Sascha Lefèvre27-May-15 4:58
professionalSascha Lefèvre27-May-15 4:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.