DEV Community

Discussion on: Explain variables in programming like I'm five

Collapse
 
lpasqualis profile image
Lorenzo Pasqualis

A variable is a box with a name and commitment problems.

Collapse
 
michael profile image
Michael Lee 🍕

Thanks Lorenzo for answering :) Was curious what you meant by commitment problems?

Collapse
 
lpasqualis profile image
Lorenzo Pasqualis

It was just a joke :) Since a variable can change value, the box is not committed to its content :)