ThinkTank
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 18 days ago

Uncle Bob becoming even worse:

lemmy.world

message-square
226
link
fedilink
538

Uncle Bob becoming even worse:

lemmy.world

ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 18 days ago
message-square
226
link
fedilink
  • pivot_root@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    18 days ago

    People don’t like tracing what something is doing across seven 12-line functions spread through multiple files?

    Fry shocked gif

    • Feyd@programming.dev
      link
      fedilink
      arrow-up
      11
      ·
      18 days ago

      The code had the single responsibility to waste your time

    • Prunebutt@slrpnk.net
      link
      fedilink
      arrow-up
      8
      ·
      18 days ago

      He’d probably say that 12 lines is waaaay too much!

      • vanillama@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        18 days ago

        Yeah, he’d break it into 12 methods that call each other one after the other instead

    • Noxy@pawb.social
      link
      fedilink
      English
      arrow-up
      3
      ·
      18 days ago

      What suggestion of his is related to that, just out of sheer curiosity?

      • cbazero@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        18 days ago

        He says a function should never be longer than 4 lines (in his Clean Code book).

        • Noxy@pawb.social
          link
          fedilink
          English
          arrow-up
          1
          ·
          17 days ago

          that’s kinda silly!!

Programmer Humor@programming.dev

programmer_humor@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: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

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

  • 1.01K users / day
  • 4.35K users / week
  • 8.19K users / month
  • 13.4K users / 6 months
  • 1 local subscriber
  • 32.7K subscribers
  • 698 Posts
  • 10.8K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org