I regret nothing. Say what you want.

Edit: I just saw the two typos. If you find them, you’re welcome to keep them.

  • unalivejoy
    link
    fedilink
    English
    121 month ago

    text editor application that came with Ubuntu

    nano

    shivers

  • @[email protected]
    link
    fedilink
    111 month ago

    At uni I did a lot of my Java coursework in notepad, then I’d have to take it into a computer lab on a floppy, tar it and upload it to a unix terminal so it could be emailed to the professor. Java syntax with only the command line compiler is not fun.

      • @[email protected]
        link
        fedilink
        11 month ago

        Did not know this. Will certainly look into it because my nano over ssh days aren’t over yet haha.

    • JackbyDev
      link
      fedilink
      English
      21 month ago

      I used to copy code into nano over ssh. Then I randomly tried pasting the server address in my file browser and it connected over SFTP. This was ages ago. I was using Crunchbang Linux, maybe around 2011 or so.

    • @[email protected]
      link
      fedilink
      11 month ago

      I recommend “micro” which is like Nano but uses modern shortcuts. Making it a terminal editor which feels more like using notepad than something esoteric.

  • @[email protected]
    link
    fedilink
    English
    81 month ago

    I coded several of my early mobile app releases entirely in gedit. Good times.

    I sometimes forget how good we have it now. I wrote those apps around 2012 and the DX for the platforms was basically non-existent. Virtually every platform had shit documentation, shit version management, a shit IDE with minimal refactoring features, a shitty debugging experience, and everything felt like it was being botched together by 3 guys in their spare time.

    It’s incredible now that we have things like hot reloading. You can literally save a change and BAM it’s on the screen seconds later. On native platforms no less. Astounding.

          • Radioactive Butthole
            link
            fedilink
            English
            4
            edit-2
            1 month ago

            It is a text editor from the 50s or 60s, so right off the nat you aren’t getting a product you’re at all familiar with. Its been a while since I cracked it open but from memory you can only view one line of code at a time. You have to specify the line of code that you want to view, the commands are esoteric, and there is no help available in the application itself. As I recall it was pretty much immediately replaced with better editors, such as og vi.

            Its sort of like programming in sed. Sure, you can, but why?

            From Wikipedia:

            Known for its terseness, ed, compatible with teletype terminals like Teletype Model 33, gives almost no visual feedback, and has been called (by Peter H. Salus) “the most user-hostile editor ever created”, even when compared to the contemporary (and notoriously complex) TECO. For example, the message that ed will produce in case of error, and when it wants to make sure the user wishes to quit without saving, is “?”. It does not report the current filename or line number, or even display the results of a change to the text, unless requested. Older versions (c. 1981) did not even ask for confirmation when a quit command was issued without the user saving changes.

            https://en.m.wikipedia.org/wiki/Ed_(software)

      • Pumpkin Escobar
        link
        fedilink
        English
        31 month ago

        No one can code with a horse, of course. That is of course, unless the horse is the famous mr Ed.

        • @[email protected]
          link
          fedilink
          21 month ago

          Perfect! Though we shouldn’t give Netflix and co any ideas on more classics to dredge up and ruin.

  • @[email protected]
    link
    fedilink
    781 month ago

    I genuinely do a lot of coding in Kate, the standard KDE editor. It’s enough to do a lot of things, has highlighting, and is more than enough when you just need a quick fix.

    I am also still using nano when editing stuff in the terminal. Please, don’t judge me.

    • @[email protected]
      link
      fedilink
      English
      91 month ago

      KWrite is the standard text editor. Kate is the advanced one. The name actually literally stands for “KDE Advanced Text Editor”

      • Ephera
        link
        fedilink
        English
        21 month ago

        I’m not aware of distros preinstalling KWrite, though…?

        • @[email protected]
          link
          fedilink
          English
          5
          edit-2
          29 days ago

          Huh, I did not know that any didn’t. I just tried a bunch, and here is a quick breakdown of what was preinstalled on each:

          Distro Kate KWrite
          Bazzite true true
          Debian true true
          Fedora false true
          KDE Neon true false
          Kubuntu true false
          Manjaro true true
          openSUSE true false
          SteamOS true true
          • Ephera
            link
            fedilink
            English
            41 month ago

            Well, I can throw in another for free:

            distro Kate kwrite
            openSUSE true false

            But yeah, interesting list. These days, KWrite is basically just Kate with different configuration, if I understand correctly, so it always feels like you might as well go with Kate. In my opinion, KWrite is also not particularly easier to use, since basic editing works the same, but I guess, that can be disagreed on.

            I do like that Kate is pre-installed. Imagine Windows, but rather than notepad.exe, you get Notepad++ out of the box. Now imagine that to also be a whole lot better and then that’s what it feels like to have Kate on fresh installations.
            You can just start coding something right away, without it being necessary to install a different editor.

    • Ghoelian
      link
      fedilink
      451 month ago

      To be fair, Kate isn’t just a text editor, it actually is an IDE. The text editor version would be kwrite, which would be horrible to program in.

          • Ghoelian
            link
            fedilink
            61 month ago

            Oh wow you’re right, it’s basically just kate without some of the toolbars now. Hadn’t used plain kwrite in a while.

            • @[email protected]
              link
              fedilink
              English
              11 month ago

              It also doesn’t have Sessions.
              Making it a better choice when you want to quickly open/create a file (the Session selection menu requires a lot of tabbing or using the mouse)

    • @[email protected]
      link
      fedilink
      121 month ago

      Yep, I came here to say that Kate is really nice. Even though I’m an emacs user and won’t use it.

      Nano, on the other hand, can’t do almost anything, so I can’t recommend that people make heavy use of it. It’s ok for random small edits, but that’s it. (By the way, YSK that you can set your terminal to use Kate as the default editor by setting the $EDITOR variable.)

    • @[email protected]
      link
      fedilink
      English
      51 month ago

      Geany is a nice GUI option. It’s a bit more capable but still lean.

      It’s probably time for me to re-evaluate the host of coding editors out there. For the most part I just use good text editors. Though I do love Spyder, I only use it for a certain subset of tasks.

    • @[email protected]
      link
      fedilink
      2
      edit-2
      1 month ago

      Me too. I’m still not sure what the problem is and I’m kind of afraid to ask.

      I do have the plugin for multi-line editing set up, I guess.

      • Diplomjodler
        link
        fedilink
        31 month ago

        All the cool kids use vim, so using nano makes you uncool, I guess. But I use Mint, so I’m uncool anyway.

  • @[email protected]
    link
    fedilink
    311 month ago

    If you’re not writing it all down on paper and then punching holes in cards, you’re doing it all wrong

  • @[email protected]
    link
    fedilink
    111 month ago

    I used Notepad++ for virtually all coding I did (Python, JS, various Markup Languages, Action Script back in the day, etc) for a couple decades. The only reason I use VSCode now is because I inherited a nightmare of a legacy spaghetti bowl and needed the function tracing to attempt to figure out anything. I still prefer N++ for most small projects.

  • blaue_Fledermaus
    link
    fedilink
    81 month ago

    Code in MS Word because it handles tabs correctly, unlike all code editors.

    Tab means “move to the next tabstop”, not “advance a fixed amount”.

    (I don’t do it, I’m not THAT insane)

    • ValiantDust
      link
      fedilink
      4
      edit-2
      1 month ago

      Me: hits return.

      Word: “Sure, here, a new line. I already indented it for you, same as the one before. Like a good IDE.”

      Me: “That’s nice of you, Word, but I want this one to be indented one tab stop less than the line before.” Hits delete.

      Word: “Delete, you say? Sure, back to the line before.”

      Me: “No, no! Just delete one tab! Maybe, if I select the line and hit dele…”

      Word: “Why of course!”

      Me: “Shit, it’s gone. Undo! Hmm… Move the thingy here on top?”

      Word: “Move all the lines you say? No problem!”

      Me: “Nvm, I’ll just indent everything by hand with spaces.”