Monkey Island Fan - IT Specialist, Developer, Nurse, Sports fan, Gamer, Indie Developer and Board Game Enthusiast.

  • 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • Most programming languages uses = to copy a value into whatever whatever you put on the left side. You did it with TooClose, which you set to true.

    But when you compare values as you do with the if statement, you need another operator, otherwise CanReadThis will be set to true and the if statement will always run (or syntax error), making it unnecessary.

    Compare operators are typically == and/or === and some languages uses their own like ‘eq’ or other exciting ways.

    Languages and compilers works in different ways, but your program could look like this. (When comparing a Boolean you don’t need the operator, you can just write the variable since it’s either true or false)

    If (CanReadThis) { TooClose = true; }






  • One thing that annoys me coming from Reddit is, that there isn’t just one group of each theme. You have for example gaming groups on several instances and you can either chose to subscribe to a number of those or chose the one you like.

    But in the end, one will be the go-to group, and wouldn’t that centralize the most popular groups?

    (Honest question, I’m new to Lemmy and the thoughts behind it)