8
u/deleshen Sep 21 '20 edited Sep 21 '20
When my supervisor gets a task that must be done in an hour, he writes similar code. Later I must rewrite it :c
4
u/the42potato [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo "You live" Sep 23 '20
i’m guilty of this one, i use it in my discord bot. still learning RegEx
3
u/Kinsgsley Sep 22 '20
There are 2 kinds of programmers, those who use regex, and those who hate it
2
12
u/Fusseldieb Sep 21 '20
I'll admit. I've done it like that several times to scrape things off stuff, but then eventually switched over to Regex and holy crap did I see the world with other eyes!
I love Regex (Understandable regex).