311
Ask Lemmy (programming.dev)
top 11 comments
sorted by: hot top controversial new old
[-] simple@lemmy.mywire.xyz 21 points 1 year ago
[-] jflorez@sh.itjust.works 18 points 1 year ago

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

[-] GigglyBobble@kbin.social 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).

[-] orca@orcas.enjoying.yachts 10 points 1 year ago

Asks Copilot

Copilot gives an answer pulled directly from Stack Overflow

[-] LeylaaLovee@lemmy.fmhy.ml 3 points 1 year ago

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

[-] Little8Lost@feddit.de 5 points 1 year ago

my question: what do you think of frogs?

[-] Von_Broheim@programming.dev 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.

[-] someone_secret@burggit.moe 1 points 1 year ago

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

[-] Scraft161@iusearchlinux.fyi 6 points 1 year ago

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.

[-] someone_secret@burggit.moe 1 points 1 year ago

I agree with this. I Heard good thingsaboiut Rust

[-] Scraft161@iusearchlinux.fyi 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 ›
this post was submitted on 14 Jul 2023
311 points (97.8% liked)

Programmer Humor

19564 readers
1482 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