12
copper
8y

How to deal with legacy code when you see such thing:

if function() == !!!false

1. Ctrl+A
2. Del
3. rm -rfv /

Comments
  • 1
    Sorry I'm not good with Linux, is that if the function is false, delete everything? 😂
  • 2
    @magis

    Things like "!!!!!!!!True" are code cancer.
    The "rm -rfv /" is the cure :))
  • 3
    the best option is actually "rm -rf / --no-preserve-root". Works every single time.
Add Comment