News for hackers. Stuff that matters.
Re:The Case Against OOP Is Wildly Overstated by JackMorgan on Friday July 31, 2020 @11:49AM (#24009883)
Separating functions and state has nothing to do with the type system. Otherwise how could you put types on the parameters to static functions? Check out F#, OCaml, or Haskell for plenty of examples of how you can have strong static types without mixing state and functions in a scope together.
Re:The Case Against OOP Is Wildly Overstated by jayd16 on Friday July 31, 2020 @12:49PM (#24010552)
>Otherwise how could you put types on the parameters to static functions?

Object methods are just sugar for this, so whats the difference to you? When you say "separate" do you mean you just want it in different files? Different curly braces? Different namespaces?

Is it inheritance and virtual functions?