this post was submitted on 13 Sep 2024
150 points (92.1% liked)

Programming

17419 readers
46 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
all 36 comments
sorted by: hot top controversial new old
[–] [email protected] 65 points 2 months ago* (last edited 2 months ago) (2 children)

I REALLY hate articles like this

Saying we "lost" this software just shows that people don't understand what software design/engineering is.

Basically every screenshot of the "lost" TUIs look like a normal emacs/vim session for anyone who has learned about splits and :term (guess which god I believe in?). And people still use those near constantly. Hell, my workflow is generally a mix between vim and vscode depending upon what machine and operation I am working on. And that is a very normal workflow.

And that is what we want out of software development. The good ideas move forward. The less good ideas become plugins for sickos. Because everyone loves vscode right now but... Microsoft is shitting that up REAL fast with copilot and just wait until every employer on the planet realizes that and ban it.

And the rest just ignores the point of an IDE. Yes, taking your hand off the keyboard to touch the mouse LOWERS YOUR EFFICIENCY*. But it also means you can switch between languages or even environments trivially. Yes, it is often more annoying to dig through twelve menus to find what you want or talk a co-worker through how to do basic git operations that would be three commands. But holy crap I hate the people who "can't work without my settings" that mean they are incapable of doing any "live" debugging or doing any peer programming where they aren't driving.

Back in the day we had plenty of people who were angry that not everyone was using vi and a bunch of tcsh scripts to develop because it clearly meant they didn't understand what they were doing and were too dependent on compilers and debuggers. And it was just as stupid then as it is now.

[–] [email protected] 11 points 2 months ago* (last edited 2 months ago) (2 children)

Basically every screenshot of the "lost" TUIs look like a normal emacs/vim session for anyone who has learned about splits and :term (guess which god I believe in?). And people still use those near constantly. Hell, my workflow is generally a mix between vim and vscode depending upon what machine and operation I am working on. And that is a very normal workflow.

I use emacs, and kind of had the same gut reaction, but they do address it and have a valid point in that the IDEs they're talking about are "out of box" set up and require little learning to use in that mode.

Like, you can use emacs and I'm sure vim as an IDE, but what you have is more a toolkit of parts for putting together your own IDE. That can be really nice, more flexible, but it's also true that it isn't an off-the-shelf, low-effort-to-pick-up solution.

Emacs had some "premade IDE" project I recall that I tried and wasn't that enthusiastic about.

I don't know vim enough to know what all the parts are. Nerdtree for file browsing? I dunno.

With emacs, I use magit as a git frontend, a compilation buffer to jump to errors, projectile to know the project build command and auto-identify the build system used for a given project and search through project files, dired to browse the files, etags and some language server -- think things have changed recently, but I haven't been coding recently -- to jump around the codebase. I have color syntax highlighting set up. I use .dir-locals.el to store per-project settings like that build command used by projectile. The gdb frontend to traverse code associated with lines in a stack trace on a running program. TRAMP to edit files on remote machines.

But that stuff isn't generally set up or obvious out of box. It takes time to learn.

EDIT: The "premade IDE" I was thinking of for emacs is eide:

https://software.hjuvi.fr.eu.org/eide/

[–] [email protected] 4 points 2 months ago

Emacs had some "premade IDE" project I recall that I tried and wasn't that enthusiastic about.

Doom Emacs, spacemacs, etc.

And there are plenty of nvim "distros" like that (lazyvim for example).

They make getting started pretty easy. I've been using Doom for years and never bothered to make a full config of my own.

[–] [email protected] 3 points 2 months ago

If you need an "off the shelf, low effort" IDE then you pick whether you are using VSCode or Vim/Emacs and then go to youtube and google "best plugins for ${LANGUAGE} in ${EDITOR}". And you get basically a minute of copy pasting to have it set up to about the same level of optimization.

Aside from that? The reality is that everything takes time to learn. It took you time to learn your preferred emacs config. It took me time to learn default vim and then what my preferred vim config should be and how to take advantage of it. Just like it took time to learn the editor that came with python on windows for years (still might?).

Which gets back to this being a boomer ass article.

[–] [email protected] 5 points 2 months ago (1 children)

Yes, the title the author chose is a bit err, clickbaity. But there were still decent introductions to few old IDEs. Maybe if he had covered more(maybe some niche ones?), it would have been better.

[–] [email protected] 7 points 2 months ago (1 children)

Yes. A much less boomer-coded article would be better.

But as someone who has actually used a lot of the various IDEs over the decades and keeps coming back to vim (and is already expecting to go back to vim within a year because of invasive copilot shit...): Those niche editors? They are either genuinely bad ideas (think TempleOS levels of insanity) or they became plugins for every other IDE. I like vim a lot but emacs is the same (actually emacs is an OS with a text interface but...). And many of those plugins ALSO exist for vscode and atom/sublime and so forth.

Because good (uncopyrighted...) ideas propagate. That is development and design.

[–] [email protected] 6 points 2 months ago (1 children)

Yes, emacs is a fine operation system. All it lacks is a decent code editor.

[–] [email protected] 2 points 2 months ago (1 children)

It has Evil if that's your thing :)

I dislike that it takes way too long to boot, but IMO the defaults are just fine.

