Skip to content

Instantly share code, notes, and snippets.

LucasAyabe

mas ou o título é muito click bait

Não entendo porque é clickbait, se eu estivesse apenas falando minha opinião e não apresentasse nenhuma referência para apoiar meu argumento, ai sim seria clickbait.

mas não apresentou muitos argumentos sobre os motivos que levam a isso, cada parágrafo apresenta um efeito, sem realmente mostrar que a OOP é a causa dele

Design Patterns are garbage

This is mostly a rant about some quotes from the book. Don't expect long chains of arguments, only brief commentary and personal reflections.

Yet experienced object-oriented designers do make good designs. Meanwhile new designers are overwhelmed by the options available and tend to fall back on non-object-oriented techniques they’ve used before. It takes a long time for novices to learn what good object-oriented design is all about.

Not true, OOP leads to bad design.

Christopher Alexander says, “Each pattern describes a problem which occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice”

type Movie = {
title: string
code: string
}
type Rental = {
movieID: string
days: number
}