narshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 1 year agoFinding a years old project be likeiusearchlinux.fyiimagemessage-square42fedilinkarrow-up1381arrow-down118
arrow-up1363arrow-down1imageFinding a years old project be likeiusearchlinux.fyinarshee@iusearchlinux.fyi to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square42fedilink
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkEnglisharrow-up64·1 year agoFinding my own old projects: “What the hell did this guy do and why does it work?”
minus-squarenicman24@kbin.sociallinkfedilinkarrow-up31·1 year agothat is me with regex that I wrote from scratch like 5 mins ago
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up15·1 year ago“Finally! It works! I’ll never touch it again! I’ll just move it in a variable and–… WHYYYY???!?!11!”
minus-squared_k_bo@feddit.delinkfedilinkarrow-up10·1 year agoThat’s why I like to include a comment with a link to an example on regex101.com.
minus-squarefmstrat@lemmy.nowsci.comlinkfedilinkarrow-up2·1 year agoThis is so smart. I’m stealing this.
minus-squareBipta@kbin.sociallinkfedilinkarrow-up7·1 year agoCommenting regex fucking sucks. There’s really no good approach.
minus-squarenicman24@kbin.sociallinkfedilinkarrow-up2·1 year agohttps://github.com/nicman23/Automation-for-Molecular-Docking/blob/dc73355383fc3c9cb61df1f1ad4d2b1ba1a7001f/molport-downloader.sh#L13 #date
minus-squaretool@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoEvery regex that I write ends up looking like line noise or the holy tome to summon Chtulu.
Finding my own old projects: “What the hell did this guy do and why does it work?”
that is me with regex that I wrote from scratch like 5 mins ago
“Finally! It works! I’ll never touch it again! I’ll just move it in a variable and–… WHYYYY???!?!11!”
That’s why I like to include a comment with a link to an example on regex101.com.
This is so smart. I’m stealing this.
Commenting regex fucking sucks. There’s really no good approach.
// MAGIC?
https://github.com/nicman23/Automation-for-Molecular-Docking/blob/dc73355383fc3c9cb61df1f1ad4d2b1ba1a7001f/molport-downloader.sh#L13
#date
Every regex that I write ends up looking like line noise or the holy tome to summon Chtulu.