• 0 Posts
  • 117 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle




  • Yeah, a name should describe what it is or does, so if you have two turtles, and let’s say turtle1 wants to shit on turtle2’s lawn, you could name them shittingTurtle and victimTurtle. If the name alone tells you what its purpose is, that saves a lot of time for people looking at your code.

    Is_Turtle is not a bad variable name because it tells you it is a Boolean with “is” and that the Boolean tells you whether something is a turtle or not.

    Also, depending on the language, I suggest either camelCase or snake_case naming of variables. PascalCase is usually for defining classes or in case of C#, methods.



  • Agent 1: “He’s about to type his password. Here we go… 1…2…3…A…B…C”

    Agent 2: “I feel like we could have figured this out with brute-force”

    Agent 1: “Wait! He’s on the move. …no he was just scratching his balls. … Judging from the sound of it, I’d say he hasn’t trimmer his balls for a long time.”

    Agent 2: “The AI picks up at least 15cm long strands, and some breadcrumbs. 50% rye, 50 wheat. Is that nutella and ketchup?”

    Agent 1: “Dear God, what a freak”.

    Agent 2 takes note. “He’s basically a sex offender at this point”

    The future is now.





  • Fair moderation. The biggest problem with the largest instances is that they are heavily skewed towards communist ideals and censorship, and mods will ban you for holding (locally) controversal opinions despite not breaking any rules. And sometimes the rules are too arbitrary and get used as a scapegoat to ban you for your opinion.

    Programming.dev has been a very good example of how moderation should be done, but it is for programmers, thus may not be appealing to the typical user, and they end up on lemmy.ml instead and get banned because the mod was in a bad mood and didn’t like your opinion.