• Zagorath@aussie.zone
    link
    fedilink
    arrow-up
    0
    ·
    5 months ago

    I feel like I need more context here. What templating language is this, and why is its progress a string representing a full sentence?

      • ransomwarelettuce@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        5 months ago

        You can configure your editor to do that. I did it in nvim.

        However my teachers always told me to stop doing it. I am yet to learn the reason why.

        • el_abuelo@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          5 months ago

          Are your teachers reading your screens a lot? Because it’s a PITA to read if you’re not using it yourself.

          Also if you demo code you should switch to the more traditional so that others don’t have a hard time reading.

          Basically it’s just down to the human brains amazing ability to do pattern recognition subconsciously so you don’t have to actively think about what that symbol means - unless someone used a different symbol.

    • TechLich@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      5 months ago

      Pretty sure it’s an autocomplete (like copilot or something)

      They were typing

      progress != “Hold”

      And the ai autocomplete suggested

      progress != “Hold onto your butts!”

      Hence why the completion part is in grey (it’s a suggestion)