Follow

@Sabex
gameliberty.club/@LukeAlmighty

I have already asked about it yesterday.

Why are programmers so obsessed with text editors? And what the fuck makes them worth so much cash? That's disgusting.

· · Web · 2 · 0 · 1
This is a little more than just a text editor but still a rip off aimed squarely at PHBs I don't think anyone but middle management takes this seriously.

Those aren’t text editors. Those are IDEs. IDEs are designed to help the programmer and essentially do a lot of the work for them. They help with things like automatically filling things in, listing the parameters for methods and functions, finding all uses of a given variable, that sort of thing. They do some of the work for you and junior developers often rely on IDEs as a crutch. These tools are sophisticated and are above and beyond what a text editor offers. That’s why people pay for them.

They’re also mega gay and I’ve never been a fan of them. They tend to obstruct the programmer a lot of the time. It’s like trying to make a sharp turn on a bicycle with training wheels on it.

@NEETzsche @Sabex @YTFoidLover1488
I have grows a deep hate for them at uni.

I had a slow laptop, and while I was there, EVERY SINGLE TEACHER wanted us to use a different "PERFECT EXITOR"...

So much fucking bloat for nothing. Especially, since 3/4 of them were payed shit, that I couldn't use after I left the school anyway.

I’m not a fan of IDEs. I know some guys who are. I’m also not a fan of people who insist that their preferred toolbag is the oBjEcTiVeLy cOrReCt one, since you bring up the PERFECT EDITOR. It’s all so tiresome man. But yeah, every time I decide to give IDEs a try, they’re massively bloated and just get in my fucking way too much.

Text editors are to code as word processors are to natural language. Text editors are designed to allow for very fine-grained control of the text file being edited, things like specifying which encoding the file is in or if the code is indented with two spaces as opposed to a tab, and many more things like that. They're designed for files where it actually matters if your line breaks are `\r\n` or just `\n`. A lot of them have tools built into them so you can do things like edit multiple lines at the same time, since dozens of lines of code can follow a certain formula (a "pattern"). I'll give you two examples of popular text editors: Sublime and neovim. Sublime is ostensibly paid, but the trial never really expires so not really. Neovim is entirely free.

In my first Sublime example, I need to indent some text. Everything inside of the `<html>` tags needs to be indented. Likewise, everything inside of the `<body>` tags needs to be indented again. To accomplish this, I select all of the lines inside of these two tags and hit my TAB key. It indents all of them. If I did this in LibreOffice Writer, it would just replace all of that with a tab character.

In my second sublime example, I have a bunch of comments that I think are stupid. With a word processor, I can only have one cursor, and must remove them each individually. But with Sublime, I can have many, and each time I press the backspace, I delete a character in all of them. But let's say I wanted to make it say something else. I could just type that thing in its place and it would appear as well.

Every noteworthy text editor has countless examples like this that make editing text very efficient. I don't spend a fucking dime on text editors, I agree, that's a waste of money, but if you regularly write code, you want to use a text editor and learn its nuances because it really and actually does remove tons of headaches down the line.

I can give neovim examples as well if you like but the Sublime examples hopefully elucidate why programmers like text editors.
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.