News for hackers. Stuff that matters.
Re:The use of `class` for things that should be simple free ... by crimsonalucard1 on Thursday May 28, 2020 @12:18PM (#23339056)
Well I mean would you rather have this:

    method(state){
        return doSomething(state)
    }
Or this:

   class A:
       otherThingThatMutatesState1()
       otherThingThatMutatesState2()
       otherThingThatMutatesState3()

       method(){
          this.state += 1 // or some other mutation
       }

There are no comments on this comment yet.