fed.dyne.org
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago

object.setobject(object.getobject().object).to_object()

lemmy.world

message-square
3
link
fedilink
0

object.setobject(object.getobject().object).to_object()

lemmy.world

hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.ml · 2 years ago
message-square
3
link
fedilink
alert-triangle
You must log in or register to comment.
  • apprehentice@lemmy.enchanted.social
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Imagine not using a language with setters and getter built in lol

  • DarthFrodo@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    The neat thing is, you can add stuff like range checks and logging for getters and setters without changing every call. Separation of concerns is also vital in larger projects.

    • hairinmybellybutt@lemmy.worldOP
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      2 years ago

      typical OOP progaganda

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.

  • 54 users / day
  • 533 users / week
  • 1.7K users / month
  • 10.5K users / 6 months
  • 2 local subscribers
  • 35.6K subscribers
  • 1.55K Posts
  • 27.4K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org