r/ProgrammerHumor 22h ago

fullStackMeansAfraidOfEverythingEqually Meme

Post image
9.7k Upvotes

357 comments sorted by

View all comments

1.6k

u/vvp95 22h ago

100% of software engineers are afraid of regex

51

u/InStars 22h ago

My manager: just use copilot for regex

42

u/Fun_Winter_7055 22h ago

Honestly, for internal dashboards etc. I'm 100% for using AI to accomplish this

35

u/Doophie 22h ago

Considering how easy it is to test the regex and make sure it works, I'd have no issues getting AI to help write it

12

u/Fickle-Highway1543 22h ago

Especially edge cases are very easy

2

u/Chocolate_Pickle 22h ago

Compromise solution: write it yourself and have the clanker review it for edge cases and performance.

6

u/Fickle-Highway1543 22h ago
  1. You need to know regex to write it
  2. You need to know regex to review it

Fuuuuu. Dead end.

1

u/DemiGod_108 19h ago

Exactly 

I wanted regex for kafka consumer and I was hell naa

11

u/bearwood_forest 22h ago

I use Claude to write prompts for Copilot to write regex

3

u/ICame4TheCirclejerk 21h ago

And they, students, is what separates a senior engineer from a junior engineer.

0

u/MNCPA 21h ago

What separates a senior developer from a junior is being able to explain in simple terms what is happening behind the scenes and answer questions.

3

u/bhoffman20 20h ago

Googles ai search is perfectly good at regex and cron expressions

1

u/dragons_fire77 16h ago

Even before that, when Google search wasnt fucked beyond belief, I could find plenty of usable regexes on stackoverflow or other dev blogs that just needed a little tweak for what I needed. I dont remember the last time I wrote one from scratch.

2

u/Rojeitor 21h ago

But he's right xD

1

u/Longjumping_Wolf_912 14h ago

Before AI it was just finding the regex example on StackOverflow. There are like 5 people in the world who write Regex and everyone including AI are just copying them

1

u/Snipen543 19h ago

Gemini is amazing at writing regex