416
you are viewing a single comment's thread
view the rest of the comments
[-] Dirk@lemmy.ml 74 points 1 year ago

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

[-] nicman24@kbin.social 40 points 1 year ago

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

[-] Dirk@lemmy.ml 21 points 1 year 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 2 points 1 year ago

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

[-] d_k_bo@feddit.de 12 points 1 year ago

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

[-] fmstrat@lemmy.nowsci.com 3 points 1 year ago

This is so smart. I'm stealing this.

[-] tool@lemmy.world 1 points 1 year ago

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

this post was submitted on 27 Jul 2023
416 points (95.8% liked)

Programmer Humor

32380 readers
1359 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS