you are viewing a single comment's thread
view the rest of the comments
[–] 12 points 10 months ago (1 child)

Math nerd to the rescue!

“==“ is either math for constantly equal (there are no situations in which they are different) or programming for boolean equal, aka the question of are these two things equal.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 10 months ago (1 child)
  • [–] 4 points 10 months ago

    Moreover, in programming a single = sets the value on the left to the value on the right, while == (or in some languages ===) means to compare the values (and === is explicit).

    Then there are the various forms of not equal (!=) and greater than/less than or equal ( <=, >= )

  • source
  • parent