Skip to content

[Discussion] Pure vs effectful classes #3

Description

@olleharstedt

Hi ho!

I started to think about this pattern again, but this time in more OOP terms, with regard to state, dependencies and pure vs effectful classes. I think it should be possible to distinguish between "functional core" classes and "imperative shell" dito.

Discussion on Reddit here: https://old.reddit.com/r/PHP/comments/n484hv/discussion_a_class_should_have_state_or/

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