Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RonSijm@programming.dev to Programmer Humor@programming.devEnglish · 1 年前

Whatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewrite

programming.dev

message-square
89
fedilink
599

Whatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewrite

programming.dev

RonSijm@programming.dev to Programmer Humor@programming.devEnglish · 1 年前
message-square
89
fedilink
  • popcar2@programming.dev
    link
    fedilink
    arrow-up
    25
    ·
    1 年前

    inexperienced big brain developer see nested loop and often say “O(n^2)? Not on my watch!”

    complexity demon spirit smile

    This hits too close to home.

    • magic_lobster_party@kbin.run
      link
      fedilink
      arrow-up
      23
      ·
      1 年前

      New code is O(n log n), but the time benefits only kicks in when n is above 1 trillion. Otherwise it’s much slower.

      • Beanie@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        1 年前

        And 90% of the time, n is about 3

        • jdeath@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 年前

          and 99.9% of the time it is less than 10

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

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.

  • 997 users / day
  • 3.41K users / week
  • 8.73K users / month
  • 19.5K users / 6 months
  • 197 local subscribers
  • 26.1K subscribers
  • 1.72K Posts
  • 63.9K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org