You are viewing a single thread.
View all comments View context
15 points

There’s no ISO standardized definition for variable. People use that word with all kinds of meaning.

permalink
report
parent
reply
18 points

Waaaait a minute… isn’t it called a variable because the contents are, you know, variable?

permalink
report
parent
reply
4 points

It started as a variable, then ended as a constant.

permalink
report
parent
reply
11 points

This is needlessly obtuse. The definition of the word is that it’s non-constant. There isn’t an ISO definition of the word no, but there are many reputable dictionaries out there that will serve as an alternative.

permalink
report
parent
reply
3 points

Well, starting with the definition from algebra, where it’s not something allowed to vary…

I guess more people know about math than use imperative programing languages.

permalink
report
parent
reply
2 points
*

Except that’s exactly what it is allowed to in algebra.

Sure, in most equations you solve in early algebra school there is only one possible value for the variables. But in many equations there can be multiple, or even infinite. It’s an unknown, and the contents can vary (depending on other constraints, ie. The rest of the equation(s)).

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.3K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments