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

Programming

568 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 28 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year 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.

[–] [email protected] 2 points 1 year ago (1 children)

@[email protected] Clojure(Script/Dart) is the way, I really want to get into Elixir at some point though!

[–] [email protected] 2 points 1 year ago (1 children)

What got you started with Closure?

[–] [email protected] 1 points 1 year ago

@[email protected] A course in software development got me started with Clojure! At first I hated the language, but it slowly grew on me ​:vibe_cat:​

[–] [email protected] 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.

[–] [email protected] 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?

[–] [email protected] 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

[–] [email protected] 0 points 1 year ago

The Mandela Effect strikes again!

[–] [email protected] 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
[–] [email protected] 1 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.
[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 2 points 1 year ago (1 children)

What's better with your code? What did using Rust reach you?

[–] [email protected] 2 points 1 year 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.

[–] [email protected] 0 points 1 year ago (1 children)

Mainly JavaScript, typescript, html, and scss. Occasionally bash and groovy. My favorite to work with is typescript. It’s a superset of JavaScript so naturally JavaScript is a very close second. I am interested in ruby and rust. Just because those are the two languages that I have been enamored with in the past so they are the ones that I have spent more free time than any other learning about them and using them for side projects.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Thanks for the suggestion!

[–] [email protected] 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.

[–] [email protected] 0 points 1 year ago (1 children)

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

[–] [email protected] 0 points 1 year ago (1 children)

How is nim related to mojo?

[–] [email protected] 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.

[–] [email protected] 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 :)

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago* (last edited 1 year 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!

[–] [email protected] 0 points 1 year ago (1 children)

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.

[–] [email protected] 1 points 1 year ago

I see a lot of love it or hate it on golang. What do you think drives that?

[–] [email protected] 0 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] [email protected] 1 points 1 year ago

Seems like Rust is popular among C++ developers.

load more comments
view more: next ›