this post was submitted on 14 Jul 2023
311 points (97.8% liked)

Programmer Humor

19551 readers
1225 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 1 year ago
[–] [email protected] 18 points 1 year ago (1 children)

I’m sorry but stackoverflow will give you a tardigrade and swear to you that it was a frog when they tried it on their PC

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

Or it'll give you nothing because it's a fucking duplicate (of a tardigrade).

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

Asks Copilot

Copilot gives an answer pulled directly from Stack Overflow

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

Hey, it's supposed to be acting like a programmer. Maybe copilot really is one of us 🤔

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

my question: what do you think of frogs?

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

I find ChatGPT more coherent than stackoverflow in many cases. Sure it hallucinates and sometimes acts like it has dementia but at the very least it won't write 5 paragraphs about how the framework behind my issue works without giving any examples.

Stackoverflow is good for finding alternative approaches, getting explanations for how stuff works in the framework, and error investigations. Useless for getting information on stuff you don't already know.

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

If you ask the compiler, it will only spit out a nonsensical wall of garbled mess

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

I suggest you give rust a shot then, they made their compiler produce meaningful errors with suggestions on how to fix your code and due to its restrictiveness many runtime errors become compiler errors.

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

I agree with this. I Heard good thingsaboiut Rust

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

I highly recommend you give it a shot, it's a modern day programming language with high level features and the speed of C that encourages memory safe code and gives you the option not to if there is something you need to do that doesn't adhere to its rules.

Rust can be verbose at times though, but it helps make sure you know what a function takes and how it returns data. It even has the fastest regex library on the planet thanks to it's extensive type system.

If you want to get started their book has you covered and will guide you through the basics, or you can try rustlings for a more hands on approach.

Lastly I will recommend you check out "no boilerplate" on YouTube if you want a nice video series on the various things in rust and how they are there to help you.

load more comments
view more: next ›