narshee to Programmer Humor@lemmy.mlEnglish • 2 years agoFinding a years old project be likeiusearchlinux.fyiimagemessage-square60fedilinkarrow-up1424arrow-down119
arrow-up1405arrow-down1imageFinding a years old project be likeiusearchlinux.fyinarshee to Programmer Humor@lemmy.mlEnglish • 2 years agomessage-square60fedilink
minus-square𝘋𝘪𝘳𝘬linkfedilinkEnglish71•2 years agoFinding my own old projects: “What the hell did this guy do and why does it work?”
minus-squarenicman24linkfedilink38•2 years agothat is me with regex that I wrote from scratch like 5 mins ago
minus-square𝘋𝘪𝘳𝘬linkfedilink20•2 years ago“Finally! It works! I’ll never touch it again! I’ll just move it in a variable and–… WHYYYY???!?!11!”
minus-squarefmstratlinkfedilink2•2 years agoIts always the backslash before the forward slash. Every. Time.
minus-square@d_k_bo@feddit.delinkfedilink11•2 years agoThat’s why I like to include a comment with a link to an example on regex101.com.
minus-squareBiptalinkfedilink10•2 years agoCommenting regex fucking sucks. There’s really no good approach.
minus-squarenicman24linkfedilink2•2 years agohttps://github.com/nicman23/Automation-for-Molecular-Docking/blob/dc73355383fc3c9cb61df1f1ad4d2b1ba1a7001f/molport-downloader.sh#L13 #date
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!”
Its always the backslash before the forward slash. Every. Time.
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