3. As both means and end
A third kind of activity combines purposeful and original writing with the learning or practice of some other skills or content. For example, a written response to the reading of a controversial newspaper article (combines writing with reading); the writing of anecdotes to illustrate the meaning of idioms (combines writing with vocabulary practice).