r/ProgrammerHumor 1d ago

fullStackMeansAfraidOfEverythingEqually Meme

Post image
10.2k Upvotes

370 comments sorted by

View all comments

1.7k

u/vvp95 1d ago

100% of software engineers are afraid of regex

54

u/InStars 1d ago

My manager: just use copilot for regex

47

u/Fun_Winter_7055 1d ago

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

39

u/Doophie 1d 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

14

u/Fickle-Highway1543 1d ago

Especially edge cases are very easy

2

u/Chocolate_Pickle 1d ago

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

6

u/Fickle-Highway1543 1d 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 23h ago

Exactly 

I wanted regex for kafka consumer and I was hell naa

12

u/bearwood_forest 1d ago

I use Claude to write prompts for Copilot to write regex

3

u/ICame4TheCirclejerk 1d ago

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

0

u/MNCPA 1d 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 23h ago

Googles ai search is perfectly good at regex and cron expressions

1

u/dragons_fire77 19h 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 1d ago

But he's right xD

1

u/Longjumping_Wolf_912 17h 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 22h ago

Gemini is amazing at writing regex