once again thinking about how horribly object-oriented programming is taught to new programmers

hot take: teaching OOP with examples like `class Cat extends Animal` betrays a basic lack of understanding and should get you banned from teaching anyone about anything, especially programming

@joe_no_body And honestly, maybe even don't teach OOP unless there's a compelling reason.

There are a lot of other models for composability that work a lot better in a lot of circumstances.

@mtomczak haha that's exactly the direction I was heading in before I got distracted

in a very pure sense I agree, although there are some wrinkles. my general view is that people should learn procedural programming, then functional, then OOP, using higher-order functions to understand composition and closures to understand the idea of objects with their own scope and variables

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.