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. XCquit[ESC][ESC]C

  • stebo
    link
    fedilink
    English
    62 years ago

    The best way I know to quit vi is by turning off your computer

  • Kerb
    link
    fedilink
    English
    32 years ago

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

  • Jim
    link
    fedilink
    English
    3
    edit-2
    2 years ago

    "I can read this Perl scrip"t should translate to “I’m lying”.

  • @a253040@midwest.social
    link
    fedilink
    English
    22 years ago

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

  • @nyan@lemmy.cafe
    link
    fedilink
    English
    12 years ago

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

  • @fizgigtiznalkie@lemmynsfw.com
    link
    fedilink
    English
    12 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.

  • @Gentoo1337@sh.itjust.works
    link
    fedilink
    English
    12 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”

  • @magmaus3@szmer.info
    link
    fedilink
    English
    12 years ago

    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