357
you are viewing a single comment's thread
view the rest of the comments
[-] Ek-Hou-Van-Braai@piefed.social -1 points 3 days ago

I wish AI was never invented, but surely this isn't ture.

I've been able to solve coding issues that usually took me hours in minutes.

Wish it wasn't so, but it's been my reality

[-] Traister101@lemmy.today 5 points 3 days ago

LLMs making you code faster means your slow not LLMs fast

[-] Ek-Hou-Van-Braai@piefed.social -2 points 3 days ago

I doubt anyone can write complex regex in ~30 seconds, LLM's can

[-] vrighter@discuss.tchncs.de 5 points 2 days ago

yes they can. I regularly do. Regexes aren't hard to write, their logic is quite simple. They're hard to read, yes, but they are almost always one-offs (ex, substitutions in nvim).

[-] FizzyOrange@programming.dev -1 points 2 days ago

Regexes aren’t hard to write, their logic is quite simple.

He did say complex regex. A complex regex is not simple.

[-] vrighter@discuss.tchncs.de 4 points 2 days ago

yes, "complex" regexes are quite simple too. Complex regexes are long, not difficult. They appear complex because you have to "inline" everything. They really are not that hard.

[-] FizzyOrange@programming.dev 0 points 2 days ago

This is stupid pedantry. By that logic literally nothing is complex because everything is made up of simple parts.

[-] vrighter@discuss.tchncs.de 2 points 2 days ago

cryptic != complex. Are they cryptic? yes. Are they complex? not really, if you can understand "one or more" or "zero or more" and some other really simple concepts like "one of these" or "not one of these" or "this is optional". You could explain these to a child. It's only because they look cryptic that people think they are complex. Unless you start using backreferences and advanced concepts like those (which are not usually needed in most cases) they are very simple. long != complex

[-] FizzyOrange@programming.dev 1 points 2 days ago

Ok I can see you haven't actually come across any complex regexes yet...

(Which is probably a good thing tbh - if you're writing complex regexes you're doing it wrong.)

[-] vrighter@discuss.tchncs.de 1 points 2 days ago

i haven't come across many. But i have written a lot.

load more comments (16 replies)
load more comments (16 replies)
load more comments (17 replies)
this post was submitted on 12 Jul 2025
357 points (95.4% liked)

Programming

21571 readers
196 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS