Live data from Hacker News

Viewing profile — horrido

horrido

HN member
Joined
Sun, Oct 05, 2014, 2:30 AM UTC
HN karma
275
Public activity
141 items

About horrido

No profile information was provided.

Recent public activity

  1. story
  2. story
  3. story
  4. story
  5. story
  6. story
  7. story
  8. story
  9. story
  10. story
  11. story
  12. story
  13. story
  14. story
  15. 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'…

  16. story
  17. comment
    Comment #14235438

    And why is "common discussion" technically relevant? This is not a fault of OOP but of education.

  18. 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.

  19. comment
    Comment #14235077

    Nothing prevents an object's methods from being referentially transparent. It just depends on how you choose to write them.

  20. 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…

  21. 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 …

  22. 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 …

  23. story
  24. comment
    Comment #14013435

    Nice! Would you mind if I used this?

  25. story