• 0 Posts
  • 83 Comments
Joined 3 年前
cake
Cake day: 2023年7月12日

help-circle






  • My comment was obviously devoid of any nuance, I am on programmer humor after all. I actually do use typescript, but I think fixing issues in application code that isn’t used by other code is a waste of time. I also think there are lots of advantages of a very dynamic language, like usable REPLs and much easier debugging. We can take these advantages way further by embracing the dynamic nature of javascript, like how lisps do it for example. But instead, everyone is happy going down the route of turning it into another c# (nothing against c# but we don’t need all languages to be c# and java).











  • atyaz@reddthat.comtoLemmy Shitpost@lemmy.world•incredible
    link
    fedilink
    arrow-up
    13
    arrow-down
    2
    ·
    3 年前

    Even if you studied it, the answer boils down to “magic”.

    You take these magnets, and move them around these long snakes of metal (because electrons can move easily through metal) and that makes the electrons in the wires move.

    Okay, why does moving around a magnet near metal make something inside it move?

    Well there’s something we call the “Lorentz force” which basically pushes a magnetic thing in a specific way if you move another magnetic thing around it

    But why does that happen?

    Magic