The following gif demonstrates folding:

  • HayadSont@discuss.onlineOP
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    Interesting insights. Much appreciated!

    I DO like to code via ED because the design and workflow of ED (or even better: Sam) makes folding unnecessary because you only put on the screen what is needed right at that moment. Want to see two functions 1000 lines apart? No problem, just print them right below each other on the screen.

    Hmm…, I suppose this is a workflow I’d have to try out for myself before drawing any conclusions. Though, I got some questions:

    • Why ed? Isn’t any other TUI/CLI text editor fit for the job? Apologies if I sound obtuse/obnoxious*. I’m probably just very ignorant of how ed fares compared to the others.
    • Is there any currently maintained version of Sam? A quick search suggests that everyone packaged/grabbed it from this github repo. But, unfortunately, that one has been archived since earlier this year. I suppose I could look into the many forks it has, but I’d rather be picky 😅. Got any pointers for me?
    • the_wiz@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      7 hours ago

      Why ed? Well, it keeps my brain from rotting 😀 just half joking… i have noticed that whenever i use a somewhat more “user friendly” software my mind starts to wander off more easily and instead of being more focussed on the programming task i shortly after find myself doing… $THING instead of being productive. So, being the only jack-of-all-trades-computer-guy in a small-ish company i tend to chose the tools that work for me, even if they are a bit… anachronistic.

      I think the best maintained version of Sam would be the one included in 9front (if you want some truely special experience) or if you want to stay (somewhat) in the realm of the sane you can use plan9port which also brings in many nice tools out of the Plan9 ecosystem.