@JamesWard I would say the go is super good for high level concurrency but it’s noisy and annoying at the low level. I added async reconnection to a golang library that had so many edge cases it was insane. But golang’s concurrency is not a leaky abstraction that pollutes the callstack.
@neogoose_btw Yeah this is a data impedance mismatch problem. Funnily enough what you’re asking for fits NoSQL a lot better. No matter what you’re going to have a parse step and as long as it’s more efficient than JSON you won’t see much of a meaningful improvement.
@Speedkicks This is sort of what OCaml is built around but on steroids It’s much better than typescript because things can type themselves if you have enough static types.
But to answer your question I always add them anyways because it’s easier to skim code and stops the occasional mistake
@emil_priver@ChShersh This just sounds like a bad code base. Cyclical dependencies means you’re doing something wrong with the architecture. Domains should be isolated and pure. When you do need multiple domain objects you should create another service to process them. DDD should look like a tree.
@_trish_xD It’s odd how fufilling it is when it works. I don’t know what’s wrong with me but getting a project to build is almost more fun than working on it.
@edandersen The required theology courses I took were pretty eye opening. There’s many events in the Bible that are historically verifiable. As for all the miracles, mythical story telling for teaching morales was commonplace back then. You can kinda choose what you want to believe.
@TheGingerBill My only issue with huge functions is keeping the scope of things in my head. I couldn’t imagine ever getting close to 1k loc but I work with Go. I could kinda see it for C though.
@LukasHozda Still not a huge fan of this theme but I also use light themes. I wish there were more better ones. Light themes contrast and readability is unmatched.
@pickle41968 @thdxr If you log bubbled up errors without providing context along the way with error wrapping. You’ll have a very hard time finding where the source of the actual error happened. So it’s not uncommon to do fmt.ErrorF(“FuncName: %w”, err) to more or less reinvent stack traces
@JustDeezGuy My biggest gripe with immutability is it’s not really how computers work. So no matter what you’re working at a highly abstracted level. With something like ocaml and mutability you can get that performance back.
@_trish_xD Ive done primarily Go and wrote out a production grade web server in Java for fun using a few frameworks. I was somewhat surprised with how productive it was to work with. After the initial tech stack was bootstrapped new features were trivial to add when compared to Go.
@TheGingerBill @Hasen_Judi I kinda see query builders like Jet as SQL 2.0. It still transforms into SQL under the hood but you get something that maps to your language of choice.