![](/static/253f0d9b/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/c0ed0a36-2496-4b4d-ac77-7d2fd7f2b5b7.png)
That sounds like a great boss, someone how is involved with what should be done but not always how, as long as the team deliver what is requested.
That sounds like a great boss, someone how is involved with what should be done but not always how, as long as the team deliver what is requested.
It would be a mess talking to anyone about time where you do not live.
Say that you wake up at 06:00, everyone understands. Remove all time zones and now you wake up at 14:53. Anyone not native to your location would have no clue where in the sky the sun is relative to you and what that actually means for your day.
Would 14:53 for you post removal be compared to 06:00 or 09:00 pre removal? What if oyu are porned post removal and do not have the frame of reference for the old system. How would you go about it then?
I can see the merit in keeping time zones.
If function does not return Result and returns just value directly, you (as a function caller) are guaranteed to always get a value, you can rely on there not being a failure that the function didn’t handle internally.
The difference being where you handle the error?
It sounds to me like Java works in kinda the same way. You either use throws Exception
and require the caller to handle the exception when it occurs, or you handle it yourself and return whatever makes sense when that happens (or whatever you want to do before you do a return). The main difference being how the error is delivered.
Java has class similar to Result called Optional.
Ah, so it is like a wrapper enum, ok
contains the data type you want and err
the error object?
deleted
I know Java and I am learning C#, I don’t feel like I can just send a few hours and be at the same level as I am with Java. There are a lot of things I do not know or understand yet with C#.
Can’t say I agree. It feels like an almost even 50/50 split between Java and C# when I look at job postings.
If I except a boolean, there is an error and get a Result, is Result an object? How do I know if I get a bool or error?
Still great for general use
I prefer hostage maps.
I never watch linked videos but this one was worth it.