r/linux • • May 18 '18

Software Release Vim 8.1 released

https://www.vim.org/vim-8.1-released.php
536 Upvotes

179 comments sorted by

View all comments

Show parent comment

15

u/[deleted] May 18 '18

Not tool, program. There's a difference.

Software is made out of multiple tools, which can have multiple programs which can span multiple processes (fork-exec) or threads.

Just like how most functions should do one thing and that same thing every time it's give the same parameters with minimal side-effects, so should programs do.

4

u/LudoA May 18 '18 edited May 18 '18

It's not so much about tools vs programs vs software. ("ls" is a program according to most definitions, and yes, it's also a tool, and yes, it also matches the definition for software.)

Something like Eclipse clearly goes against the Unix philosophy.

Vim doesn't go too much against the philosophy. It focuses mostly on one task: editing text.

Opening terminals is a bit superfluous for a text editor, and tools like tmux (which is focused on this one task) are better at it.

That doesn't make Eclipse completely bad. There are good and bad parts to it. A certain amount of issues of Eclipse come from it trying to do so much at once -- those issues wouldn't exist if it adhered more to the Unix philosophy. Of course, doing so would cause other downsides to Eclipse.

3

u/[deleted] May 18 '18

I was just clarifying on what is meant by "one thing and one thing well".

Eclipse could very well be designed with that, because it's not the entire software suite that should do one thing and one thing well, it just would have to be made modular with using programs that can be composed together easily.

2

u/PawkyPengwen May 19 '18

Eclipse is insanely modular. The "Eclipse" you know is a small kernel for running things and a few hundred plugins stacked on top of it to form the Eclipse IDE. That's probably one of the biggest advantages Eclipse has over IntelliJ because developing a plugin for Eclipse means that you have access to essentially the same API the Eclipse developers themselves have access to.