this post was submitted on 31 Aug 2023
64 points (97.1% liked)
Programming
17313 readers
676 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Go is a great language. I used it a few times when dealing with bugs in open source programs. And though I never used it besides that, I could spot and fix these easy issues fast.
Rust is not like that. The syntax is a little harder to read and a lot of widely used libraries use complex macros to ease their users lives.
But:
I cannot count the times rust has saved my ass.
Examples:
Sqlx checks my sql files against a local test-db and always errors, when my scripts miss parameters after changing the sql file.
I have to use a complicated mess of an API at work to get the data I need and I now use a 50-60 element enum that tells me exactly, what I got back from the API-calls.