You are viewing a single thread.
View all comments
74 points

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

permalink
report
reply
40 points

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

permalink
report
parent
reply
21 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
12 points

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

permalink
report
parent
reply
3 points

This is so smart. I’m stealing this.

permalink
report
parent
reply
10 points

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

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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.

Community stats

  • 6.5K

    Monthly active users

  • 1.4K

    Posts

  • 32K

    Comments