this post was submitted on 30 Sep 2023
101 points (91.1% liked)

Programming

17526 readers
238 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
(page 2) 50 comments
sorted by: hot top controversial new old
[–] seeaya@lemmy.world 7 points 1 year ago (1 children)

Swift. Mostly because it’s by far what I’m most familiar with. Two things come to mind for what I most like about it. 1. Progressive disclosure: I found learning Swift to be simple since I didn’t have to directly concern myself with advanced features, but as I learned more I could take advantage of these more advanced features. 2. Clarity: I find Swift far more readable than most other languages. I think this is a combination of language features (argument labels for example) and consistency across the standard library and popular third party libraries. I think Swift finds a good middle ground between brevity and expressiveness; there’s never too much boilerplate to write, but the code is usually fairly self documenting.

[–] abhibeckert@lemmy.world 4 points 1 year ago

Mostly because it’s by far what I’m most familiar with.

I hardly ever use Swift and it's still my favorite language. It's a young language and I'm a bit of an "if it aint broke don't fix it" kinda guy, but Swift is definitely better than any of the languages I use on a daily basis. I can't wait until it's a little more mature on the platforms I work with regularly.

[–] mr_satan@monyet.cc 7 points 1 year ago

Whatever gets the job done 🤷‍♂️

[–] Floey@lemm.ee 6 points 1 year ago

Big fan of Julia for anything that requires a lot of computation. It feels easy to write things in an optimized way without having to work against the language.

I have a soft spot for Common Lisp. It encourages me to write chunks of code that are very evergreen in the sense that I could easily use them in a future project without modification. I don't find myself using it all that much though.

[–] Andy@programming.dev 6 points 1 year ago (4 children)

The ones I can get things done with:

  • Python
  • Zsh

My current obsession:

  • Factor

Honorable mentions:

  • Nim
  • Roc
load more comments (4 replies)
[–] demesisx@infosec.pub 6 points 1 year ago (5 children)

I was about to write Haskell or Purescriot but Unison seems like the future if it ever catches on.

load more comments (5 replies)
[–] Olap@lemmy.world 6 points 1 year ago

Typescript followed by Ruby

Typescript as the web has won. Ruby as nothing else feels closer to poetry

[–] Spider89@lemm.ee 6 points 1 year ago
[–] xigoi@lemmy.sdf.org 5 points 1 year ago

Nim. It just doesn't get in the way or have certain annoyances that other languages do.

[–] asyncrosaurus@programming.dev 5 points 1 year ago* (last edited 1 year ago)

I didn't have an answer for a very long time. Or more seriously, the answer was "the one that paid the most". I've run the gamut of popular languages, C, C++, Java, Javascript, perl, ruby, Python, Visual Basic, VB.Net, C# and F#.

But the last couple years it's really been C#. The pace of development on the language/runtime has really picked up with yearly releases. The features that are added and iterated on are expressive and intuitive. You can tell from the discussion posts on how a feature is being considered for inclusion is thoughtful and deliberate. It really feels like the language is in good hands.

Just wish those hands weren't Microsoft.

[–] phoenixz@lemmy.ca 5 points 1 year ago

PHP! Super easy in use, allows for very fast deployment, is secure, and there are boat loads of libraries available

[–] esscew@programming.dev 5 points 1 year ago

Go make me feel more productive than any other language I've used which makes me feel smarter than I am.

[–] ulquiorra@lemmy.world 5 points 1 year ago

Writing Clojure for a living and I'm pretty happy with it. I also found Common Lisp very interesting, but a little more complex and haven't spend much time with it to be honest, other than learning the language basics.

[–] eeleech@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

I don't really have a single favorite a language, if I am able to choose freely it depends on the task.

  • C++ for natively compiled programs and C interoperability, I like the types from the STL and templates.
  • Clojure is IMO great for data-oriented programs, I really like the immutability and it being a lisp. The java interop and the ability to compile to JavaScript with clojurescript can also be useful.
  • Julia for smaller (mostly numerical) programs that should be fast at runtime. The type system is great in being optional, but strong and significantly improving performance when types annotations are used.
  • Fennel (or Lua) is definitely my favorite Language for embedding into larger programs and scripting. Fennel has the advantage of being a lisp and cleanly compiling to lua.
  • brainf*ck is great as a simple language to have fun and enjoy programming
