• marietta_man@yall.theatl.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Scala. Expressive, concise, can scale from simple to sophisticated. Sufficiently powerful - has metaprogramming, advanced types. Runs on a world-class runtime and takes advantage of a huge, mature package ecosystem that isn’t going anywhere.

  • Troy@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Python. I’m in data science. Sure I could write all that code in C or C++, but my time spent coding all that extra boilerplate is better spent on analysis.

  • sudotstar@kbin.social
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    I’d probably pick something esoteric and then just stop programming, tbh. I enjoy being a polyglot programmer, and learning many languages and learning from many ecosystems is incredibly interesting to me, far more than hyper-specializing in a single language would be.

  • rekabis@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    DotNet Core as a whole (C# + F# + other languages that are being ported to compile down to a DotNet binary).

    Because it has all the things Java promised us - frictionless, painless, cross-platform programs - but is implementing it far better than Java ever could.

    Honestly, DotNet Core is now at least a half-decade or more ahead of Java in terms of the base platform and C# language functionality/ease-of-use. The only advantage Java has at this point is it’s community ecosystem of third-party features and programs.

    • GissaMittJobb@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      I remember my first job working with C# - this was the common sentiment: it’s a Java that is better than Java at being Java. I mostly agree with that.

      Try using Kotlin some day, though. I consider that language to be even better than C#, and it additionally gets to leverage the JVM ecosystem.

      Kotlin > C# > Java, in my book

      • Undertaker@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        You may explained it unprecisley or simply wrong. You can not run it in browser. It is done on web Server side like PHP. In browser you run JavaScript.

        • atheken@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          You should do some research on wasm.

          You can run frickin’ docker containers in the browser now.

          I don’t make the rules.

  • loren@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    I know this is a harmless “what if” but let’s be encouraging people to explore more languages not to choose a single one to be everything for all time.

    • hades@lemm.eeOP
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      Absolutely! I’m just wondering if everyone has that one language in their hearts :)

    • AeroLemming@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Well the point of this post is to get a list of good languages, so it could actually be used to find new languages to learn.

  • demesisx@infosec.pub
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    Unison. If it were to gain mainstream adoption, it would change the world. It’s a crazy futuristic idea and no one else seems to even remotely be approaching the same thing.

  • KSP Atlas@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    Likely either C or C++, both languages have been around for a long time and both are still used in huge projects

  • mrkite@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    8 months ago

    C. I’ve been programming for over 30 years and it’s the only language to survive. Imagine if I was asked this question 30 years ago and picked perl or Pascal, I’d be screwed today.

  • deadcatbounce@reddthat.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    8 months ago

    Probably Ruby. For some reason … no, that’s a lie … playing with Exherbo, Gentoo and Funtoo, but mostly Exherbo, made me loathe Python. However, everyone in the data processing arena seems to use it, so I’m bound to have to change my ways eventually! For “Ruby”: read “Python”.

    My days of needing high-speed low level languages are long gone. I learned C on Borland C++ back in 1990 to price derivatives on 386s. Loved it.

    If I mess around with any language it’s for fun. I intend to commit suicide, when my time is done, by the percussive head trauma that learning Haskell will cause me.

    • milicent_bystandr@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      8 months ago

      See, I love Haskell, and the reason I’d choose Rust for my one language is the feeling that in principle anything I can do in Haskell I can do in Rust, with a little extra percussive head trauma; but I can never have the control in Haskell to do the beautiful efficiency I can do with Rust if I ever actually did any programming.

  • cout970@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    8 months ago

    Kotlin without a doubt.

    Gives you more flexibility and freedom that most scripting languages. The syntax is clean and concise, the tooling is amazing and can compile to JVM, JS, Native and WASM.

    • CodeMonkey@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      8 months ago

      I have used Kotlin a bit for a hobby project and it felt like they were 95% done with a 1.0 version. I love the promise of a single code base that can run on the JVM and browser, but it is not all there. Until recently, the API was not guaranteed to be stable. Every one in a while, I hit a feature that is JVM only or does work right in JavaScript. The JS compiler will “helpfully” remove uncalled public functions unless you explicitly mark them with JsExport.

      Also, from what I can tell, only InteliJ is the only supported IDE (which makes sense, since they are the language developers). There is an official Eclipse Plugin, but the last time I tried it, it did not work and tried to take the entire IDE down with it.

      Having said that, it was very close to complete and I have not worked on that project for a few months, so it could all be perfect now.

      • snowe@programming.devM
        link
        fedilink
        arrow-up
        0
        ·
        8 months ago

        Kotlin jvm is extremely stable, not sure what issues you could be encountering there. The API has been guaranteed to be stable for years and years now. And sure, the other stuff has experimental functions, but they’re clearly marked.

        • CodeMonkey@programming.dev
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          Kotlin jvm is extremely stable

          I don’t want to use Kotlin on (just) JVM. The reason I am working with Kotlin is Kotlin Multiplatform (so JVM and JavaScript). The JavaScript side is where all of my frustrations have come from.