I regret nothing. Say what you want.

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

  • blaue_Fledermaus
    link
    fedilink
    83 months 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
      3 months 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.”

    • JackbyDev
      link
      fedilink
      English
      23 months 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
        13 months ago

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

    • @[email protected]
      link
      fedilink
      13 months 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.

    • Rikudou_Sage
      link
      fedilink
      English
      33 months ago

      Pff, real programmers use butterflies. We open our hands and let the delicate wings flap once. The disturbance ripples outward, changing the flow of the eddy currents in the upper atmosphere. These cause momentary pockets of higher-pressure air to form, which acts as lenses that deflect incoming cosmic rays, focusing them to strike the drive platter and flip the desired bit.

  • unalivejoy
    link
    fedilink
    English
    123 months ago

    text editor application that came with Ubuntu

    nano

    shivers

  • @[email protected]
    link
    fedilink
    25
    edit-2
    3 months ago

    Vim and emacs are text editors.

    Vs code is a code editor (but really it’s also just a text editor)

    Maybe they mean IDEs like visual studio?

    I’ve never really heard it called a coding GUI before.

    • @[email protected]
      link
      fedilink
      13 months ago

      Vim (and NeoVim) are as much coding environments as VS or JetBrains. The difference is in the defaults.

    • @[email protected]
      link
      fedilink
      43 months ago

      So an IDE is a code editor that ships with an LSP server, not just an LSP interface? (Doesn’t have to be LSP as such but “stuff that an LSP server does”).

      • @[email protected]
        link
        fedilink
        6
        edit-2
        3 months ago

        I would say that an IDE is something that includes build/run tools integrated into it. Everything else is just a text editor. (But that’s just my opinion of course)

        To expand on my point, I don’t think it makes sense to call vs code an integrated development environment if it doesn’t actually have the environment integrated.

        Visual studio and idea would be examples of IDEs, they actually have all of the tools and frameworks needed to run the languages they were built for out of the box.

        You can’t run node or python out of the box with just vs code for example, without their respective tooling, all vscode can do is edit the code and editing code is not functionally different from editing any other text.

        So I maintain that both vim and vscode are text editors and not IDEs

        • @[email protected]
          link
          fedilink
          23 months ago

          I’d say build and run tools are pretty integrated into vim. Type :mak and there you go, it’s not like vs studio would be a single process either.

      • bitwolf
        link
        fedilink
        English
        2
        edit-2
        3 months ago

        My understanding has always been:

        • Text Editor: just writes text, no formatting (other than line endings)

        • Code Editor: A family Text Editors that have additional capabilities such as syntax highlighting. And optionally a plugin or extension ecosystem. (VSCode, vim family, Emacs, even gedit )

        • IDE: An application that includes Code Editor functionality, but also includes tools for a building on given tech stack. This comes out of the box, are a “part of” the application, are peers to the code editor, and cannot be removed, but can optionally be extended through plugins or extensions.

      • The Ramen Dutchman
        link
        fedilink
        23 months ago

        For me a web app IDE includes a DB manger, HTML previewer, etc.

        A text editor edits text, an IDE is an Environment that Integrates Development tools.

    • @[email protected]
      link
      fedilink
      2
      edit-2
      3 months ago

      Vim and emacs usually run in the terminal and require keyboard commands to complete actions.

      A GUI IDE like vscode or pycharm has mouse driven menus and buttons, although of course it’s possible to use keyboard commands.

      That to me is the difference. Personally, I use vim mod with pycharm and some messy hybrid combination of vim commands and ctrl + ?

      • @[email protected]
        link
        fedilink
        33 months ago

        Vs code has no integrated environment though, it’s just a text editor that supports plugins, you still need to install python or node or .net or Java or gcc, etc.

        As far as vim requiring keyboard commands, that’s really only the case if you leave mouse mode off

        set mouse=a

        And of course, to muddy the water further, we have tools like https://helix-editor.com/ which, more closely approximate vs code, while happening to live in a terminal.

        I maintain that in order to qualify as an IDE and not a glorified text editor, you must be able to, out of the box, without external dependencies, run and build the code it was built for (idea/visual studio) otherwise it’s not very integrated, and I don’t think you need to have nice graphics for that qualification.

        • @[email protected]
          link
          fedilink
          2
          edit-2
          3 months ago

          Interesting, I didn’t know that about VSCode.I’ve used it briefly and I must have always installed some default plugins to make it work with python!

          The only query I’d have on that definition of IDE is that they all require an external compiler or JIT interpreter to execute code, because the versions of the compilers changes so frequently it’d be crazy to release an ‘all included’ IDE. (The old MS Visual Basic is an example of ‘all included’)

          But yeah, pycharm or phpstorm are “ready to run” bar the code compiler or interpreter, I don’t have to open a terminal or something to run code I’ve written.

        • @[email protected]
          link
          fedilink
          English
          13 months ago

          Guy this is just semantics.

          If you want to uphold a specific definition of what constitutes an IDE that’s fine, but what does it matter if others consider plugins to be integration.

      • @[email protected]
        link
        fedilink
        13 months ago

        Vim and emacs usually run in the terminal and require keyboard commands to complete actions.

        It is most certainly not usual to run Emacs in the terminal.

        although of course it’s possible to use keyboard commands.

        And you can use Emacs with a mouse.

    • @[email protected]
      link
      fedilink
      73 months ago

      This feels a little bit like Brainfuck tbh.

      For what it’s worth, I can think of one thing that would make brainfuck even worse: Instead of using 8 arbitrary characters (it only uses > < + - . , ] and [ for every instruction) for the coding, use the 8 most common letters of the alphabet. Since it ignores all other characters, all of your comments would need to be done without those 8 letters.

      For example, “Hello World” in brainfuck is the following:

      ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
      

      If we instead transposed those 8 instructions onto the 8 most common letters of the alphabet, it would look more like this:

      eeeeeeeeaneeeeaneeneeeneeenesssstonenentnneasostonnIntttIeeeeeeeIIeeeInnIstIsIeeeIttttttIttttttttInneIneeI
      
    • @[email protected]
      link
      fedilink
      23 months ago

      This is such a waste of time to the point where it infuriates me. I know the standard answer is “why not?”, but it’s just cringe to, like you are trying too hard to purposely be stupid, whereas with standard text editor you can say already they cba’ed to install anything so it was a case of initial setup vs. long term productivity.