dragon.style is part of the decentralized social network powered by Mastodon.
I'm a grumpy queer dragon lady and this is my quiet cave for me and some friends.

Server stats:

81
active users

Learn more

Light NSFW, C#

public sealed class SwitchSystem : ISubSystem, IDomSystem
{
var sub = new SubSystem();
var dom = new DomSystem();
}

Light NSFW, C#

@synthcryptid ... see I'm just reading this as a plurality joke.
... unless it is a plurality joke

Light NSFW, C#

@Aether

We see it now and honestly that interpretation Goes Hard

re: Light NSFW, C#

@synthcryptid @Aether what was the *intended* interpretation, because we don't see any other?
-F

re: Light NSFW, C#

@Felthry @Aether

It's how one defines a class in C# that inherits from multiple classes! Truncated for brevity, of course (Since this can only be done via interfaces, the resulting class *must* define all functions in the interfaces it's inheriting. Traditionally, this ends up being done by creating the "inherited" classes within the new class, and passing functions to either as needed). This is done to the standards of defining systems within an ECS structure (only systems can have code in ECS), and thus they are labelled accordingly.

Basically, stripping the joke down to its bare essence: Switch = Sub & Dom!

re: Light NSFW, C#

@synthcryptid @Aether what are the "system" words for then?
-F

re: Light NSFW, C#

@Felthry @Aether

Adherence to standards!~ :dragnmlem:

In an ECS structure, it's expected that entities, systems, and components are strictly separated and labelled as such in their definitions for ease of clarity of what something does (entities contain only components, components contain only data, and systems contain only code!)

While writing it as though it's a part of an ECS codebase isn't entirely necessary for the joke (C# is often used for OOP, as well!), it does leave room for a Very powerful alternate interpretation!

re: Light NSFW, C#

@synthcryptid @Aether we do hardware and avoid software whenever possible, so i barely understand what you just said!
-F

re: Light NSFW, C#

@Felthry @Aether

vERY understandable!! We wish we knew more about hardware stuff ourself; we feel like there's probably some way to make an analogy there!

Aether System

re: Light NSFW, C#

@synthcryptid @Felthry And we're over here as a game dev (or at least someone that doesn't know C#) just like "uh huh yes, hmm, sure" *sips hot drink*