Construction of scientific knowledge through writing