On Tue, Dec 29, 2015 at 10:44:27AM +0100, Juan Simón wrote:
> make install; or echo "error"; and echo "ok"
> instead of
> make install || echo "error" && echo "ok"

This is for simplicity sake--see the law of orthogonality in the fish
design document.  Instead of having a special operator that fish has to
parse, it is implemented as a command.  Granted, it is not quite as
concise, but I think it is worth the trade-off.  More uniformity, more
simplicity of design for fish.

> begin; echo 'error'; return 1; end
> instead of
> (echo 'error'; return 1)

I do think it would be nice for fish to recognize braces as a synonym for
begin end, for example "{ echo error; return 1; }".  Using commands instead
of special syntax is for orthogonality.

> set m 1
> instead of
> m=1

Again, this is for simplicity and the law of orthogonality.

> $argv[1]
> instead of
> $1

I actually like this.

------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to