On 2017-02-23, Bram Moolenaar wrote:
> The text was not incorrect, maybe it depends on what kind of English you are
> used to.
> I find that "compactly" is used much less often than "compact".

It doesn't matter how often either is used--they are not
interchangeable.  "Compact" may be used as an adjective, a verb or
a noun.  In the sentence in question, the word "compact" was being
used as a modifier of "written", to describe how the loop was
written.  A modifier of a verb is an adverb, and the adverbial form
of "compact" is "compactly".

> It does help to add a comma:
> 
> The example was given to explain the commands, but would you really want to
> make such a loop, it can be written much more compact:

Because those two parts of that sentence are independent clauses,
a semicolon would be more appropriate than a comma.  Since the first
clause is a question, it might be better still to make the clauses
separate sentences.

    The example was given to explain the commands, but would you
    really want to make such a loop?  It can be written much more
    compactly:

Regards,
Gary

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui