Lemmings.world
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
pnutzh4x0r@lemmy.ndlug.org to Programming@programming.devEnglish · 2 years ago

Linear code is more readable

blog.separateconcerns.com

external-link
message-square
46
link
fedilink
  • cross-posted to:
  • hackernews@derp.foo
110
external-link

Linear code is more readable

blog.separateconcerns.com

pnutzh4x0r@lemmy.ndlug.org to Programming@programming.devEnglish · 2 years ago
message-square
46
link
fedilink
  • cross-posted to:
  • hackernews@derp.foo
Code linearity is more desireable than keeping abstraction layers separate.
  • dylanTheDeveloper@lemmy.world
    link
    fedilink
    arrow-up
    12
    ·
    2 years ago

    I put all my code in a single file and use goto statements just to make people mad

    • Velascou@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      Damn, I have a lot to learn as a junior dev

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

      Personally, I prefer to do the opposite and break things up until my import is longer than my code

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.

  • 88 users / day
  • 1.03K users / week
  • 2.94K users / month
  • 7.12K users / 6 months
  • 71 local subscribers
  • 20.1K subscribers
  • 2.15K Posts
  • 33.2K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • MaungaHikoi@lemmy.nz
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org