cm0002@lemmy.world to Programmer Humor@programming.dev · 9 days agowhat debugging regex feels likelemmy.mlexternal-linkmessage-square73fedilinkarrow-up1903arrow-down114cross-posted to: [email protected]
arrow-up1889arrow-down1external-linkwhat debugging regex feels likelemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 9 days agomessage-square73fedilinkcross-posted to: [email protected]
minus-squarechad@sh.itjust.workslinkfedilinkarrow-up2arrow-down2·8 days 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-squarepotustheplant@feddit.nllinkfedilinkarrow-up5·8 days 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.