-- Leo's gemini proxy

-- Connecting to bbs.geminispace.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; charset=utf-8

Comment by ☕️ johan


Re: "Whats your current favorite language?"

In: s/programming


i would have to say Python, but I am trying to learn to like Haskell. But it's kind of a mess, really.


☕️ johan

2023-07-30 · 10 months ago


11 Later Comments ↓


🐝 Addison · 2023-07-31 at 00:56:

C# is my go-to. I use it every day at work, I use it for personal projects, it's fast, and has a huge ecosystem. I'll fiddle with C and Rust if I feel bored but most of the time I'm choosing .NET.


It's nice to have a toolset that you've been using for so long that it feels like your "default".


🛞 Troler · 2023-08-01 at 15:18:

IMHO Haskell is a mistake.


🚀 ahappydeath [OP/mod] · 2023-08-02 at 01:40:

IMHO Haskell is very fun to write and extremelly hard to read


🌝 eggboycolor · 2023-08-04 at 07:53:

My favorite language has changed a lot over the years, and lately I can't really say I have a "favorite" that I truly like the most. I try to learn and use lots of languages and programming paradigms, and vary things depending on the task at hand.


Cross-Platform: C++14, C89 (depending on target)

Modern Systems Programming: Rust, want to try Zig.

Scripting: Python, Lua.

Functional: Haskell, want to try OCaml 5.

Assembly: Wiz (my WIP high-level assembler project on backburner; usable enough for homebrew), CA65 (6502 family), RGBDS (Game Boy), WLA DX (cross-assembler)


At my gamedev dayjob I mostly use C# which is not my favorite, but has some nice features.


🐵 akkartik · 2023-08-04 at 21:34:

Lua, for some non-technical, almost _sociological_ reasons: https://akkartik.name/freewheeling


— https://akkartik.name/freewheeling


🦀 jeang3nie · 2023-08-05 at 23:10:

I use Rust more than anything else for a while now, but I don't think I'd call it my favorite. If anything, I've used it enough now for the mystique to have faded away a bit, and I can see the parts that I don't particularly care for in better focus now.


I've actively tried to be at least somewhat proficient in a wide variety of languages, although I can pretty clearly state an affinity for compiled languages. They mostly all have good reasons for existing. Nim is wonderfully concise. Zig I think is going to be huge in a few more years because it really does mostly solve the issues with C. Fortran is a hidden gem. Hare manages to be an improvement on C in a significantly smaller specification.


I still like plain C, too. So many things are simple to express in C because of the language's simplicity and lack of "safety". Want to make a Rustacean cry? Want to see how an integer is represented in memory on your machine?

#include <stdint.h>
#include <stdio.h>

typedef union {
    uint32_t val;
    uint8_t bytes[4];
} u32;

int main() {
    u32 i;
    i.val = 420;
    printf("Integer as bytes: %i, %i, %i, %i\n",
        i.bytes[0], i.bytes[1], i.bytes[2], i.bytes[3]
    );
}

About the only language family I have yet to explore at all is the lisp family. But, it's on my -list-


🛞 Troler · 2023-08-06 at 08:26:

Lisp user and an active s/Lisp user.

If you are going to learn Lisp I recommend you to start from MIT opencourse https://yt.artemislena.eu/playlist?list=PLE18841CABEA24090 or if you prefer to read the book, the course is bas'd upon https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/index.html


👻 naf · 2023-08-13 at 19:41:

Mine is Julia, very natural and fast.


🍩 wholesomedonut · 2023-08-19 at 04:13:

spoken honestly? Powershell. It's what I've written professionally and as a hobby for like 10 years, and I've had codebases sprawling into the thousands of lines. It's the one I can pull out of my head on demand and get a small POC working in the CLI, and then refine it down to modules with proper structure later.


I've written and delivered a handful of projects with Python. I enjoy how dumb simple and flexible it can be, and the database drivers are sane.


I did a small program in Rust for batch-processing OCR requests. Fastest, snappiest program I ever wrote. Accurate too, with Tesseract.


Clojure is my only real voyage into lisp and most "functional-focused" languages. I like it somewhat.


🦋 karel · 2023-09-21 at 11:32:

My current fav for private projects is Go. The language fulfills several top requirements of mine:

the language and the comprehensive standard library are stable (backwards compatible)

binary distribution is a first-class citizen: statically linked, simple cross-compilation

top-tier design of concurrency and parallelism: essential in a world of multi-core processors

garbage collection: this is a killer feature if you write a language interpreter

the overall feeling of good design. This could be the last major project of the grounding fathers generation (Thompson, Pike, Griesemer, Cox, Kernighan etc.).


🦋 karel · 2023-09-21 at 11:32:

On the downside, I don't like how the Go code profiler works: it takes regular snapshots of the execution stack; recording method entry and exit time stamps would be more accurate. I am also not very happy with new features (the new package management and generics) that increase complexity but are neither indispensable nor significantly increasing productivity: for what I do.


Original Post


🌒 s/programming

Whats your current favorite language? — Mine is currently Elixir and has been for a while. Elixir makes it easy to build complex apps and has so much built into it that I don't often need to reach for external dependencies.

💬 ahappydeath [mod] · 25 comments · 5 likes · 2023-07-29 · 10 months ago · #dart #elixir #nim #programming-languages #roc #rust

-- Response ended

-- Page fetched on Sun Jun 2 16:38:25 2024