For this example, I feel that it is actually fairly ergonomic in languages that have an Option
type (like Rust), which can either be Some
value or no value (None
), and don’t normally have null
as a concept. It normalizes explicitly dealing with the None instead of having null
or hidden empty strings and such.
- 1 Post
- 7 Comments
HER0@beehaw.orgto Linux Gaming@lemmy.ml•[Solved] Is streaming to the deck supposed to "just work"?1·29 days agoThe Steam Deck compatibility notes for the game specifically say that it isn’t good at handling multiple controllers:
This game does not default to external Bluetooth/USB controllers on Deck, and may require manually switching the active controller via the Quick Access Menu
I think it is likely that this problem comes from the game, not a problem with streaming sending the inputs. You can try testing this in another game with more flexible controller support to narrow it down.
Remote Wayland, no, as it isn’t network transparent like X11 is. You can still do remote desktops, though, usually with RDP or VNC. On the popular modern toolkits, this works out about the same, since drawing applications through X11 is not so common anymore.
Personally, the main thing keeping me on Xorg is support for global keybinds. Plasma and GNOME both have support for the XDG portal which mostly addresses this, but apps still needs to adopt it. Plasma also has a workaround for global keybindings, but I don’t use that. Sway doesn’t have any good solutions for this last time I checked.
Overall, I like Wayland more but I need support for global keybindings for at least a couple programs I regularly use.
Does the Mass Effect 3 multiplayer count, then? There are RPG elements, there are a bunch of playable women, and it is all about stomping hordes.
If this sounds appealing and you aren’t already aware: this is not available in the remaster. Andromeda has a version of this, too.
Arma is an interesting example. I’d say that it is only an open world game in some scenarios, and often times is a linear game that happens to have a big map and sandbox.
In any case, I’d agree that it having a large world with many possibilities is important for the gameplay and ability to mod/create content across the maps.
It is fair to have a preference for exceptions. It sounds like there may be a misunderstanding on how
Option
works.Have you used languages that didn’t have
null
and hadOption
instead? If we look at Rust, you can’t forget not to check it: it is impossible to get theSome
of anOption
without dealing with theNone
. You can’t forget this. You can mess up in a lot of other ways, but you explicitly have to decide how to handle that potentialNone
case.If you want it to fail fast and obvious, there are ways to do this. For example you, you can use the
unwrap()
method to get the containedSome
value or panic if it isNone
,expect()
to do the same but with a custom panic message, the?
operator to get the containedSome
value or return the function withNone
, etc. Tangentially, these also work forResult
, which can beOk
orErr
.It is pretty common to use these methods in places where you always want to fail somewhere that you don’t expect should have a
None
or where you don’t want your code to deal with the consequences of something unexpected. You have decided this and live with the consequences, instead of it implicitly happening/you forgetting to deal with it.