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

help-circle



  • Being easy to understand is one of the primary goals of any programming languages.

    The problem with Javascript is that it isn’t easy to understand. Javascript is easy to write.

    That’s why it’s easy for novices to pick up and why it ends up being spaghetti code. It’s very unrestrictive and allows writing very poor code that works based on assumptions and breaks when the assumptions aren’t met.

    It made sense at the time because it was just a scripting language for some minor website things, and you didn’t want your site to crash if your script ran into a problem.

    Now it’s being used to write full fledged applications and it’s past design choices are still haunting it.




  • You used to drink 8 liters of regular coke?

    8 liters of water per day already beggars belief. That’s going to the bathroom at least 16 times a day. You’d also need to take electrolyte supplements to avoid your nervous system shutting down.

    But 8 liters of coke per day? That’s 880 grams of pure sugar. And 3200 calories, which is 150% of daily intake for average person.

    If you consumed 880g of pure sugar daily, i think your liver would have failed after just a few weeks.


  • whatsarefoogee@lemmy.worldtoMemes@lemmy.mlWater? WTF is that?
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    1 year ago

    they literally can’t taste anymore

    Figuratively.

    People are so accustomed to sugar overload they literally can’t taste anymore. I drink la croix if I want something a bit bubbly, but so many Americans make fun of la croix drinkers. “It’s like smelling a lemon from 10 feet away haw haw haw”.

    Considering la croix is not sweet, you will have literally the same experience as someone with taste buds that are 100% burned out from sugar. The lemon flavor is recognized by the sense of smell, and to some degree the sour sensing tastebuds.