@cm0002@lemmy.world to Programmer Humor@programming.dev • 4 months agowhat debugging regex feels likelemmy.mlimagemessage-square72fedilinkarrow-up1918arrow-down115cross-posted to: programmerhumor@lemmy.ml
arrow-up1903arrow-down1imagewhat debugging regex feels likelemmy.ml@cm0002@lemmy.world to Programmer Humor@programming.dev • 4 months agomessage-square72fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-square@chad@sh.itjust.workscakelinkfedilink0•4 months agoI fall in the abandon it camp. Code is read way more times than it is written. I’d rather read an algorithm that validates input than read a regex that validates input.
minus-square@potustheplant@feddit.nllinkfedilink5•4 months agoYou’re discussing a completely different use case from what I said. RegEx can be increidbly useful but it’s not always the only/best option.
I fall in the abandon it camp. Code is read way more times than it is written. I’d rather read an algorithm that validates input than read a regex that validates input.
You’re discussing a completely different use case from what I said. RegEx can be increidbly useful but it’s not always the only/best option.