Viewing profile — horrido
horrido
HN member- Joined
- Sun, Oct 05, 2014, 2:30 AM UTC
- HN karma
- 275
- Public activity
- 141 items
- HN profile
- View on Hacker News ↗
About horrido
No profile information was provided.
Recent public activity
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
- story
-
comment
Comment #14237878
The word "own" is pretty meaningless. What does "own" even mean? Classes and objects (thought of as "types") are an organizing principle for organizing your functions. If you didn'…
- story
-
comment
Comment #14235438
And why is "common discussion" technically relevant? This is not a fault of OOP but of education.
-
comment
Comment #14235099
It's Uncle Bob who says objects are bags of functions. And this is not specific to Smalltalk nor dynamic languages. In Java, C#, and C++, objects are still just bags of functions.
-
comment
Comment #14235077
Nothing prevents an object's methods from being referentially transparent. It just depends on how you choose to write them.
-
comment
Comment #14235067
Starting points matter, but this depends on the programming situation. That's why you use OOP or FP where it is most appropriate or suitable . Neither OOP nor FP is a panacea. Neit…
-
comment
Comment #14235022
Inheritance is not a strict requirement of OOP. In OOP, you can always use composition, in which case the question also never arises. Inheritance is there if you need it . It's an …
-
comment
Comment #14235003
It has nothing to do with ownership. In FP, a function can only operate on data of a particular type. In OOP, a particular type (or class) gathers all the applicable functions (or …
- story
-
comment
Comment #14013435
Nice! Would you mind if I used this?
- story