lemmy.net.au
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Programming@programming.devEnglish · 23 hours ago

How Long Should a Function Be? (And Why It’s the Wrong Question to Ask)

adamtornhill.substack.com

external-link
message-square
12
fedilink
20
external-link

How Long Should a Function Be? (And Why It’s the Wrong Question to Ask)

adamtornhill.substack.com

codeinabox@programming.dev to Programming@programming.devEnglish · 23 hours ago
message-square
12
fedilink
Function length is the wrong focus. What matters is how clearly your code communicates intent.
  • AnalogHole@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    Sufficiently DRY. Beyond that its pedantry.

Programming@programming.dev

programming@programming.dev

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: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

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

  • 333 users / day
  • 994 users / week
  • 1.01K users / month
  • 1.02K users / 6 months
  • 1 local subscriber
  • 26.7K subscribers
  • 130 Posts
  • 308 Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • UlrikHD@programming.dev
  • bugsmith@programming.dev
  • Spyro@programming.dev
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org