I regret nothing. Say what you want.
Edit: I just saw the two typos. If you find them, you’re welcome to keep them.
“Me who codes with the text editor that came with Ubuntu”…
So VIM?
More like gedit
I think gedit is a great text editor.
Doesn’t it ship with nano these days?
Both, last I checked.
Don’t you have to install that? I thought Ubuntu came with vi and nano.
vi in base Ubuntu isn’t really vi. It’s vim-minimal.
text editor application that came with Ubuntu
nano
shivers
I’m probably in the minority but I think it’s fantastic! No extra baggage, super quick to work with, and it does syntax highlighting pretty well!
Nah man, I’m with you, nano is no nonsense get shit done editor. It might not have advanced features but I’m not an advanced man.
There are dozens of us!
I also love it. It was my go-to back when I had to walk inexperienced sysadmins through configuring stuff, in my tech support days. I really appreciate all the commands being listed at the bottom.
Just wait until you try Micro
Bloat! Who needs an editor 1000 times the size of their previous one?
It’s also self explanatory, which is great if you’re new.
Ed and Vim are basically arcane by comparison.
Sure, but learning the very basics of vi/m (and by that I just mean navigation, selection, cutting, and word jumps like e and b), you’ll immediately run circles around anyone using nano
And by learning nano you’ll run circles around everyone who struggles to remember how to fuck exit vi/m.
Fair enough haha
Ed
lol
I doubt they mean nano
Probably this
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.
I do it in nano over ssh. The shortcuts suck but it gets the job done.
You can enable modernbindings in nano to get standard shortcuts like ctrl-s for save.
Did not know this. Will certainly look into it because my nano over ssh days aren’t over yet haha.
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.
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.
Sublime! There are DOZENS of us! Dozens!
I’m doing my part
As long as you don’t use Microsoft Word we can be friends
What about the libre office version?
Bonus points if you’re saving it as an .odt and still producing a validly executable file of some kind
You’re weird, but we can be friends if you want.
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.
NANO is life.
Nano is fine. But Micro is a worthwhile upgrade: https://micro-editor.github.io/
I started with Pico. ;)
Late 80s. Little kid me got picked up from school but dad still had work to do, so I join him at work. He notices I’m bored. Sits me in front of a terminal to their Unix mainframe, opens up Pico. I type in stuff there, happy as a clam. Good times.
Nano is love.
One word: ed
?
Ed is the most user unfriendly text editor ever created.
?
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.
Yes, was poking fun at Ed’s only error message being a relatively unhelpful
?
.D’oh!
ED! ED IS THE STANDARD!
deleted by creator
Oh, I remember ed! He’s the talking horse from that old black and white show, right?
No one can code with a horse, of course. That is of course, unless the horse is the famous mr Ed.
Perfect! Though we shouldn’t give Netflix and co any ideas on more classics to dredge up and ruin.
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.
KWrite is the standard text editor. Kate is the advanced one. The name actually literally stands for “KDE Advanced Text Editor”
I’m not aware of distros preinstalling KWrite, though…?
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 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.
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.
Wow, you’re right of course. I completely forgot kwrite still existed, tbh.
Kwrite doesnt really exist on its own anymore. Its a slimmed down gui for kate now.
Oh wow you’re right, it’s basically just kate without some of the toolbars now. Hadn’t used plain kwrite in a while.
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)
We’re almost like coding siblings lol
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.)
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.
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.
All the cool kids use vim, so using nano makes you uncool, I guess. But I use Mint, so I’m uncool anyway.
If you’re not writing it all down on paper and then punching holes in cards, you’re doing it all wrong
All you need is a magnetised needle and a steady hand. Or butterflies.
Real programmers code with TTL chips.
helix ftw 🧬
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.
Yeah, if you had really bad locality of reference I imagine that would be very helpful.
I’m currently working with some code that partly was written in the punch card era.
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)
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.”
I code using grep’s search and replace.
I code using a telegraph machine in morse code.
I code using punch cards hand cutting each hole with a xacto knife