Norbi's Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years ago

OOP theory vs practice

lemmy.ml

message-square
63
link
fedilink
197

OOP theory vs practice

lemmy.ml

☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
63
link
fedilink
  • The Ramen Dutchman@ttrpg.network
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    Does external logging not happen outside of OOP?

    If so, why not?

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      It does, hence why it breaks the paradigm.

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

        The paradigm breaks if anything is logged?

        I feel like I’m missing a few steps in the logic.

        • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          Logging tends to happen as a side effect that’s completely outside the whole class hierarchy.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 178 users / day
  • 889 users / week
  • 1.82K users / month
  • 5.64K users / 6 months
  • 1 local subscriber
  • 42.2K subscribers
  • 1.49K Posts
  • 19.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org