IMHO, it's a horrible hack that is just broken. It's obscure and we need to rewrite it because it has a bad structure. ^X^Cquit^[ESC][ESC]^C

all 41 comments

sorted by: hot top controversial new old
[+] 48 points 3 years ago* (last edited 1 year ago) (10 children)
  • [–] 32 points 3 years ago (5 children)
  • [–] 38 points 3 years ago

    I'm one of those people who think that Perl is a write-only language
    -Linus torvalds

  • source
  • [–] 35 points 3 years ago* (last edited 3 years ago)

    "I can read this Perl scrip"t should translate to "I'm lying".

  • source
  • [–] 28 points 3 years ago (4 children)

    ESC + :q!

    ESC to enter normal mode (if you're in a different mode like insert) : (colon) to enter commands q to quit ! (or a) to use the quit command withiut keeping any changes

  • source
  • hideshow 4 child comments
  • [–] 21 points 3 years ago (1 child)

    The first phrase spoken when opening a new project, be it yours or someone elses... "What the fuck..."

  • source
  • hideshow 1 child comment
  • [–] 19 points 3 years ago

    I can't read this perl script may also apply to something you wrote last week.

  • source
  • [–] 15 points 3 years ago

    I'm absolutely guilty of self-documenting code, but mostly because I'm sick of everyone else's lying comments.

  • source
  • [–] 13 points 3 years ago

    "The reason I use Perl is because I wanna write scripts that no one can read and no one can understand so that I can keep my job"

  • source
  • [–] 11 points 3 years ago* (2 children)

    IMHO it's a complex, temporary work around with a few issues.

    Also vim > emacs

  • source
  • hideshow 2 child comments
  • [–] 9 points 3 years ago

    Hey, now. It is possible to write readable Perl code—it's just less interesting that way. 😜

  • source
  • [–] 8 points 3 years ago

    Self documenting: my code doesn't NEED comments

  • source
  • [–] 6 points 3 years ago
    [–] 5 points 3 years ago

    The Perl one has got me:)

  • source
  • [–] 5 points 3 years ago

    Sometimes I like to pack the most functionality into a single, hard to read one-liner, just for fun. In review I’ll admit “it’s a little bit abstruse”.

  • source
  • [–] 3 points 3 years ago (1 child)

    Of course, the correct way to quit Vi is ^Zpkill vi.

  • source
  • hideshow 1 child comment
  • [–] 2 points 3 years ago

    Good reference with lots of truth. Maybe, I should print it before having a meeting with other tech teams.

  • source
  • [–] 2 points 3 years ago

    Emacs babyyyy

  • source
  • [–] 1 point 3 years ago

    I've been seeing a lot of Perl jokes lately and as far as legacy code I haven't had to edit anything written in that in 25 or so years. For those that haven't used it, getting form variables and rudimentary things like that were like equivalent to regular expressions, everything had some obscure expression you had to look up or copy paste.

  • source
  • [+] -1 points 3 years ago
    [+] -1 points 3 years ago
    [+] -1 points 3 years ago
    [+] -1 points 3 years ago
    [+] -1 points 3 years ago