this post was submitted on 29 Aug 2023
30 points (72.1% liked)

Programmer Humor

32426 readers
852 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
all 30 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 1 year ago* (last edited 1 year ago) (1 children)
[–] [email protected] 6 points 1 year ago

Hi there! Your text contains links to other Lemmy communities, here are correct links for Lemmy users: [email protected], [email protected]

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

Fuck Javascript!
Marry Javascript!
Kill Javascript!

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

Bro gets it

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

CommunityLinkFixer bot is gonna have a field trip on this one 😭🀣

I'm not familiar with Go or Rust but...

K Go (made by Google), F TypeScript, M Rust

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

Fuck TypeScript, Marry Rust, Kill Go.

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

C C C

Gosh, I love and hate C.

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

Fuck Rust

Marry Rust

Kill Rust (struggling with borrow checker and lifetimes btw)

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

Hot take:
Fuck TS, marry Go, kill Rust.

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

So what's your Go compiler and browser written in?

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

I was under the impression that the Go compiler was written in C/C++, though don't quote me on this one. My browser however is Firefox, so touchΓ© on that one.

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

It's either C/C++ or Rust, right? And the thing about Cu̎윈

Segmentation fault

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

There's plenty of applications that aren't critical enough to require precise memory management and where a GC is a worthy tradeoff for the simplicity that Go brings to the table, but sure, if you are interested in going super low level that's what you are left to work with.

And it's probably fine. If I had to pick between C++ and Rust I would choose the latter any day of the week but thankfully not every developer has to go that low.

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

Oh yeah, don't get me wrong higher-level languages have a place. C and I assume Rust are no good if you just want to hack a simple thing together. Low-level languages are bad is indeed a hot take, though, and I've fully bought into the Rust hype, at least vs. C/C++.

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

Nah I didn't say that it's bad lol. Didn't mean it that way, at least. The way I understand the "fuck, marry, kill" game is that:

  • Fuck: down to play with it every once in a while
  • Marry: always down to use it
  • Kill: never want to use it

but if someone else wants to play with Rust who am I to stop them

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

Kill TypeScript, then stomp on its dead body, burn it to ashes, put it in a lead container and send it to the bottom of the Mariana Trench.

Fuck or Marry either of the other two.

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

Fuck go

Marry typescript

Kill rust

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

Ummm, did you like... wait 6 years just to post this?

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

Kill typescript, fuck rust, marry go

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

@defcon201 @defcon @programmerhumor @TypeScript @rust @golang

Fuck TS, marry Rust, kill Go (but only because I have to kill one, never used it)

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

So you’ve used TS and wouldn’t opt to kill it?!

Tbh I’ve only used JS and don’t know how different JS and TS are outside the typing.

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

@NightAuthor πŸ˜… I'd kill JS in a heartbeat, and you wouldn't even need to ask me. TBH I'd kill any language

But there's a world of difference with TS, typings and compile-time checks make it a very nice and robust language to work with

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

Hi there! Your text contains links to other Lemmy communities, here are correct links for Lemmy users: [email protected], [email protected]

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

fuck ts, marry go, kill rust (no language should have magic returns...and its pretty close to unreadable)

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

I wish implicit returns could be turned into an error in the configs of a project. It was impopular at the time and probably still is outside of Rust, it permeated through every control structure because of how the language is designed, but the worst part is how unnecessary it was

It would've cost nothing not to do it

It would've made no one upset

Now Rust is the only language to do what it does - and it has this shit in it