News for hackers. Stuff that matters.
Re:Problems with Object/Relational Mapping (2006) by naasking on Sunday July 23, 2017 @12:52PM (#14833158)
1. You don't want components with encapsulated state at every level of your system.

2. Where you do want them, like at coarser service boundaries, virtually all general purpose languages have modules of some sort.

Re:Problems with Object/Relational Mapping (2006) by seanmcdirmid on Monday July 24, 2017 @02:08AM (#14836189)
1. Sure, most system are not made purely out of functions or purely out of objects.

2. If a module has state, is it not named with a noun, is not an object even if we try calling it an entity, an actor, or anything else?

Re:Problems with Object/Relational Mapping (2006) by naasking on Monday July 24, 2017 @09:07AM (#14838083)
> If a module has state, is it not named with a noun, is not an object even if we try calling it an entity, an actor, or anything else?

But we're talking about OOP, which is characterized by specific logical properties surrounding modelling, encapsulation and extension, not about colloquial terms like "objects" that are referred to by nouns.

Conflating colloquial language with the programming language is one of many reasons why OOP seems seductive but is often misleading.