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

OOP theory vs practice

lemmy.ml

message-square
52
fedilink
197

OOP theory vs practice

lemmy.ml

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

    Does external logging not happen outside of OOP?

    If so, why not?

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

      It does, hence why it breaks the paradigm.

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 months 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
          ·
          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.
Visibility: Public
globe

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

  • 202 users / day
  • 784 users / week
  • 1.81K users / month
  • 10.4K users / 6 months
  • 1 local subscriber
  • 35.6K subscribers
  • 1.67K Posts
  • 31.9K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org