I have been thinking of learning some programming recently, but I don’t feel confident enough. Is there any point in beginning with something like Zig or Go, and switching to something more serious later?

  • FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 day ago

    Zig and Go are serious. I think Python would be a language that isn’t serious (despite it’s widespread use in serious applications) but has a reputation for being easy. I don’t know if that reputation is really deserved.

    Anyway I would start with one of Python, Go or Typescript (via Deno). I would avoid Rust, Haskell, OCaml, C++ as your very first language, but they could be your second.

    Whatever you do don’t learn Python and stop there. That’s the way to be a crap programmer. And if you do use Python learn to use type hints early on.

    • Scrath@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      0
      ·
      19 hours ago

      I feel like Python is sometimes too powerful in terms of what you can achieve with few lines of code. It tends to have lines that do a lot of things at once and therefore become very hard to understand despite not having a lot of code at the surface.

      In my opinion it is very good for stuff like data analysis and scripting test setups, but (with my admittedly limited experience in the area) I dislike using it for larger applications. Because it is a scripting language and not compiled, I have run into errors that a compiled language would have detected before even starting. Meanwhile python was happy to run my program until it unfortunately branched into the defective path…

      If you want to build stuff quickly it is incredibly what you can achieve with it though.