Dendarii
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
narshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 2 years ago

Finding a years old project be like

iusearchlinux.fyi

message-square
65
fedilink
418

Finding a years old project be like

iusearchlinux.fyi

narshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
65
fedilink
  • 𝘋𝘪𝘳𝘬@lemmy.ml
    link
    fedilink
    English
    arrow-up
    74
    ·
    2 years ago

    Finding my own old projects: “What the hell did this guy do and why does it work?”

    • nicman24@kbin.social
      link
      fedilink
      arrow-up
      40
      ·
      2 years ago

      that is me with regex that I wrote from scratch like 5 mins ago

      • 𝘋𝘪𝘳𝘬@lemmy.ml
        link
        fedilink
        arrow-up
        21
        ·
        2 years ago

        “Finally! It works! I’ll never touch it again! I’ll just move it in a variable and–… WHYYYY???!?!11!”

        • fmstrat@lemmy.nowsci.com
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          Its always the backslash before the forward slash. Every. Time.

      • d_k_bo@feddit.de
        link
        fedilink
        arrow-up
        12
        ·
        2 years ago

        That’s why I like to include a comment with a link to an example on regex101.com.

        • fmstrat@lemmy.nowsci.com
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          This is so smart. I’m stealing this.

      • Bipta@kbin.social
        link
        fedilink
        arrow-up
        10
        ·
        2 years ago

        Commenting regex fucking sucks. There’s really no good approach.

        • Regular Human@lemmy.world
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          2 years ago

          // MAGIC?

          • nicman24@kbin.social
            link
            fedilink
            arrow-up
            2
            ·
            2 years ago

            https://github.com/nicman23/Automation-for-Molecular-Docking/blob/dc73355383fc3c9cb61df1f1ad4d2b1ba1a7001f/molport-downloader.sh#L13

            #date

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

        Every regex that I write ends up looking like line noise or the holy tome to summon Chtulu.

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

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.

  • 11 users / day
  • 38 users / week
  • 181 users / month
  • 1.6K users / 6 months
  • 0 local subscribers
  • 35.6K subscribers
  • 1.78K Posts
  • 36.8K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org