• Joelk111@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 months ago

    Maybe this comes from a non-typed language perspective… As someone who learned in Java, I do not like it because yeah, type is way more important. If someone was coming from Python, I can see why they might think this…

    • Victor@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      2 months ago

      I learned Java first. I think type should come second as well, like in TypeScript et al.

      If you’re ever looking for the variable manually for some reason, by searching with your eyes, it’s easier to find it by searching in the first character column.

      Otherwise, if you ever need to see the type of something, which… should be obvious from the context in quality code, your LSP should just be able to tell you directly, by some mechanism (hover with mouse, or some keyboard action).

    • it_depends_man@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      I only use python and I don’t understand why someone might think that. The order in python’s type hints is wrong too.

    • Valmond@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      Script languages are quick and dirty (but slow), I hate it when they try to shoehorn every high level concept into them.