Typescript. I greatly prefer C-Style curly brace languages over Pythonese langs. Also the typesystem is incredible, as it allows you to be as precise or not as you want which is a huge boon.
JavaScript
Is everything alright at home mate?
👌
Unison. If it were to gain mainstream adoption, it would change the world. It’s a crazy futuristic idea and no one else seems to even remotely be approaching the same thing.
Just scanning through the docs and YouTube, it doesn’t seem to do anything that I can’t easily do with Go. What am I missing?
I took a look at Unison a short while ago when I saw it mentioned elsewhere on Lemmy and I’ll say what I said before: Their Hello World example, and by extension the rest of the language, looks very weird and unwieldy to me. With the repeating identifiers and relatively alien syntax I’m having a hard time seeing this catch on.
Functional languages aren’t for everyone.
I dabbled in Haskell, and my time with it was very enjoyable. I grew comfortable with the syntax over time, so I’d say try the language for a few days/weeks (really depends how fast you learn) and see how it makes you feel.
I definitely suggest trying out Haskell. I followed the Wikibooks guide, and ever since using Haskell, I haven’t been coding the same. Functional programming can be amazing.
I’ve never heard of Unision. A quick look at it and it seems interesting, but very foreign. I’ll try it out and give it my thoughts.
Teraterm scripting language.
Relatively useless, but did in the past use it to remotely control a DVD recorder, with relays on the LEDs of a 2400bps modem hooked to the channel up and record buttons.
Also to generate a Web page showing account balances for dialup customers in the 90s.
Now, to switch analog and digital inputs for our community radio station via telnet.
Java
C, because I can find a compiler or interpreter for other language written in C (I may need to run a few steps to get there), and thus work around your silly and nonsense question. Seriously, I use multiple languages because there is no one true language to rule them all. I use C++ for problems where bash would be wrong, and bash where C++ would be wrong. And some python, cmake, lua mixed in for good measure. I’m looking at Rust to add (rust doesn’t like the way our system designed so it is hard to figure out how to implement it)
GW Basic
C, can build any other language from that :D
And if i am gonna be miserable, may as well inflict as many vulnerabities on everyone else while I am at it.
deleted by creator
You could write a compiler for a low-level language in anything. Honestly makes little sense that most people do it in C++ when they’re only going to replace it anyway.
Zig > Rust because actually writing safe Rust code
Start thinking more functional, I rarely have issues with the borrow-checker, or even have to write
unsafe
. But it obviously depends on the context, when the issue at hand really requires a lot of interior mutability orunsafe
can be pain.I’m also super fast nowadays with Rust, probably faster than with any other language (thanks to great tooling?).
deleted by creator
If you cannot write safe Rust code, it places your ability to ever write safe code in doubt.
Ruby. It’s designed for developer happiness, and it’s beautiful. Not as beautiful as it once was, but still lovely to code in.
Ruby seems like a clusterfuck for anyone who doesn’t work on a project alone, change my mind.
Ruby gives you all kinds of tools to make clusterfucks, but it’s not hard to keep your hands out of the metaprogramming cookie jar.
But with careful application even fucky features can be put to good use. Like monkey-patching a problematic method to only throw an exception rather than allow accidental misuse. With a nice verbose error message and good testing practices there’s almost no risk.
Oh I didn’t even mean that; just the (possible, shorthand/unreadable) syntax alone, weird typing, etc. seem like it’d be hard to work with.
It’s also funny because “allowing clusterfucks” is a huge reason why PHP was so hated; when you took care to write it properly it wasn’t bad even in the early days.
The thing with Ruby clusterfucks is you have to go looking for them. Languages with implicit type coercion and loose comparison like PHP and JS have clusterfucks lying in wait for you and it takes concerted effort to avoid them.
What do you mean regarding weird typing?
Yeah, I’ve tried out Crystal. I like it, I think it’s got a lot of potential. I like the improved performance, and the concurrency model. The community and ecosystem isn’t as strong, though. If I had to pick one right more, it would still be Ruby! I love Elixir too, for different reasons. It’s a completely different language, but with a similar style.
I had a look at Mirah back in the day. It’s like Ruby, with stronger, more static typing, that is designed-in better than Ruby’s bolted on typing additions.
I just can’t comprehend how anyone can think ruby is enjoyable to work in or beautiful. To me it’s a dumpster fire. I would almost rather write php.
I can’t imagine thinking the opposite either. People are different. Matz’s attempts at backwards compatibility in Ruby 3, particularly wrt typing haven’t been kind to its more elegant origins, but ‘dumpster fire’ is baffling to me. Some people do like php , though, so 🤷🏻♂️
Ruby’s
===
operator actually serves a useful purpose at least.
I know this is a harmless “what if” but let’s be encouraging people to explore more languages not to choose a single one to be everything for all time.
Absolutely! I’m just wondering if everyone has that one language in their hearts :)
Well the point of this post is to get a list of good languages, so it could actually be used to find new languages to learn.
For me it would be C/C++.
That’s cheating; you only get to pick one.
Ok, then C++.
COBOL because I am a fossil
Can’t have COBOL without COOL!
Go. Nothing strikes a balance of ease and performance like go
Overall, I think I prefer elixir, but is probably choose go as well.
Not just ease and performance but popularity. I could be happy in only go for the rest of my life. Currently a Rust dev and I don’t know if I can spend the rest of my life with lifetimes. They are an emotional challenge…
I’ve wanted to have an excuse to learn Elixir for a couple years now. It seems fascinating to me, but I just can’t get started.
Big Kotlin fan.
Similar reasons to the commenter that talked about using a world class runtime, but the JVM is tested and works.
And now I can use Kotlin to make cross platform applications, while still utilizing the Java knowledge that I unfortunately possess? Perfect!