• JakenVeina@lemm.ee
    link
    fedilink
    arrow-up
    56
    arrow-down
    6
    ·
    1 year ago

    C#. Comes with a first-class dev and debugging experience, a HUGE first-party BCL, cross-platform application support, and one of the best webserver frameworks out there.

    TypeScript makes a reasonably-close second, not necessarily because it’s great, but because of how effective it is at making JavaScript usable.

    • huntrss@feddit.de
      link
      fedilink
      arrow-up
      13
      ·
      1 year ago

      The first-class dev and debugging experience, is this with Visual Studio or Rider as IDEs?

      Because I currently do C# with Linux + neovim + Omnisharp as Language Server and it is really slow and bad. Do you have any tips?

      • Entropius@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        I’ve never used it on Linux but Rider seems fast to me on Windows. It’s snappier than Visual Studio + Resharper at least.

      • JakenVeina@lemm.ee
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        VS for me. I’ve heard notbing but praise for Rider.

        I know there’s also a lot of popularity for VSCode, if you know what you’re doing and what all extensions you need to setup, but that makes for a much bigger barrier to entry.

    • ribboo@lemm.ee
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Couldn’t have said it better myself! Lovely that it’s the most upvoted one.

    • pycorax@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Funny you list both C# and Typescript because the lead architect of C# also worked on Typescript.

  • bobbytables@feddit.de
    link
    fedilink
    arrow-up
    40
    arrow-down
    4
    ·
    1 year ago

    I’ll just say it: PHP. I mean the language itself is not really pretty (but came a long way).

    But I’ve got a nice side gig running where I help small businesses and schools to keep their old PHP based websites running and secure until they can afford a new system. In that area money is often very tight and there are no “content managers” but a few people maintaining content with next to no technological knowledge and in their spare time. So changing systems is a hard task. Being the really decently priced guy who keeps their PHP ship afloat is pretty rewarding (not really monetarily but personally).

    So working with PHP I have a very nice group of customers who are grateful for every bit of help. I love that.

  • dingleberry@discuss.tchncs.de
    link
    fedilink
    arrow-up
    21
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Oddly enough Java. If you weren’t brainwashed to write the “enterprise Java”, it’s surprisingly succinct. More so than Go, whose forced “simplicity” ended up making it more verbose.

  • david@feddit.uk
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Elm (for frontend).

    Nothing is as easy to refactor, maintain, add new features to, work with after a gap, nothing else is as crashless and rock solid.

    No compiler is a fast, friendly, helpful and insightful. Seriously. You don’t wait for the compiler. It’s instant even on huge code bases.

    Its syntax is weird at first (even stranger than python) and the autoformatter is mad keen on blank lines but after a while it’s just so clear and easy to follow.

    You have to let go of your object oriented mindset and stop trying to turn everything into objects and components but everything I hated about maintaining old code evaporated once I did. I used to believe that objects detangled code, I don’t know why I continued to believe that despite the evidence, because apart from pretty small and simple things, OO code gets extremely tangled. Elm is absurdly easy to refractor, so you just do.

    It’s genuinely nice to add new features to old code, something I’ve never experienced before in a few decades of programming.

    The elm slack is also a very helpful place indeed and you usually get a lot of support pretty quickly.

    These last few years I’ve rediscovered the joy of coding.

    • christophski@feddit.uk
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      1
      ·
      1 year ago

      I’ve literally never heard of this before. Are there any major projects which use this?

    • technojamin@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I really love Elm, and it challenges the common notion of what it means to be a “healthy” language/ecosystem. It’s a beautiful passion project that can really only be used if you adhere to the vision of its creator, but it’s a really admirable and utopian vision.

      The reasons for it not being very popular are pretty clear (slow language evolution, “one way to do anything”, perfectionist design), but it’s an extremely cohesive and friendly language. I’ve never used it for anything serious, but I hope it stays around. Clearly the creator isn’t aiming for widespread adoption, but I hope that the niche it’s created grows nonetheless, because it’s a lovely ecosystem and community.

  • haruki@programming.dev
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Clojure. It’s just fun to write.

    Firstly, it’s functional and “Lispy”. My code is super expressive. Writing code is like writing prose where I can choose a word (function) from a large vocabulary [1]. I can focus on high-level concepts and modifying states instead of fighting with low-level logic.

    Secondly, it runs on JVM - an already robust and performant platform.

    And there are so many good things that I cannot simply write in some words. The father of Clojure, Rich Hickey, is a genius in expressing Clojure’s design. You should check out some of his talks [2].

    Too bad that Clojure is too “niche” that I haven’t got a chance to make a living by writing Clojure, yet. But learning it is one of the best decisions I’ve ever made in my career. Yes, it’s that good.

    [1] https://clojuredocs.org/

    [2] https://github.com/tallesl/Rich-Hickey-fanclub

  • coltorl@programming.dev
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    edit-2
    1 year ago

    C++, I am a library developer with some embedded experience. I can easily interface with c libs and expose my lib with a c interface. With clang, static analysis catches most bugs before runtime. Everything I write can be compiled nearly anywhere with very little dependencies required. Excellent IDE and LSP support with a ton of documentation on the language features available (admittedly, there are a lot). The standard library is gigantic, useful, and well documented. It is used everywhere, so resources and example source code in C++ are very easy to come by. Project configuration (via CMake) is extremely powerful and expressive (though not technically C++).

    Some languages have some of the elements I listed, but no other language has them all.

    • lysdexic@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      I would also mention support for third-party compiler cache systems. Install something like ccache, set a couple of flags in the CMake project, and your whole project can now reuse build artifacts with barely no CPU load.

    • z3rOR0ne@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      If you don’t mind throwing your two cents my way, what’s a good intro to C±± book for those who already have a basic understanding of C?

    • debounced@kbin.run
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      Zig is really starting to grow on me, it’s basically an unfucked C (screw you, macros) and you can translate C into Zig code…and it has comptime, very nice! I don’t have the patience for Rust in my hobby projects and the standalone-ness of Zig is perfect for embedded/systems programming. it definitely needs to mature more before the masses start taking it seriously, but goddamn it’s nice to code in.

  • glarf@lemmy.world
    link
    fedilink
    arrow-up
    13
    arrow-down
    2
    ·
    1 year ago

    Ruby! It’s a wonderful language with a fantastic community, mature frameworks, and active development on performance and core features.

    • sultry@feddit.de
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      Same here. My company uses ruby (on rails) and golang and ruby is by far the language that gives me the most joy. One of our projects has reached a size where I really wish ruby had a built-in type system but other than that it is a really great language and by all means it is fast enough for most use cases.

    • Slotos@feddit.nl
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      It’s the language I’m most capable of making a living with. It’s familiar to the point of being boring, I know what popular tools to avoid, I know my way around making Rails get the hell out of the way, turning it into a useful and handy tool.

      I do want a chance at something that’s more exciting though. Some of the features I spy in other languages would be so nice to have.

      Although I’d recently finally had to solve a problem where Ruby being slow was the major factor. Haven’t had that much fun in years. Benchmarks and second degree lap burns will do that to a person.

  • worldofgeese@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    Racket but I’ll take Guile Scheme as a close second. Then Hy, a lisp dialect of Python. I’m writing a blog written in a DSL of Racket right now, Pollen, that makes authoring a joyful experience. Hy gives me access to the entire Python ecosystem plus access to things like macros. Guile Scheme is the configuration language of the Linux distribution, Guix System. Guile’s G-Expressions are so powerful for writing packages.

      • worldofgeese@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        I’d say Racket is the most different of any Scheme I know but it’s not hard to get started if you know one or the other. Racket (in my opinion) has more niceties around the development experience than Guile and a pretty dang good IDE if you ask me.