dormi.zone
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 6 months ago

OOP theory vs practice

lemmy.ml

message-square
52
fedilink
200

OOP theory vs practice

lemmy.ml

☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 6 months ago
message-square
52
fedilink
  • The Ramen Dutchman
    link
    fedilink
    8•6 months ago

    Does external logging not happen outside of OOP?

    If so, why not?

    • ☆ Yσɠƚԋσʂ ☆OP
      link
      fedilink
      7•6 months ago

      It does, hence why it breaks the paradigm.

      • The Ramen Dutchman
        link
        fedilink
        English
        1•6 months ago

        The paradigm breaks if anything is logged?

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

        • ☆ Yσɠƚԋσʂ ☆OP
          link
          fedilink
          1•6 months 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.
  • 1.03K users / day
  • 1.47K users / week
  • 2.18K users / month
  • 10.1K users / 6 months
  • 35.6K subscribers
  • 1.71K Posts
  • 37.6K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org