• @[email protected]
    link
    fedilink
    101 year ago

    Typescript. I greatly prefer C-Style curly brace languages over Pythonese langs. Also the typesystem is incredible, as it allows you to be as precise or not as you want which is a huge boon.

  • @[email protected]
    link
    fedilink
    English
    14
    edit-2
    1 year 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.

    • @[email protected]
      link
      fedilink
      11 year ago

      Just scanning through the docs and YouTube, it doesn’t seem to do anything that I can’t easily do with Go. What am I missing?

    • Pyro
      link
      fedilink
      English
      31 year ago

      I took a look at Unison a short while ago when I saw it mentioned elsewhere on Lemmy and I’ll say what I said before: Their Hello World example, and by extension the rest of the language, looks very weird and unwieldy to me. With the repeating identifiers and relatively alien syntax I’m having a hard time seeing this catch on.

      • @[email protected]
        link
        fedilink
        41 year ago

        Functional languages aren’t for everyone.

        I dabbled in Haskell, and my time with it was very enjoyable. I grew comfortable with the syntax over time, so I’d say try the language for a few days/weeks (really depends how fast you learn) and see how it makes you feel.

        I definitely suggest trying out Haskell. I followed the Wikibooks guide, and ever since using Haskell, I haven’t been coding the same. Functional programming can be amazing.

        I’ve never heard of Unision. A quick look at it and it seems interesting, but very foreign. I’ll try it out and give it my thoughts.

  • @[email protected]
    link
    fedilink
    2
    edit-2
    1 year ago

    Teraterm scripting language.

    Relatively useless, but did in the past use it to remotely control a DVD recorder, with relays on the LEDs of a 2400bps modem hooked to the channel up and record buttons.

    Also to generate a Web page showing account balances for dialup customers in the 90s.

    Now, to switch analog and digital inputs for our community radio station via telnet.

  • bluGill
    link
    fedilink
    11
    edit-2
    1 year ago

    C, because I can find a compiler or interpreter for other language written in C (I may need to run a few steps to get there), and thus work around your silly and nonsense question. Seriously, I use multiple languages because there is no one true language to rule them all. I use C++ for problems where bash would be wrong, and bash where C++ would be wrong. And some python, cmake, lua mixed in for good measure. I’m looking at Rust to add (rust doesn’t like the way our system designed so it is hard to figure out how to implement it)

  • @[email protected]
    link
    fedilink
    201 year ago

    C, can build any other language from that :D

    And if i am gonna be miserable, may as well inflict as many vulnerabities on everyone else while I am at it.

    • @[email protected]
      link
      fedilink
      61 year ago

      You could write a compiler for a low-level language in anything. Honestly makes little sense that most people do it in C++ when they’re only going to replace it anyway.

    • @[email protected]
      link
      fedilink
      31 year ago

      Zig > Rust because actually writing safe Rust code

      Start thinking more functional, I rarely have issues with the borrow-checker, or even have to write unsafe. But it obviously depends on the context, when the issue at hand really requires a lot of interior mutability or unsafe can be pain.

      I’m also super fast nowadays with Rust, probably faster than with any other language (thanks to great tooling?).

  • @[email protected]
    link
    fedilink
    English
    101 year ago

    Ruby. It’s designed for developer happiness, and it’s beautiful. Not as beautiful as it once was, but still lovely to code in.

    • Amju Wolf
      link
      fedilink
      English
      2
      edit-2
      1 year ago

      Ruby seems like a clusterfuck for anyone who doesn’t work on a project alone, change my mind.

      • @[email protected]
        link
        fedilink
        21 year ago

        Ruby gives you all kinds of tools to make clusterfucks, but it’s not hard to keep your hands out of the metaprogramming cookie jar.

        But with careful application even fucky features can be put to good use. Like monkey-patching a problematic method to only throw an exception rather than allow accidental misuse. With a nice verbose error message and good testing practices there’s almost no risk.

        • Amju Wolf
          link
          fedilink
          11 year ago

          Oh I didn’t even mean that; just the (possible, shorthand/unreadable) syntax alone, weird typing, etc. seem like it’d be hard to work with.

          It’s also funny because “allowing clusterfucks” is a huge reason why PHP was so hated; when you took care to write it properly it wasn’t bad even in the early days.

          • @[email protected]
            link
            fedilink
            1
            edit-2
            1 year ago

            The thing with Ruby clusterfucks is you have to go looking for them. Languages with implicit type coercion and loose comparison like PHP and JS have clusterfucks lying in wait for you and it takes concerted effort to avoid them.

            What do you mean regarding weird typing?

    • Pyro
      link
      fedilink
      English
      31 year ago

      Crystal is very similar to Ruby, but is compiled to native code instead. Would you consider that? Why or why not?

      • @[email protected]
        link
        fedilink
        English
        21 year ago

        Yeah, I’ve tried out Crystal. I like it, I think it’s got a lot of potential. I like the improved performance, and the concurrency model. The community and ecosystem isn’t as strong, though. If I had to pick one right more, it would still be Ruby! I love Elixir too, for different reasons. It’s a completely different language, but with a similar style.
        I had a look at Mirah back in the day. It’s like Ruby, with stronger, more static typing, that is designed-in better than Ruby’s bolted on typing additions.

    • @[email protected]
      link
      fedilink
      English
      41 year ago

      I just can’t comprehend how anyone can think ruby is enjoyable to work in or beautiful. To me it’s a dumpster fire. I would almost rather write php.

      • @[email protected]
        link
        fedilink
        English
        31 year ago

        I can’t imagine thinking the opposite either. People are different. Matz’s attempts at backwards compatibility in Ruby 3, particularly wrt typing haven’t been kind to its more elegant origins, but ‘dumpster fire’ is baffling to me. Some people do like php , though, so 🤷🏻‍♂️

  • @[email protected]
    link
    fedilink
    141 year 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.

    • @[email protected]
      link
      fedilink
      English
      101 year 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.

    • @[email protected]
      link
      fedilink
      21 year ago

      Overall, I think I prefer elixir, but is probably choose go as well.

      Not just ease and performance but popularity. I could be happy in only go for the rest of my life. Currently a Rust dev and I don’t know if I can spend the rest of my life with lifetimes. They are an emotional challenge…

      • @[email protected]
        link
        fedilink
        11 year ago

        I’ve wanted to have an excuse to learn Elixir for a couple years now. It seems fascinating to me, but I just can’t get started.

  • @[email protected]
    link
    fedilink
    English
    31 year ago

    Big Kotlin fan.

    Similar reasons to the commenter that talked about using a world class runtime, but the JVM is tested and works.

    And now I can use Kotlin to make cross platform applications, while still utilizing the Java knowledge that I unfortunately possess? Perfect!