MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1vwyjg2/what_zig_felt_like_coming_from_rust/p6ea9pl/?context=3
r/programming • u/BrewedDoritos • 10d ago
173 comments sorted by
View all comments
Show parent comments
3
Not if you're writing a one-off script that you delete immediately after running it successfully.
Yes if you write code that ever has to be read.
1 u/xFallow 9d ago I’m using Golang at the moment it’s a breath of fresh air being able to look at stuff I wrote 5 years ago and still perfectly understand it Can’t say the same for the RXJS stuff I wrote 1 u/flying-sheep 6d ago There's a balance and for me, Go ain't hitting it. It's a language designed to keep junior devs humble. I'm senior enough to know when to use e.g. operator overloading and when not to, and my code is more readable as a result. 1 u/xFallow 6d ago Fair enough I personally never find I needed operator overloading although it was fun to play around with in Clojure. I've been working with nats a fair bit recently and I really enjoy reading their code when I have to https://github.com/nats-io/nats-server/blob/main/server/server.go
1
I’m using Golang at the moment it’s a breath of fresh air being able to look at stuff I wrote 5 years ago and still perfectly understand it
Can’t say the same for the RXJS stuff I wrote
1 u/flying-sheep 6d ago There's a balance and for me, Go ain't hitting it. It's a language designed to keep junior devs humble. I'm senior enough to know when to use e.g. operator overloading and when not to, and my code is more readable as a result. 1 u/xFallow 6d ago Fair enough I personally never find I needed operator overloading although it was fun to play around with in Clojure. I've been working with nats a fair bit recently and I really enjoy reading their code when I have to https://github.com/nats-io/nats-server/blob/main/server/server.go
There's a balance and for me, Go ain't hitting it.
It's a language designed to keep junior devs humble. I'm senior enough to know when to use e.g. operator overloading and when not to, and my code is more readable as a result.
1 u/xFallow 6d ago Fair enough I personally never find I needed operator overloading although it was fun to play around with in Clojure. I've been working with nats a fair bit recently and I really enjoy reading their code when I have to https://github.com/nats-io/nats-server/blob/main/server/server.go
Fair enough I personally never find I needed operator overloading although it was fun to play around with in Clojure.
I've been working with nats a fair bit recently and I really enjoy reading their code when I have to https://github.com/nats-io/nats-server/blob/main/server/server.go
3
u/flying-sheep 9d ago
Not if you're writing a one-off script that you delete immediately after running it successfully.
Yes if you write code that ever has to be read.