- cross-posted to:
- askexplodingheads@exploding-heads.com
- cross-posted to:
- askexplodingheads@exploding-heads.com
Ask Lemmy:
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
Or it’ll give you nothing because it’s a fucking duplicate (of a tardigrade).
Asks Copilot
Copilot gives an answer pulled directly from Stack Overflow
Hey, it’s supposed to be acting like a programmer. Maybe copilot really is one of us 🤔
my question: what do you think of frogs?
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.
If you ask the compiler, it will only spit out a nonsensical wall of garbled mess
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.
I agree with this. I Heard good thingsaboiut Rust
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.