[–] rutrum@lm.paradisus.day 5 points 1 year ago

Python, for when I don't feel like writing in Rust.

[–] Nevoic@lemm.ee 4 points 1 year ago (1 children)

Haskell/Scala. Huge fan of pure functional programming. Here's another comment I wrote about some FP-related things

load more comments (1 replies)
[–] MrScottyTay@sh.itjust.works 4 points 1 year ago

C#, I really enjoy all of the new stuff they add each update and In sheets thankful of the .NET ecosystem.

I don't program but as a user I like python cause it'll tell me what's wrong in a pretty easy format

[–] theherk@lemmy.world 4 points 1 year ago (2 children)

Academically, Rust. But I find the most joy and speed with Go. The only time I’m having fun programming, it is in Go.

[–] atheken@programming.dev 5 points 1 year ago (3 children)

That’s interesting. Usually when I see people talking about Rust, they really like it. Are there specific parts that make it less enjoyable than go for you?

[–] ck_@discuss.tchncs.de 6 points 1 year ago

For me, it's the instability in Rust that makes it less attractive than go. By instability I mean that the language itself and the whole ecosystem around it seems to be in a constant flux. If you contribute a PR today you'll get a review tomorrow saying that "you can now use this and that feature from the latest nightly to save 3 lines of code", continuing like that for another two weeks before you finally give up.

Go has been the paragon of stability and professionalism since its first release, also due to the fact that it was a specific goal for the language. Additions are slow and few, often thought over and debated for months (or years) to find the simplest, most optimal solution. What's even more remarkable, they have managed to transport this mindset into the larger ecosystem, which now practices the same values of consistently and quality.

So for me, it feels like the Rust community spends a lot of effort on keeping up with the language, the Go community spends that time getting things done, which is what I mostly go for these days.

load more comments (2 replies)
load more comments (1 replies)
[–] xnasero@programming.dev 4 points 1 year ago

Backend: golang/python Frontend: js/ts Scripting: bash

If i had to choose one it'd be go.

[–] cows_are_underrated@feddit.de 4 points 1 year ago

In terms of real programming languages its Java, since it's the only thing I know.

Alternatively Bash, since I like the simplicity and it's very useful as a Linux user.

[–] ono@lemmy.ca 4 points 1 year ago* (last edited 1 year ago)

I only just started learning Nim, but from what I see so far, it might soon become my favorite.

[–] qevlarr@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

C++. I want to make things go fast and/or run with minimal resources

It's true what they say: there are languages that everyone complains about, and languages that nobody uses. C++ has been tested time and again.

[–] vidarh@lemmy.world 4 points 1 year ago (2 children)

Ruby.

My desktop manager is Ruby. My text-editor is written in Ruby. I'm about to switch to a terminal written in Ruby, and a shell written in Ruby.

load more comments (2 replies)
[–] DumbAceDragon@sh.itjust.works 4 points 1 year ago

Nim. It's kinda hard to describe, but it just feels very clean. Makes me wish python had decent static typing and proper variable declarations. Though calling Nim a "compiled python" really doesn't do it justice in the least. I have done some unholy things with compile-time evaluation and macros in this language, it's so much fun.

GDScript is also great. Fixes some of the gripes I had with python as well. Godot is also just a really good game engine so that helps.

Python itself is also great. Has really good packages for almost any use and is really easy to just pick up and use. My main gripe is that it's dynamic. Yes it supports typing, but it doesn't make it any better when almost no libraries use it.

Rust is neat, but I find myself hitting a wall whenever I try to pick it up again. I love the memory safety and type system, but it's not the kinda language you can just pick up and play around in for a few minutes, you kinda have to have a project from the getgo to get any use out of it.

C is fun just for the bullshit you can do with memory and pointers, but I find myself using rust or nim for anything that requires proper memory management.

[–] phoenixz@lemmy.ca 4 points 1 year ago

PHP. I've worked on many languages but I keep coming back to PHP. It's so easy to get shit done fast, easy, and with all the security upgrades, secure too

[–] IrrerPolterer@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

Python! Although I've been recently working on a bigger frontend project in TypeScript and I've grown to like it... Wouldn't use them for all the same purposes though. Right tool for the job and so on...

[–] dylanTheDeveloper@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

C++ because I can kill children, and have macros

load more comments
view more: ‹ prev next ›