Skip to content

Why are helpers defined with abstract + final  #2

@Cytotropist

Description

@Cytotropist

I've noticed almost all helpers in WTLHelper are defined like:

struct SomeHelper abstract final 
{
    static bool StaticMethod();
};

My current understanding is that this behaves just like a namespace right? I mean, we can't really instantiate (abstract) nor derive(final) from these helpers. I'm just curious why was this pattern chosen instead of a namespace? Regardless, I'm enjoying using this since I got started with WTL so thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions