this post was submitted on 02 Jun 2023
3 points (100.0% liked)

Programming

13342 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

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?
top 24 comments
sorted by: hot top controversial new old
[–] PM_ME_VINTAGE_30S@vlemmy.net 3 points 1 year 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.

[–] Sinfaen@beehaw.org 2 points 1 year ago (2 children)

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.org 3 points 1 year ago (1 children)

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?

[–] Sinfaen@beehaw.org 2 points 1 year ago

I haven't heard of it actually, I'll take a look

[–] a1studmuffin@aussie.zone 2 points 1 year ago

Just learned a new word footgun. I love it, so true of C++.

[–] greysemanticist@lemmy.one 2 points 1 year ago* (last edited 1 year 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.
[–] heyheyitsbrent@lemmy.ca 2 points 1 year 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.

[–] Subito@beehaw.org 1 points 1 year 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
[–] Gaywallet@beehaw.org 1 points 1 year ago (1 children)

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.

[–] ericjmorey@beehaw.org 0 points 1 year ago (1 children)

Funny how you said SQL Python and R, my mind immediately said data analysis.

I'm not sure what autohotkey is or does. Is it Windows only?

[–] Gaywallet@beehaw.org 0 points 1 year ago (1 children)

I could have sworn at one point it was cross platform but it's seemingly only Windows now

[–] ericjmorey@beehaw.org 0 points 1 year ago

The Mandela Effect strikes again!

[–] sotolf@beehaw.org 1 points 1 year 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.

[–] DanNZN@thelemmy.club 1 points 1 year ago (1 children)

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

[–] ericjmorey@beehaw.org 2 points 1 year ago (1 children)

Have you looked at Kaggle's learning resources for machine learning?

[–] DanNZN@thelemmy.club 1 points 1 year ago

I will have to check those out, thanks!

[–] leetnewb@beehaw.org 0 points 1 year ago (1 children)

I don't have any professional experience or ambitions, but:

Use nim for personal projects. It feels like there is less boilerplate than others I've tried and it felt more natural to me than python. Faster than python and compiles. Plus has a javascript backend option. Pretty neat language all in all and does an ok job from scripting to web.

Interest in trying? Probably Kotlin. Seems like another language with wide utility.

[–] TofuSauce@beehaw.org 0 points 1 year ago (1 children)

I've only heard of nim thanks to the discourse around Mojo, i'll check it out !

[–] ericjmorey@beehaw.org 0 points 1 year ago (1 children)

How is nim related to mojo?

[–] leetnewb@beehaw.org 0 points 1 year ago (1 children)

There is a perspective that Nim kinda sorta writes/looks like a compiled Python. It also seems to get mentioned everywhere.

[–] sotolf@beehaw.org 1 points 1 year ago

Yeah, it's kind of a pascal/modula/ada thing with a more python like syntax. It does have a really nice typesystem that I enjoy a lot :)

[–] rain@an.eldritch.gift 0 points 1 year ago (1 children)

@ericjmorey@beehaw.org Clojure(Script/Dart) is the way, I really want to get into Elixir at some point though!

[–] ericjmorey@beehaw.org 0 points 1 year ago (1 children)

What got you started with Closure?

[–] rain@an.eldritch.gift 1 points 1 year ago

@ericjmorey@beehaw.org A course in software development got me started with Clojure! At first I hated the language, but it slowly grew on me ​:vibe_cat:​