Stories
Slash Boxes
Comments

SoylentNews is people

posted by chromas on Wednesday August 22 2018, @09:22PM   Printer-friendly
from the :wq dept.

Over at The New Stack is a brief but entertaining history of the editor vi and Vim.

"The editor was optimized so that you could edit and feel productive when it was painting slower than you could think. Now that computers are so much faster than you can think, nobody understands this anymore," Joy said. "It was a world that is now extinct. People don't know that vi was written for a world that doesn't exist anymore."


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by JoeMerchant on Wednesday August 22 2018, @11:01PM

    by JoeMerchant (3937) on Wednesday August 22 2018, @11:01PM (#724928)

    do a complex regex replace

    Nifty stuff, for those who speak regex... When I use regex, or sed or similar, it's a Google search for what x expression does "human description", like remove excess white space, or transform new lines to spaces, etc.

    Rather than try to hand manipulate large files with languages like regex, I prefer to generate large files programatically from smaller definitions of what goes in those files... If the pattern needs to change, change the translator code and run it again, and again, and again until it looks right. Then, extending the pattern with new definitions is a reliable operation.

    --
    🌻🌻 [google.com]
    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2