Roman
sa-tre.bsky.social
Roman
@sa-tre.bsky.social
1996, Software Engineer, Studio Ghibli, Ace Combat, From Software, Physics, Cooking
GOOOOOD EVENING
January 3, 2025 at 10:49 PM
Water Spray Stop GIF
ALT: Water Spray Stop GIF
media.tenor.com
January 2, 2025 at 6:27 PM
We balling with this list
January 2, 2025 at 4:59 PM
Don't get me wrong, I agree completely, and I'd love to have something akin to Rust's stronger enum system to underpin errors, options, and pattern matching.

It does feel like you have to architect around the languages semantics
January 1, 2025 at 11:14 PM
Love the green
January 1, 2025 at 11:07 PM
This might be a consequence of trying to fit a square in a round hole or whatever the phrase is. Go very much lends itself to microservice architecture, within which your error mapping on your service looks more like checking the HTTP response code of another service, if that makes sense?
January 1, 2025 at 11:04 PM
Best remake
January 1, 2025 at 10:59 PM
You know, seeing stored procs with their earliest change log at 2003 doesn't seem so bad now
January 1, 2025 at 10:56 PM
Enforcing boundaries when you haven't done that before can come off as confrontational, but it isn't. You just have to be firm and make it clear you don't want them to be part of your life anymore. There's no need to discuss it at length, just state intentions and cut ties and communications
January 1, 2025 at 10:55 PM
If this is true, this is the funniest thing I've heard about VB. I need to laugh to cope with the pain of the legacy projects
January 1, 2025 at 10:51 PM
I swear this is a consequence of those tiktoks people were making a few years ago romanticising it for some reason. It's really not much to ask to be met with an open mind and no expectations of some type to fill
January 1, 2025 at 10:50 PM
Even if they make you write VB .NET or god help you, VB6?
January 1, 2025 at 10:47 PM
You could potentially still do this, but you might just have to hardwave details on the error and swap for an alternate at some point. This isn't something I've seen done in Go, and I'm not sure what use case it'd come up in? Sounds very OOP
January 1, 2025 at 10:46 PM
I think the intention really is to focus on then as more generic values that you keep a same error path for rather than more granular control where you might perform different control depending on the outcome. It's closer to an A then B, if it fails here then do this. Then proceed to next
January 1, 2025 at 10:45 PM
You also don't- there's no exhaustive checks required for matching errors. Onus is on the programmer here to do their homework properly
January 1, 2025 at 6:59 PM
You'd have to snoop the service package code and couple the handler to its internal error representations if any custom ones are made. It's not nearly as elegant as what rust can do with enums and error mapping, no. I wish
January 1, 2025 at 6:58 PM
Can't do it, I don't have object permanence so if I don't see people they don't exist until I'm reminded about them
January 1, 2025 at 5:29 PM
Always be an eternal learner if you can, the basics never end, and those foundational skills are always useful
January 1, 2025 at 5:21 PM
This kind of granular error handling isn't usually implemented. Usually you just return an error of some variation and you can potentially check it in the calling function to match it and do different things, but typically it'll just be going down error path or bubbling up from there
January 1, 2025 at 3:44 PM
Was alarmed that you've just started programming or something
January 1, 2025 at 3:41 PM
This aged like wine www.cve.org/CVERecord?id...
CVE Website
www.cve.org
January 1, 2025 at 3:37 PM
Corposlop straight from the source today

TS is a glorified vscode extension
January 1, 2025 at 1:11 PM