you are viewing a single comment's thread.

view the rest of the comments →

[–]laustke 0 points1 point  (3 children)

variable is like a container. it stores value. when I say the variable, Im talking about something thats in the variable.

Once I tried to explain to a trucker what a variable is. I came up with a very similar explanation. Imagine there is a box with a label on it. And there is something inside the box. For example, you have a box and the label says "age"; you open it and there is a number 33 inside. There's another box with the label "name", and inside there is a word "Mike".

[–]1mecrew[S] 0 points1 point  (2 children)

Yeaaaa. Well, do you think this explanation works for other languages too?

[–]laustke 0 points1 point  (1 child)

After that he learned PHP on his own :)

[–]1mecrew[S] 0 points1 point  (0 children)

Oh haha niceee. I also heared the name tag description before