this post was submitted on 14 Jul 2023
317 points (99.7% liked)

Programmer Humor

18470 readers
1125 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] someone_secret@burggit.moe 1 points 1 year ago (1 children)

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

[–] Scraft161@iusearchlinux.fyi 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.

[–] someone_secret@burggit.moe 1 points 1 year ago (1 children)

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.