[–] [email protected] 2 points 2 months ago (1 children)

I dislike that it takes way too long to boot

  1. Use the Daemon, it starts a new client in a fraction of a second
  2. Improve your config and it'll start in under a second anyways
[–] [email protected] 4 points 2 months ago

TBF, I don't even remember why I stopped using the daemon. But it's currently 3 seconds, so I dislike it... but not so much that I'd prioritize solving the problem versus complaining about it on the internet...

Anyway, I'm adding the server into my DE's startup. Thanks for the reminder.

[–] [email protected] 47 points 2 months ago* (last edited 2 months ago) (1 children)

You might not like it, but Borland yellow on blue was peak IDE design.

Nostalgic!

Personally, I have downloaded Borland themes for all my IDEs. I don't use them, of course, because I'm not entirely insane and I value my eyesight too much, but I have downloaded them.

[–] [email protected] 6 points 2 months ago* (last edited 2 months ago) (3 children)

I have Borland based themes because I want contrast. I hate all these pastel dull themes where all the colors are a similar hue or shade. Who uses them? How do they use them?

Turbo Pascal was my first proper IDE. I remember our school had a new Ibm Ps/2 which ran dos 4.something, it had the text ui based editor, but it was just an editor. Turbo Pascal is where I spent 3 years of college, day and night.

[–] [email protected] 5 points 2 months ago

I have a colleague who is really into Rick and Morty and has colorful hair. He's one of those who has a pink/purple theme with little to no contrast. I keep my distance.

[–] [email protected] 4 points 2 months ago (2 children)

I use the cyberpunk theme in visual studio professional and it’s pretty easy to read the text.

[–] [email protected] 4 points 2 months ago (2 children)

Gah! A bit too much for me, but if you want contrast it's certainly got it.

Cyberpunk, chooms!

[–] [email protected] 2 points 2 months ago

Cyberpunk Theme I've just started testing this one out myself. That one for VS is nice and colourful though, it "pops".

[–] [email protected] 2 points 2 months ago

Yeah some of my coworkers are not keen, but each to their own.

The only thing that sucks is the search box above the solution explorer kinda is invisible when not in focus which is strange.

[–] [email protected] 2 points 2 months ago

Yeah I found one forJetbrains Goland. So I have my Borland one in webstorm and the Cyberpunk in Goland so I can tell which editor I'm in.

[–] [email protected] 2 points 2 months ago

I want contrast

Sure, but you can also have contrast with a dark background that isn't constantly shooting a third of the photons your screen can generate (or more, since in some screens blue pixels are the largest), and the most energetic at that, at your eyes... high contrast themes tend to have a black background (not a gray one like most dark themes) precisely as a way to maximise contrast...

(It was even worse when we sat all day in front of a fucking particle accelerator, of course; frankly, as much as I loved CRTs' ability to work with multiple resolutions I don't know how we didn't all end up going blind...)

[–] [email protected] 31 points 2 months ago

I was developing 30 years ago and I love what's available today. Nostalgia is fine, as far as it goes, but things change and sometimes for the better. This is one of those cases.

[–] [email protected] 11 points 2 months ago

I was using emacs then, I'm using emacs now, and I'll be using emacs in another 30 years.

[–] [email protected] 9 points 2 months ago (1 children)

That red text on a blue background is atrocious.

[–] [email protected] 3 points 2 months ago

Nostalgically atrocious.

[–] [email protected] 7 points 2 months ago

I used Borland Turbo Pascal and C++ all through school and I have to agree, these were the most intuitive and efficient IDE's I've used.

[–] [email protected] 7 points 2 months ago (2 children)
[–] [email protected] 10 points 2 months ago (1 children)

Nothing stopping you from doing that to your terminal :p

[–] [email protected] 3 points 2 months ago

I cannot find a good combination of colors that works well for me.

[–] [email protected] 4 points 2 months ago (1 children)
[–] [email protected] 2 points 2 months ago (2 children)

the text needs to reedable

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I don't know much vim, but emacs has themes and I'm sure that vim does too.

kagis

I dunno if this is what vimfolk use these days, but:

https://vimcolorschemes.com/i/trending

EDIT: Here are two "blue background" themes:

https://vimcolorschemes.com/lmintmate/blue-mood-vim

https://vimcolorschemes.com/vim-scripts/blue.vim

EDIT2: And some emacs themes -- vim themes look to be a lot simpler than these:

https://emacsthemes.com/

including a clone of the Borland C that I guess the author likes:

https://emacsthemes.com/themes/borland-blue-theme.html

EDIT3: Here's a Borland C color scheme for vim:

https://github.com/letorbi/vim-colors-modern-borland

[–] [email protected] 1 points 2 months ago (1 children)

Does solarized count as blue colors?

[–] [email protected] 1 points 2 months ago

Too dark for my taste, I can't stand dark themes they hurt my eyes. But thanks for the suggestion.

[–] [email protected] 6 points 2 months ago

I used the Borland Turbo Vision based UIs a LOT back in the day. They were very good for their time, but they can’t hold a candle to modern user interfaces.

[–] [email protected] 0 points 2 months ago (1 children)
[–] [email protected] 11 points 2 months ago

Vim is mentioned 5 times in the article!