It seems like there are about 22 27 46 219 320 493 1840 active subscribers here. I have a few questions for you all.

  • Which programming languages do you regularly use?
  • Which are your favorite to work with and why?
  • Which do you have interest in trying and why?
  • PM_ME_VINTAGE_30S@vlemmy.net
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    I most regularly use Python, followed by MATLAB C++. Python has been practically mandatory for writing code for my undergrad research. My classmates usually know “a little” Python, and it’s pretty easy to pick up on the fly. I’m trying to phase out MATLAB for Python seeing as I’ll be graduating soon and my student license will run out. I know about Octave, but work done in Python is probably easier to integrate.

    My favorite is C++. It’s the first language I learned and it feels like home. It gives me enough abstractions to get actual work done, but it also has the low-level tools I need to shoot myself in the foot for working with Arduino or other microcontrollers.

    I’m looking into Rust for audio programming. Although audio programming is done almost exclusively in C++ these days, Rust’s safety features without performance penalties look like a promising language to write fast and reliable code suitable for real-time operation. Joining Lemmy and seeing how it compared to Kbin has cemented my interest in the language because so far, despite the bugs I’ve run into, Lemmy and Jerboa has been fast above all.

  • greysemanticist@lemmy.one
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    2 years ago

    Regularly Use

    • bash
    • python
    • golang
    • rust
    • elm

    Favorite

    • rust because it provides a pretty good expressive type system for letting the compiler keep you honest.
    • elm helps me avoid client-side programming hell with JavaScript.

    Interested

    • zig because of its promise of “compile it for anything” and small language philosophy.
  • subito@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago
    • I work with Java, but like messing around in C# and Kotlin
    • Definitely Kotlin
    • I’m thinking of getting into Rust or Go one day, because they seem cool
  • Sinfaen@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    Work:

    • C/C++
    • Python
    • Matlab (don’t use this one)

    Personal:

    • Julia
    • Rust
    • Fortran (trying out something specific rn)

    My favorites right now are Julia & Rust. In their respective fields they’re a breath of fresh air and I enjoy coding in them so much. If Carbon ever manages to get off the ground floor I’ll be interested in trying it out. Regular C++ has too many footguns

    • ericjmorey@beehaw.orgOP
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      Julia was interesting, I worked through a tutorial using Pluto and it seemed nicely designed.

      Have you had Odin on your radar as a C++ replacement?

  • DanNZN@thelemmy.club
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    I mostly use C# which is honestly also my favorite. I would like to get more into Python for some machine learning stuff.

  • Gaywallet (they/it)@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    It’s not really a coding language but I use SQL a lot for work. Occasionally Python and R. As you can probably imagine with this list, I’m a data scientist.

    My favorite to work with is actually autohotkey, which I use to automate stuff, because it can be a fun little challenge to figure out how to automate based on the system it’s running on and what I’m trying to do.

  • davefischer@beehaw.org
    link
    fedilink
    arrow-up
    2
    ·
    2 years ago

    C & Postscript. Been using both since the mid-80s. The programming I do for work is CNC related. I don’t learn new things.

  • el_cordoba@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    My main languages are Ruby and Python (does SQL count?), but I dabble with Javascript when needed.

    I have been liking Ruby more and more because of how easy it is to use and the community support it has. I have really appreciated RSpec, and that’s the main reason I enjoy it over Python.

    I really want to get into Rust because it is so different from Ruby. I am also a strong supporter of adopting a different language if you need to. I am not a fan of introducing types into Ruby or Python because there are other languages that have it built in and also the dynamic nature of those languages are their strengths.

    • ericjmorey@beehaw.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      I could see value in adding type checking to a codebase that is transitioning from exploratory to maturity without having to rewrite in another language.

      And of course SQL counts!

  • r3d5un@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    Python and C# for the most part. I’m also putting serious effort towards learning Rust, but I likely won’t be able to use it at work. It’s a good learning experience, and I can tell that my code after learning basic Rust in C# and Python is better than before.

      • r3d5un@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        The “correctness” of my code would probably the greatest single difference I’ve noticed in my own habits.

        For example, I’ve become very strict with myself about using type hints and relying on appeasing type checkers and such. The way I structure my projects has changed, where I separate functionality from data to a larger degree, mimicking struct and impl where it makes sense to do so. I’ve pretty much stopped using dict, and rely on dataclasses instead when writing Python. I’ve given up on forcing everything to be OOP (even C#), which has made my code easier to read and maintain. There are probably other things as well, though I can’t list them at the top of my head.

        Some of it is probably just good practice, a result of having matured after being exposed to new languages. Some of it probably wouldn’t be considered pythonic or idiomatic, but I’m not sure I care anymore. My code is more reliable (and often faster), and that’s what matter in the end.

  • sotolf@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    I’m mostly a hobby programmer, and I mostly use nim for most of the stuff I do, it just works very well with how I think and things just work, which I’m really happy about. The type system is really nice, with the right kinds of granularity for things that I want to do.

    For now I’m mostly focused on learning the langauge that I use, and I have been playing around with a lot of different stuff, maybe some kind of forth would be nice to do some real down to the metal stuff, but I very seldomly have to do that. I did play around with factor for a long time, and it’s a very interesting language, it just never really felt comfortable for me, more like a fun puzzle game in a way.

  • jay2@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    C# with Unity. I sometimes write in VB for its form controls or VB/A for its spreadsheet interface.

  • heyheyitsbrent@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    C#, JS, SQL, and (AB) PLC Ladder Logic.

    I really like working in the dotnet ecosystem; it’s well maintained and supported. I’m fairly weak in JS and find it a bit frustrating at times. Mostly because it seems that packages are obsolete or abandoned by the time I’m done reading the docs. I know enough SQL to be dangerous.

    Everyone seems to like Rust, maybe I should see what all the fuss is about.

  • paccio@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    2 years ago

    Mostly C++, I develop back-end with algorithms that require all the performance we can get. We 're currently trying Rust for a small project, I hope it will succeed, I definitely love this language. And python when merformance is not the main concern.

  • climufat@beehaw.org
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    At work it’s mostly python, .net core and javascript (regrettably).

    Personally, I used to write a lot in C and C++ for embedded, but recently diving more into other areas. Developing quite the love for Golang (GO) and it’s simplicity.