D•Scribe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 个月前

OOP theory vs practice

lemmy.ml

message-square
52
fedilink
196

OOP theory vs practice

lemmy.ml

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

    Does external logging not happen outside of OOP?

    If so, why not?

    • ☆ Yσɠƚԋσʂ ☆@lemmy.mlOP
      link
      fedilink
      arrow-up
      7
      ·
      7 个月前

      It does, hence why it breaks the paradigm.

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 个月前

        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
          ·
          7 个月前

          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.

  • 361 users / day
  • 820 users / week
  • 3.37K users / month
  • 9.96K users / 6 months
  • 9 local subscribers
  • 36.2K subscribers
  • 1.46K Posts
  • 21.6K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • UI: unknown version
  • BE: 0.19.9
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org