On Sun, Aug 20, 2017 at 2:42 PM, Mark Volkmann <r.mark.volkm...@gmail.com>
wrote:

> I hope I'm not being too annoying with all the questions I've been asking.
> Obviously I'm new to fish.
>
> I'm working on writing a long article about it that I'll publish on
> November 1. I want to try to bring more attention to this incredible thing
> that many of you on this mailing list have helped to build. I have a good
> start on the article ... 28 pages of notes! If you're curious, you can see
> them at https://github.com/mvolkmann/MyUnixEnv/blob/
> master/notes/FishNotes.txt. I'm constantly adding to this and will use it
> as the starting point of my article.
>

No worries. Thanks for the heads up. We definitely want to help ensure your
article is as accurate as possible.

I notice the top of your notes asks how `foo; bar` differs from `foo; and
bar`. The `and` keyword is roughly analogous to `foo && bar` in POSIX
shells like bash. The `bar` command will only run if `foo` exits with a
success (zero) status. The reason for the difference is that fish prefers
keeping syntax to a minimum and doing as much as possible via commands.

You ask "Seems to be primarily implemented in C++." That is true. The
original 1.x releases were in C. Then @ridiculous fish and others rewrote
it in C++.

This statement, "for Window, can only run in Cygwin", isn't true. While we
do not, and probably will never support fish as a native command
interpreter it can be used in Cygwin and the new Windows 10 "bash"
environment (more accurately known as "Windows Subsystem for Linux" or WSL).

I see you noticed `fish_indent`. Take a look at `fish_key_reader` too.

Given that you represent a fresh pair of eyes and from looking at your
notes clearly been trying to learn as much from the fish docs as possible
we'd love feedback. Software engineers prefer writing code to documentation
so we don't always give the latter the attention it deserves.

Also, keep in mind that fish 3.0, hopefully released 2018Q1, will have many
improvements and cleanups. Among them will be replacing the use of `bc` to
evaluate math expressions with a builtin command. We already merged changes
that can make manipulating fish variables up to 40% faster. See
https://github.com/fish-shell/fish-shell/milestone/18 for the current
working list. There are many other changes we can only do in a major
release that might make it into 3.0. See
https://github.com/fish-shell/fish-shell/milestone/7 for other items that
might make it into 3.0.

-- 
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to