Autor: Editor

  • The Scientific Monthly, October to December, 1915

    The Scientific Monthly, October to December, 1915

    Aproximadamente 126.954 palavras.

    Ver.04.29.93*END*

    Scanned by Charles Keller with OmniPage Professional OCR

    NOTE: degrees A (Absolute?) is the same as the current
    degrees K (Kelvin).

    THE POPULAR SCIENCE MONTHLY VOLUME LXXXVI JULY TO SEPTEMBER,
    1915

    THE SCIENTIFIC MONTHLY VOLUME I OCTOBER TO DECEMBER, 1915

    EDITED BY J. McKEEN CATTELL

    THE SCIENTIFIC MONTHLY —— OCTOBER, 1915 ————-

    THE EVOLUTION OF THE STARS AND THE FORMATION OF THE EARTH. II

    BY DR. WILLIAM WALLACE CAMPBELL

    DIRECTOR OF THE LICK OBSERVATORY, UNIVERSITY OF CALIFORNIA

    THE PRINCIPLES OF SPECTROSCOPY

    THUS far our description of the stellar universe has been
    confined to its geometrical properties. A serious study of the
    evolution of the stars must seek to determine, first of all,
    what the stars really are, what their chemical constitutions
    and physical conditions are; and how they are related to each
    other as to their physical properties. The application of the
    spectroscope has advanced our knowledge of the subject by leaps
    and bounds. This wonderful instrument, assisted by the
    photographic plate, enables every visible celestial body to
    write its own record of the conditions existing in itself,
    within limits set principally by the brightness of the body.
    Such records physicists have succeeded to some extent in
    duplicating in their laboratories; and the known conditions
    under which the laboratory experiments have been conducted are
    the Rosetta Stones which are enabling us to interpret, with
    more or less success, the records written by the stars.

    It is well known that the ordinary image of a star, whether
    formed by the eye alone, or by the achromatic telescope and the
    eye combined, contains light of an infinite variety of colors
    corresponding, speaking according to the mechanical theory of
    light, to waves of energy of an infinite variety of lengths
    which have traveled to us from the star. In the point image of
    a star, these radiations fall in a confused heap. and the
    observer is unable to say that radiations corresponding to any
    given wave-lengths are present or absent. When the star's light
    has been passed through the prism, or diffracted from the
    grating of a spectroscope, these rays are separated one from
    another and arranged side by side in perfect order, ready for
    the observer to survey them and to determine which ones are
    present in superabundance and which other ones are lacking
    wholly or in part. The following comparison is a fair one: the
    ordinary point image of a star is as if all the books in the
    university library were thrown together in a disorderly but
    compact pile in the center of the reading room: we could say
    little concerning the contents and characteristics of that
    library; whether it is strong in certain fields of human
    endeavor, or weak in other fields. The spectrum of a star is as
    the same library when the books are arranged on the shelves in
    complete perfection and simplicity, so that he who looks may
    appraise its contents at any or all points. Let us consider the
    fundamental principles of spectroscopy.

    1. When a solid body, a liquid, or a highly-condensed gas is
    heated to incandescence, its light when passed through a
    spectroscope forms a continuous spectrum: that is, a band of
    light, red at one end and violet at the other, uninterrupted by
    either dark or bright lines.

    2. The light from the incandescent gas or vapor of a chemical
    element, passed through a spectroscope, forms a bright-line
    spectrum; that is, one consisting entirely of isolated bright
    lines, distributed differently throughout the spectrum for the
    different elements, or of bright lines superimposed upon a
    relatively faint continuous spectrum.

    3. If radiations from a continuous-spectrum source pass through
    cooler gases or vapors before entering the spectroscope, a
    dark-line spectrum results: that is, the positions which the
    bright lines in the spectra of the vapors and gases would have
    are occupied by dark or absorption lines. These are frequently
    spoken of as Fraunhofer lines.

    To illustrate: the gases and vapors forming the outer strata of
    the Sun's atmosphere would in themselves produce bright-line
    spectra of the elements involved. If these gases and vapors
    could in effect be removed, without changing underlying
    conditions, the remaining condensed body of the Sun should have
    a continuous spectrum. The cooler overlying gases and vapors
    absorb those radiations from the deeper and hotter sources
    which the gases and vapors would themselves emit, and thus form
    the dark-line spectrum of the Sun. The stretches of spectrum
    between the dark lines are of course continuous-spectrum
    radiations.

    These principles are illustrated in Fig. 12. The essential
    parts of a spectroscope are the slit–an opening perhaps
    1/100th of an inch wide and 1/10th of an inch long–to admit
    the light properly; a lens to render the light rays parallel
    before they fall upon the prism or grating; a prism or grating;
    a lens to receive the rays after they have been dispersed by
    the prism or grating and to form an image of the spectrum a
    short distance in front of the eye, where the eye will see the
    spectrum or a sensitive dry-plate will photograph it. If we
    place an alcohol lamp immediately in front of the slit and
    sprinkle some common salt in the flame the two orange bright
    lines of sodium will be seen in the eyepiece, close together,
    as in the upper of the two spectra in the illustration. If we
    sprinkle thallium salt in the flame the green line of that
    element will be visible in the spectrum. If we take the lamp
    away and place a lime light or a piece of white-hot iron in
    front of the slit we shall get a brilliant continuous spectrum
    not crossed by any lines, either bright or dark. Insert now the
    alcohol-sodium-thallium lamp between the lime light and the
    slit, and the observer will see the two sodium lines and one
    thallium line in the same places as before, but as dark lines
    on a background of bright continuous spectrum, as: illustrated
    in the lower of the two spectra. Let us insert a screen between
    the lamp and the lime light so as to cut out the latter, and we
    shall see the bright lines of sodium and thallium reappear as
    in the upper of the two spectra. These simple facts illustrate
    Kirchhoff's immortal discovery of certain fundamental
    principles of spectroscopy, in 1859. The gases and vapors in
    the lamp flame are at a lower temperature than the lime source.
    The cooler vapors of sodium and thallium have the power of
    absorbing exactly those rays from the hotter lime or other
    similar source which the vapors by themselves would emit to
    form bright lines.

    When we apply the spectroscope to celestial objects we find
    apparently an endless variety of spectra. We shall illustrate
    some of the leading characteristics of these spectra as in
    Figs. 13 to 18, inclusive, and Figs. 21, 22, 23 and 24. The
    spectra of some nebulae consist almost exclusively of isolated
    bright lines, indicating that these bodies consist of luminous
    gases, as Huggins determined in 1864; but a very faint
    continuous band of light frequently forms a background for the
    brilliant bright lines. Many of the nebular lines are due to
    hydrogen, others are due to helium; but the majority, including
    the two on the extreme right in Fig. 13, which we attribute to
    the hypothetical element nebulium, and the close pair on the
    extreme left, have not been matched in our laboratories and,
    therefore, are of unknown origin. Most of the irregular nebulae
    whose spectra have been observed, the ring nebulae, the
    planetary and stellar nebulae, have very similar spectra,
    though with many differences in the details.[1]

    [1] My colleague, Wright, who has been making a study of the
    nebular spectra, has determined the accurate positions of about
    67 bright nebular lines.

    The great spiral nebula in Andromeda has a continuous spectrum
    crossed by a multitude of absorption lines. The spectrum is a
    very close approach to the spectrum of our Sun. It is clear
    that this spiral nebula is widely different from the
    bright-line or gaseous nebulae in physical condition. The
    spiral may be a great cluster of stars which are approximate
    duplicates of our Sun, or there is a chance that it consists,
    as Slipher has suggested, of a great central sun, or group of
    suns, and of a multitude of small bodies or particles, such as
    meteoric matter, revolving around the nucleus; this finely
    divided matter being visible by reflected light which
    originates in the center of the system.

    There is an occasional star, like chi Carinae, whose spectrum
    consists almost wholly of bright lines, in general bearing no
    apparent relationship to the bright lines in the spectra of the
    gaseous nebulae except that the hydrogen lines are there, as
    they are almost everywhere. There is reason to believe that
    such a spectrum indicates the existence of a very extensive and
    very hot atmosphere surrounding the main body, or core, of the
    star in question. This particular star is remarkable in that it
    has undergone great changes in brilliancy and is located upon a
    background of nebulosity. The chances are strong that the star
    has rushed through the nebulosity with high rate of speed and
    that the resulting bombardment of the star has expanded and
    intensely heated its atmosphere.

    There are the Wolf-Rayet stars, named from the French
    astronomers who discovered the first three of this class, whose
    spectra show a great variety of combinations of continuous
    spectrum and bright bands. We believe that the continuous
    spectrum in such a star comes from the more condensed central
    part, or core, and that the bright-line light proceeds from a
    hot atmosphere extending far out from the core.

    The great majority of the stars have spectra which are
    continuous, except for the presence of dark or absorption
    lines: a few lines in the very blue stars, and an increasing
    number of lines as we pass from the blue through the yellow and
    red stars to those which are extremely red.

    Secchi in the late 60's classified the spectra of the brighter
    stars, according to the absorption lines in their spectra, into
    Types I, II III and IV, which correspond: Type I, to the very
    blue stars, such as Spica and Sirius; Type II, to the yellow
    stars similar to our Sun; Type III, to the red stars such as
    Aldebaran; and Type IV, to the extremely red stars, of which
    the brightest representatives are near the limit of naked-eye
    vision. Secchi knew little or nothing concerning stars whose
    spectra contain bright lines, except as to the isolated
    bright-line spectra of a few nebulae, and as to the bright
    hydrogen lines in gamma Cassiopeia, and his system did not
    include these.

    One of the most comprehensive investigations ever undertaken by
    a single institution was that of classifying the stars as to
    their spectra, over the entire sky, substantially down to and
    including the stars of eighth magnitude, by the Harvard College
    Observatory, as a memorial to the lamented Henry Draper.
    Professor Pickering and his associates have formulated a
    classification system which is now in universal use. It starts
    with the bright-line nebulae, passes to the bright-line stars,
    and then to the stars in which the helium absorption lines are
    prominent. The latter are called the helium stars, or
    technically the Class B stars. The next main division includes
    the stars in which hydrogen absorption is prominent, called
    Class A. Classes B and A are blue stars. Then follows in
    succession Class F, composed of bluish-yellow stars, which is
    in a sense a transition class between the hydrogen stars and
    those resembling our Sun, the latter called Class G. The Class
    G stars are yellow. Class K stars are the yellowish-red; Class
    M, the red; and Class N, the extremely red. Each of these
    classes has several subdivisions which make the transition from
    one main class to the next main class fairly gradual, and not
    per saltum; though it should be said that the relationship of
    Class N to Class M spectra is not clear. The illustration, Fig.
    17, brings out the principal features of the spectra of Classes
    B to M. The spectrum becomes more complicated as we pass from
    Class B to the Class M, and the color changes from blue to
    extreme red, because the violet and blue radiations become
    rapidly weaker as we pass through the various classes.

    GENERAL COURSE OF EVOLUTIONARY PROCESS

    The general course of the evolutionary processes as applied to
    the principal classes of celestial bodies is thought to be
    fairly well known. With very few exceptions astronomers are
    agreed as to the main trend of this order, but this must not be
    interpreted to mean that there are no outstanding differences
    of opinion. There are, in fact, some items of knowledge which
    seem to run counter to every order of evolution that has been
    proposed.

    The large irregular nebulae, such as the great nebula in Orion,
    the Trifid nebula, and the background of nebulosity which
    embraces a large part of the constellation of Orion, are
    thought to represent the earliest form of inorganic life known
    to us. The material appears to be in a chaotic state. There is
    no suggestion of order or system. The spectroscope shows that
    in many cases the substance consists of glowing gases or
    vapors; but whether they are glowing from the incandescence
    resulting from high temperature, or electrical condition, or
    otherwise, is unknown, though heat origin of their light is the
    simplest hypothesis now available. Whether such nebulae are
    originally hot or cold, we must believe that they are endowed
    with gravitational power, and that their molecules or particles
    are, or will ultimately be, in motion. It will happen that
    there are regions of greater density, or nuclei, here and there
    throughout the structure which will act as centers of
    condensation, drawing surrounding materials into combination
    with them. The processes of growth from nuclei originally small
    to volumes and masses ultimately stupendous must be slow at
    first, relatively more rapid after the masses have grown to
    moderate dimensions and the supplies of outlying materials are
    still plentiful, and again slow after the supplies shall have
    been largely exhausted. By virtue of motions prevailing within
    the original nebular structure, or because of inrushing
    materials which strike the central masses, not centrally but
    obliquely, low rotations of the condensed nebulous masses will
    occur. Stupendous quantities of heat will be generated in the
    building-up process. This heat will radiate rapidly into space
    because the gaseous masses are highly rarefied and their
    radiating surfaces are large in proportion to the masses. With
    loss of heat the nebulous masses will contract in volume and
    gradually assume forms more and more spherical. When the forms
    become approximately spherical, the first stage of stellar life
    may be said to have been reached.

    It was Herschel's belief that by processes of condensation,
    following the loss of heat by radiation into surrounding space,
    formless nebulae gravitated into nebula of smaller and smaller
    volumes until finally the planetary form was reached, and that
    planetaries were the ancestors of stars in general. That the
    planetaries do develop into stars, we have every reason to
    believe; but that all nebulae, or relatively many nebulae, pass
    through the planetary stage, or that many of our stars have
    developed from planetaries, we shall later find good reason for
    doubting. The probabilities are immensely stronger that the
    stars in general have been formed directly from the irregular
    nebulae, without the intervention of the planetaries. The
    planetary nebula seem to be exceptional cases, but to this
    point we shall return later.

    It is quite possible, and even probable, that gaseous masses
    have not in all cases passed directly to the stellar state. The
    materials in a gaseous nebula may be so highly attenuated, or
    be distributed so irregularly throughout a vast volume of
    space, that they will condense into solids, small meteoric
    particles for example, before they combine to form stars. Such
    masses or clouds of non-shining or invisible matter are thought
    to exist in considerable profusion within the stellar system.
    The nebulosity connected more or less closely with the brighter
    Pleiades stars may be a case in illustration. Slipher has
    recently found that the spectra of two small regions observed
    in this nebula are continuous, with absorption lines of
    hydrogen and helium. This spectrum is apparently the same as
    that of the bright Pleiades stars. Slipher's interpretation is
    that the nebula is not shining by its own light, but is
    reflecting to us the light of the Pleiades stars. That this
    material will eventually be drawn into the stars already
    existing in the neighborhood, or be condensed into new centers
    and form other stars, we can scarcely doubt. The condensation
    of such materials to form stars large enough to be seen from
    the great distance of the Pleiades cluster must generate heat
    in the process, and cause these stars in their earliest youth
    to be substantially as hot as other stars formed directly from
    gaseous materials. It is possible, also, that the spiral
    nebulae will develop into stars, perhaps each such object into
    many, or some of the larger ones into multitudes, of stars.

    Let us attempt to visualize the conditions which we think exist
    in a newly-formed star of average mass. It should be
    essentially spherical, with surface fairly sharply defined. Our
    Sun has average specific gravity of 1.4, as compared with that
    of water. The average density of the very young star must
    certainly be vastly lower; perhaps no greater than the density
    of our atmosphere at the Earth's surface; it may even be
    considerably lower than this estimate. The diameter of our Sun
    is 1,400,000 kilometers. The diameter of the average young star
    may be ten or twenty or forty times as great. The central
    volume or core of the star is undoubtedly a great deal denser
    than the surface strata, on account of pressure due to the
    star's own gravitational forces. The conditions in the outer
    strata should bear some resemblance to those existing in the
    gaseous nebula. The star may or may not have a corona closely
    or remotely similar to our Sun's corona. The deep interior of
    the star must be very hot, though not nearly so hot as the
    interiors of older stars; but the surface strata of the young
    star should be remarkably hot; for, being composed of highly
    attenuated gases, any lowering of the temperature by radiation
    into surrounding space will be compensated promptly through the
    medium of highly-heated convection currents which can travel
    more rapidly from the interior to the surface than in the case
    of stars in middle or old age. Even though the star, as
    observed in our most powerful telescopes, is a point of light,
    without apparent diameter, its outer strata should supply some
    bright lines in the spectrum, because these strata project out
    beyond what we may call the core of the star and themselves act
    as sources of light. The spectrum should, therefore, consist of
    some of the bright lines which were observed in the nebular
    spectrum, these proceeding from the outer strata of the star;
    and of a continuous spectrum made up of radiations proceeding
    from the deeper strata or core of the star, in which a few dark
    lines may be introduced by the absorption from those parts of
    the outer gaseous strata which lie between us and the core.

    A few hundred stellar spectra resembling this description are
    well known, discovered mostly at the Harvard Observatory. Their
    details differ greatly, but they have certain features in
    common. The bright lines of helium are extremely rare in stars,
    but they have been observed in a few stellar spectra. The
    bright lines of nebulium have never been observed in a true
    star: they and the radiations in the ultra-violet known as at
    3726A, seem to be confined to the nebular state; and the
    absorption lines of nebulium have never been observed in any
    spectrum. As soon as the stellar state is reached nebulium is
    no longer in evidence. Stellar spectra containing bright lines
    seem always to include hydrogen bright lines. This is as we
    should expect; hydrogen is the lightest known gas, and it is
    probably the substance which can best exist in the outer strata
    of stars in general. The extensive outer strata of very young
    stars seem to be composed largely of hydrogen, though other
    elements are in some cases present, as indicated by the weaker
    bright lines in a few cases. This preference of hydrogen for
    the outermost strata is illustrated by several very interesting
    observations of the nebulae. The nebulium lines are relatively
    strong in the central denser parts of the Orion and Trifid
    nebulae, but the hydrogen bright-lines are relatively very
    strong in the faint outlying parts of these nebulae. The
    planetary nebula B.D.–12 degrees.1172 is seen in the ordinary
    telescope to consist of a circular disc (probably a sphere or
    spheroid) of light and a faint star in its center. When this
    nebula is observed with a slitless spectrograph the hydrogen
    and nebulium components are seen as circular discs, but the
    hydrogen discs are larger than the nebulium discs. In other
    words, the hydrogen forms an atmosphere about the central star
    which extends out into space in all directions a great deal
    farther than the nebulium discs extend. The Wolf-Rayet
    star-planetary nebula D. M. + 30 degrees.3639 looks hazy in a
    powerful telescope, and when examined in a spectroscope the
    haziness is seen to be due to a sharply defined globe of
    hydrogen 5 seconds of arc in diameter surrounding the star in
    its center. Wolf and Burns have shown that in the Ring Nebula
    in Lyra the 3726A and the hydrogen images are larger as to
    outer diameter than the nebulium images, but that the latter
    are the more condensed on the inner edge of the ring. Wright
    has in the present year examined these and other nebulae with
    special reference to the distribution of the principal
    ingredients. He finds in general that the radiations at 4363A
    and 4686A, of unknown or possibly helium origin, are most
    closely compressed around the central nuclei of nebulae; that
    the matter definitely known to be helium is more extended in
    size; that the nebulium structure is still larger; and that the
    hydrogen uniformly extends out farther than the nebulium; and
    that the ultra violet radiation at 3726A seems to proceed from
    the largest volume of all. The 37726A line, like the nebulium
    line, is unknown in stellar spectra; it seems also to be
    confined to true nebulosity. Neglecting the elements which have
    never been observed in true stars, we may say that all these
    observations are in harmony with the view that hydrogen should
    be and is the principal element in the outer stratum of the
    very young star. A few of the stars whose spectra contain
    bright hydrogen lines have also a number of bright lines whose
    chemical origin is not known. They appear to exist exactly at
    this state of stellar life: several of them have not been found
    in the spectra of the gaseous nebulae, and they are not
    represented in the later types of stellar spectra. The strata
    which produce these bright lines are thought to be a little
    deeper in the stars than the outer hydrogen stratum.

    A slightly older stage of stellar existence is indicated by the
    type of spectrum in which some of the lines of hydrogen, always
    those at the violet end, are dark, and the remaining hydrogen
    lines, always those toward the red end, are bright. The
    brightest star in the Pleiades group, Alcyone, presents
    apparently the last of this series, for all of the hydrogen
    lines are dark except H alpha, in the red. In some of the
    bright-line stars which we have described, technically known as
    Oe5, Harvard College Observatory found that the dark helium and
    hydrogen lines exist, and apparently increase in intensity, on
    the average, as the bright lines become fainter. Wright has
    observed the absorption lines of helium and hydrogen in the
    spectra of the nuclei of some planetary nebulae, although the
    helium and hydrogen lines are bright in the nebulosity
    surrounding the nuclei. We may say that when all of the bright
    lines have disappeared from the spectra of stars, the helium
    lines, and likewise the hydrogen lines, have in general become
    fairly conspicuous. These stars are known as the helium stars,
    or stars of Class B. Proceeding through the subdivisions of
    Class B, the helium lines increase to a maximum of intensity
    and then decrease. The dark hydrogen lines are more and more in
    evidence, with intensities increasing slowly. In the middle and
    later subdivisions of the helium stars silicon, oxygen and
    nitrogen are usually represented by a few absorption lines.

    Just as the gaseous nebulae radiate heat into space and
    condense, so must the stars, with this difference: the nebulae
    are highly rarified bodies, with surfaces enormously large in
    proportion to the heat contents; and the radiation from them
    must be relatively rapid. In fact, some of the nebulae seem to
    be so highly rarified that radiation may take place from their
    interiors almost as well as from their surfaces. The radiation
    from a star just formed must occur at a much slower rate. The
    continued condensation of the star, following the loss of heat,
    must lead to a change of physical condition, which will be
    apparent in the spectrum. It should pass from the so-called
    helium group, to the hydrogen, or Class A group, not suddenly
    but by insensible gradations of spectrum. In the Class A stars
    the hydrogen lines are the most prominent features. The helium
    lines have disappeared, except in a few stars where faint
    helium remnants are in evidence. The magnesium lines have
    become prominent and the calcium lines are growing rapidly in
    strength. The so-called metallic lines, usually beginning with
    iron and titanium lines, which have a few extremely faint
    representatives in the last of the helium stars, become visible
    here and there in the Class A spectra, but they are not
    conspicuous.

    In the next main division, the Class F spectra, the metallic
    lines increase rapidly in prominence, and the hydrogen lines
    decrease slightly in strength. These stars are not so blue as
    the helium and hydrogen stars. They are intermediate between
    the blue stars and the yellow stars, which begin with the next
    class, G, of which our Sun is a representative.

    The metallic lines are in Class G spectra in great number and
    intensity, and the hydrogen lines are greatly reduced in
    prominence. The calcium bands are very wide and intense.

    Another step brings us to the very yellow and the
    slightly-reddish stars, known as Class K. These stars are weak
    in violet light, the hydrogen lines are substantially of the
    same intensity as the most prominent metallic lines, and the
    metallic lines are more and more in evidence.

    Stars in the last subdivisions of the Class K and all of the
    Class M stars are decidedly red. In these the hydrogen lines
    are still further weakened and the metallic lines are even more
    prominent. Their spectra are further marked by absorption bands
    of titanium oxide, which reach their maximum strength in the
    later subdivisions of Class M.

    The extremely red stars compose Class N on the Harvard scale.
    Their spectra are almost totally lacking in violet light, the
    metallic absorption is very strong, and there are conspicuous
    absorption bands of carbon.

    Deep absorbing strata of titanium and carbon oxides seem to
    exist in the atmospheres of the Class M and N stars,
    respectively. The presence of these oxides indicates a
    relatively low temperature, and this is what we should expect
    from stars so far advanced in life.

    The period of existence succeeding the very red stars has
    illustrations near at hand, we think, in Jupiter, Saturn,
    Uranus and Neptune, and in the Earth and the other small
    planets and the Moon: bodies which still contain much heat, but
    which are invisible save by means of reflected light.

    The progression of stellar development, which we have
    described, has been based upon the radiation of heat. This is
    necessarily gradual, and the corresponding changes of spectrum
    should likewise be gradual and continuous. It is not intended
    to give the impression that only a few types of spectra are in
    evidence: the variety is very great. The labels, Class B, Class
    A, and so on to Class N, are intended to mark the miles in the
    evolutionary journey. The Harvard experts have put up other
    labels to mark the tenths of miles, so to speak, and some day
    we shall expect to see the hundredths labeled. Further, it is
    not here proposed that heat radiation is the only vital factor
    in the processes of evolution. The mass of a star may be an
    important item, and the electrical conditions may be concerned.
    A very small star and a very massive star may develop
    differently, and it is conceivable that there may be actual
    differences of composition. But heat-radiation is doubtless the
    most important factor.

    The evolutionary processes must proceed with extreme
    deliberation. The radiation of the heat actually present at any
    moment in a large helium star would probably not require many
    tens of thousands of years, but this quantity of heat is
    negligible in comparison with the quantity generated within the
    star during and by the processes of condensation from the
    helium age down to the Class M state. We know that the
    compression of any body against resistance generates or
    releases heat. Now a gaseous star at any instant is in a state
    of equilibrium. Its internal heat and the centrifugal force due
    to its rotation about an axis are trying to expand it. Its own
    gravitational power is trying to draw all of its materials to
    the center. Until there is a loss of heat no contraction can
    occur; but just as soon as there is such a loss gravity
    proceeds to diminish the stellar volume. Contraction will
    proceed more slowly than we should at first thought expect,
    because in the process of contraction additional heat is
    generated and this becomes a factor in resisting further
    compression. Contraction is resisted vastly more by the heat
    generated in the process of contraction than it is by the store
    of heat already in evidence. The quantity of heat in our Sun,
    now existing as heat, would suffice to maintain its present
    rate of outflow only a few thousands of years. The heat
    generated in the process of the Sun's shrinkage under gravity,
    however, is so extensive as to maintain the supply during
    millions of years to come. Helmholtz has shown that the
    reduction of the Sun's radius at the rate of 45 meters per year
    would generate as much heat within the Sun as is now radiated.
    This rate of shrinkage is so slow that our most refined
    instruments could not detect a change in the solar diameter
    until after the lapse of 4,000 or 5,000 years. Again, there are
    reasons for suspecting that the processes of evolution in our
    Sun, and in other stars as well, may be enormously prolonged
    through the influence of energy within the atoms or molecules
    of matter composing them. The subatomic forces residing in the
    radioactive elements represent the most condensed form of
    energy of which we have any conception. It is believed that the
    subatomic energy in a mass of radium is at least a million-fold
    greater than the energy represented in the combustion or other
    chemical transformation of any ordinary substance having the
    same mass. These radioactive forces are released with extreme
    slowness, in the form of heat or the equivalent; and if these
    substances exist moderately in the Sun and stars, as they do in
    the Earth, they may well be important factors in prolonging the
    lives of these bodies.

    Speaking somewhat loosely, I think we may say that the
    processes of evolution from an extended nebula to a condensed
    nebula and from the latter to a spherical star, are
    comparatively rapid, perhaps normally confined to a few tens of
    millions of years; but that the further we proceed in the
    development process, from the blue star to the yellow, and
    possibly but not certainly on to the red star, the slower is
    the progress made, for the radiating surface through which all
    the energy from the interior must pass becomes smaller and
    smaller in proportion to the mass, and the convection currents
    which carry heat from the interior to the surface must slow
    down in speed.

    A HISTORY OF FIJI.

    BY DR. ALFRED GOLDSBOROUGH MAYER

    IV

    THE Fijians had a well-organized social system which recognized
    six classes of society. (1) Kings and queens (Tuis and Andis).
    (2) Chiefs of districts (Rokos). (3) Chiefs of villages,
    priests (Betes), and land owners (Mata-ni-vanuas). (4)
    Distinguished warriors of low birth, chiefs of the carpenter
    caste (Rokolas), and chiefs of the turtle fishermen. (5) Common
    people (Kai-si). (6) Slaves taken in battle.

    The high chiefs still inspire great respect, and indeed it has
    been the policy of the British government to maintain a large
    measure of their former authority. Thus of the 17 provinces
    into which the group was divided, 11 are governed by high
    chiefs entitled Roko Tui, and there are about 176 inferior
    chiefs who are the head men of districts, and 31 native
    magistrates. In so far as may be consistent with order and
    civilization these chiefs are permitted to govern in the old
    paternal manner, and they are veritably patriarchs of their
    people. The district chiefs are still elected by the land
    owners, mata-ni-vanuas, by a showing of hands as of old.

    Independent of respect paid to those in authority, rank is
    still reverenced in Fiji. Once acting under the kind permission
    and advice of our generous friend Mr. Allardyce, the colonial
    secretary, and accompanied by my ship-mates Drs. Charles H.
    Townsend, and H. F. Moore, I went upon a journey of some days
    into the interior of Viti Levu, our guide and companion being
    Ratu Pope Seniloli, a grandson of king Thakombau, and one of
    the high chiefs of Mbau. Upon meeting Ratu Pope every native
    dropped his burdens, stepped to the side of the wood-path and
    crouched down, softly chanting the words of the tame, muduo!
    wo! No one ever stepped upon his shadow, and if desirous of
    crossing his path they passed in front, never behind him. Clubs
    were lowered in his presence, and no man stood fully erect when
    he was near. The very language addressed to high chiefs is
    different from that used in conversation between ordinary men,
    these customs being such that the inferior places himself in a
    defenceless position with respect to his superior.

    It is a chief's privilege to demand service from his subjects;
    which was fortunate for us, for when we started down the
    Waidina River from Nabukaluka our canoes were so small and
    overloaded that the ripples were constantly lapping in over the
    gunwale, threatening momentarily to swamp us. Soon, however, we
    came upon a party of natives in a fine large canoe, and after
    receiving their tama Ratu Pope demanded: "Where are you going"?
    The men, who seemed somewhat awestricken, answered that it had
    been their intention to travel up the river. Whereupon Ratu
    Pope told them that this they might do, but we would take their
    canoe and permit them to continue in ours. To this they acceded
    with the utmost cheerfulness, although our noble guide would
    neither heed our protests nor permit us to reward them for
    their service, saying simply, "I am a chief. You may if you
    choose pay me." In this manner we continued to improve our
    situation by "exchanging" with every canoe we met which
    happened to be better than our own, until finally our princely
    friend ordered a gay party of merry-makers out of a fine large
    skiff, which they cheerfully "exchanged" for our leaky canoes
    and departed singing happily, feeling honored indeed that this
    opportunity had come to them to serve the great chief Ratu Pope
    Seniloli; and thus suffering qualms of conscience, we sailed to
    our destination leaving a wake of confusion behind us. Moreover
    I forgot to mention that many natives had by Ratu Pope's orders
    been diverted from their intended paths and sent forward to
    announce the coming of himself and the "American chiefs." Thus
    does one of the Royal house of Mbau proceed through Fiji.

    At first sight such behavior must appear autocratic, to say the
    least, but it should be remembered that a high chief has it in
    his power fully to recompense those about him, and this without
    the payment of a penny. Indeed, many intelligent natives still
    regret the introduction of money into their land, saying that
    all the white man's selfishness had been developed through its
    omnipotence. In Fiji to-day there are no poor, for such would
    be fed and given a house by those who lived beside them. The
    white man's callous brutality in ignoring the appeal of misery
    is incomprehensible to the natives of Fiji. "Progress" they
    have not in the sense that one man possesses vast wealth and
    many around him struggle helplessly, doomed to life-long
    poverty; nor have they ambition to toil beyond that occasional
    employment required to satisfy immediate wants. Yet if life be
    happy in proportion as the summation of its moments be
    contented, the Fijians are far happier than we. Old men and
    women rest beneath the shade of cocoa-palms and sing with the
    youths and maidens, and the care-worn faces and bent bodies of
    "civilization" are still unknown in Fiji. They still have
    something we have lost and never can regain.

    It is impossible to draw a line between personal service such
    as was rendered to Ratu Pope and a regular tax (lala) for the
    benefit of the entire community or the support of the communal
    government; and the recognition of this fact actuated the
    English to preserve much of the old system and to command the
    payment of taxes in produce, rather than in money.

    Land tenure in Fiji is a subject so complex that heavy volumes
    might be written upon it. In general it may be said that the
    chief can sell no land without the consent of his tribe.
    Cultivated land belonged to the man who originally farmed it,
    and is passed undivided to all his heirs. Waste land is held in
    common. Native settlers who have been taken into the tribes
    from time to time have been permitted to farm some of the waste
    land, and for this privilege they and their heirs must pay a
    yearly tribute to the chief either in produce or in service.
    Thus this form of personal lala is simply rent. The whole
    subject of land-ownership has given the poor English a world of
    trouble, as one may see who cares to read the official reports
    of the numerous intricate cases that have come before the
    courts.

    For example, one party based their claims to land on the
    historic fact that their ancestors had eaten the chief of the
    original owners, and the solemn British court allowed the
    claim.

    Basil Thomson in his interesting work upon "The Fijians; a
    Study of the Decline of Custom," has given an authoritative
    summary of the present status of taxation and land tenure, land
    being registered under a modification of the Australian Torrens
    system.

    In order to protect these child-like people from the avarice of
    our own race they are not permitted to sell their lands, and
    the greater portion of the area of Fiji is still held by the
    natives. The Hawaiian Islands now under our own rule furnish a
    sad contrast, for here the natives are reduced by poverty to a
    degraded state but little above that of peonage. The Fijians.
    on the other hand, may not sell, but may with the consent of
    the commissioner of native affairs lease their lands for a
    period of not more than twenty years.

    The Fijians appear never to have been wholly without a medium
    of exchange, for sperm-whale's teeth have always had a
    recognized purchasing power, but are more especially regarded
    as a means of expressing good will and honesty of purpose. A
    whale's tooth is as effective to secure compliance with the
    terms of a bargain as an elaborately engraved bond would be
    with us. More commonly, however, exchanges are direct, each man
    bringing to the village green his taro, yaqona, yams or fish
    and exchanging with his neighbors; the rare disputes being
    settled by the village chief.

    In traveling you will discover no hotels, but will be
    entertained in the stranger's houses, and in return for your
    host's hospitality you should make presents to the chief.
    Indeed to journey in good fashion you should be accompanied by
    a train of bearers carrying heavy bags full of purposed gifts,
    and nowhere in the world is the "rate per mile" higher than in
    Polynesia.

    As in all communities, including our own world of finance, a
    man's wealth consists not only in what he possesses but even
    more so in the number of people from whom he can beg or borrow.
    Wilkes records an interesting example of this, for he found
    that the rifle and other costly presents he had presented to
    King Tanoa were being seized upon by his (Tanoa's) nephew who
    as his vasu had a right to take whatever he might select from
    the king's possessions. Indeed, in order to keep his property
    in sight, Tanoa was forced to give it to his own sons, thus
    escaping the rapacity of his nephew. The construction of the
    British law is such that a vasu who thus appropriates property
    to himself could be sued and forced to restore it, but not a
    single Fijian has yet been so mean as to bring such a matter
    into court.

    An individual as such can hardly be said to own property, for
    nearly all things belong to his family or clan, and are shared
    among cousins. This condition is responsible for that absence
    of personal ambition and that fatal contentment with existing
    conditions, which strikes the white man as so illogical, but
    which is nevertheless the dominant feature of the social fabric
    of the Polynesians, and which has hitherto prevented the
    introduction of "ideals of modern progress." The natives are
    happy; why work when every reasonable want is already supplied?
    None are rich in material things, but none are beggars
    excepting in the sense that all are such. No one can be a
    miser, a capitalist, a banker, or a "promoter" in such a
    community, and thieves are almost unknown. Indeed, the honesty
    of the Fijians is one of those virtues which has excited the
    comment of travelers. Wilkes, who loathed them as "condor-eyed
    savages," admits that the only thing which any native attempted
    to steal from the Peacock was a hatchet, and upon being
    detected the chief requested the privilege of taking the man
    ashore in order that he might be roasted and eaten. Theft was
    always severely punished by the chief; Maafu beating a thief
    with the stout stalk of a cocoanut leaf until the culprit's
    life was despaired of, and Tui Thakau wrapping one in a tightly
    wound rope so that not a muscle could move while the wretch
    remained exposed for an entire day to the heat of the sun.

    During Professor Alexander Agassiz's cruises in which he
    visited nearly every island of the Fijis, and the natives came
    on board by hundreds, not a single object was stolen, although
    things almost priceless in native estimation lay loosely upon
    the deck. Once, indeed, when the deck was deserted by both
    officers and crew and fully a hundred natives were on board, we
    found a man who had been gazing wistfully for half an hour at a
    bottle which lay upon the laboratory table. Somehow he had
    managed to acquire a shilling, a large coin in Fiji, and this
    he offered in exchange for the coveted bottle. One can never
    forget his shout of joy and the radiance of his honest face as
    he leaped into his canoe after having received it as a gift.

    Even the great chief Ratu Epele of Mbau beamed with joy when
    presented with a screw-capped glass tobacco jar, and Tui Thakau
    of Somo somo had a veritable weakness for bottles and possessed
    a large collection of these treasures.

    Intelligent and well-educated natives who know whereof they
    speak have told me that they desire not the white man's system,
    entailing as it does untold privation and heart-burnings to the
    many that the few may enjoy a surfeit of mere material things.
    As the natives say, "The white man possesses more than we, but
    his life is full of toil and sorrow, while our days are happy
    as they pass."

    Thus in the Pacific life is of to-day; the past is dead, and
    the future when it comes will pass as to-day is passing. Life
    is a dream, an evanescent thing, all but meaningless, and real
    only as is the murmur of the surf when the sea-breeze comes in
    the morning, and man awakens from the oblivion of night.

    Hoarded wealth inspires no respect in the Pacific, and indeed,
    were it discovered, its possession would justify immediate
    confiscation. Yet man must raise idols to satisfy his instinct
    to worship things above his acquisition, and thus rank is the
    more reverenced because respect for property is low. Even
    to-day there is something god-like in the presence of the high
    chiefs, and none will cross the shadow of the king's house.
    Even in war did a common man kill a chief he himself was killed
    by men of his own tribe.

    As it is with property so with relationships. The family ties
    seem loosened; every child has two sets of parents, the adopted
    and the real, and relationships founded upon adoption are more
    respected than the real. Rank descends mainly through the
    mother. The son of a high chief by a common woman is a low
    chief, or even a commoner, but the son of a chieftainess by a
    common man is a chief. Curiously, there are no words in Fijian
    which are the exact equivalent of widow and widower. In the
    Marshall group the chief is actually the husband of all the
    women of his tribe, and as Lorimer Fison has said in his "Tales
    from Old Fiji," their designation and understanding of
    relationships suggests that there was once a time when "all the
    women were the wives of every man, and all the men were the
    husbands of every woman," as indeed was almost the case in
    Tahiti at the time of Captain Cook's visit to this island.

    The social customs of Fiji are rarely peculiar to Fiji itself,
    but commonly show their relationship or identity with those of
    the Polynesians or Papuans. Curiously indeed, while the
    original stock of the Fijians was probably pure Papuan, their
    social and economic systems are now dominated by Polynesian
    ideas, and only among the mountain tribes do we find a clear
    expression of the crude Papuan systems of life and thought.
    This in itself shows that under stimulation the Fijians are
    capable of advancement in cultural ideals.

    This superposition of a Polynesian admixture upon a barbarous
    negroid stock may account for the anomalous character of the
    Fijians, for in the arts they equalled or in some things
    excelled the other island peoples of the Pacific, and some of
    their customs approached closely to the cultural level of the
    Polynesians, but in certain fundamental things they remained
    the most fiendish savages upon earth. Indeed we should expect
    that contact with a somewhat high culture would introduce new
    wants, and thus affect their arts more profoundly than their
    customs.

    In common with all primitive peoples, their names of men and
    women are descriptive of some peculiarity or circumstance
    associated with the person named. Indeed, names were often
    changed after important events in a person's life, thus our old
    friend Thakombau began life as Seru, then after the coup d'etat
    in which he slaughtered his father's enemies and reestablished
    Tanoa's rule in Mbau he was called Thakombau (evil to Mbau). At
    the time he also received another name Thikinovu (centipede) in
    allusion to his stealthiness in approaching to bite his enemy,
    but this designation, together with his "missionary" name
    "Ebenezer," did not survive the test of usage. Miss Gordon
    Cumming gives an interesting list of Fijian names translated
    into English. For women they were such as Spray of the Coral
    Reef, Queen of Parrot's Land, Queen of Strangers, Smooth Water,
    Wife of the Morning Star, Mother of Her Grandchildren, Ten
    Whale's Teeth, Mother of Cockroaches, Lady Nettle, Drinker of
    Blood, Waited For, Rose of Rewa, Lady Thakombau, Lady Flag,
    etc. The men's names were such as The Stone (eternal) God,
    Great Shark, Bad Earth, Bad Stranger, New Child, More Dead
    Man's Flesh, Abode of Treachery, Not Quite Cooked, Die Out of
    Doors, Empty Fire, Fire in the Bush, Eats Like a God, King of
    Gluttony, Ill Cooked, Dead Man, Revenge, etc.

    In the religion of a people we have the most reliable clue to
    the history of their progress in culture and intelligence, for
    religions even when unwritten are potent to conserve old
    conceptions, and thus their followers advance beyond them, as
    does the intelligence of the twentieth century look pityingly
    upon the conception of the cruel and jealous God of the Old
    Testament, whose praises are nevertheless still sung in every
    Christian church. Thus in Tahiti the people were not cannibals,
    but the gods still appeared in the forms of birds that fed upon
    the bodies of the sacrificed. The eye of the victim was,
    indeed, offered to the chief, who raised it to his lips but did
    not eat it. In Samoa also where the practice of cannabalism was
    very rare and indulged in only under great provocation, some of
    the gods remained cannibals, and the surest way of appeasing
    any god was to be laid upon the stones of a cold oven. In
    Tahiti and Samoa, while most of the gods were malevolent, a few
    were kindly disposed towards mortals; in Fiji, however, they
    were all dreaded as the most powerful, sordid, cruel and
    vicious cannibal ghosts that have ever been conjured into being
    in the realm of thought.

    All over the Pacific from New Zealand to Japan, and from New
    Guinea to Hawaii, ancestor-worship forms the backbone of every
    religion as clearly as it did in Greece or Rome. There are
    everywhere one or more very ancient gods who may always have
    existed and from whom all others are descended. Next in order
    of reverence, although not always in power, come their
    children, and finally the much more numerous grandchildren and
    remote descendants of these oldest and highest gods. Finally,
    after many generations, men of chieftain's rank were born to
    the gods. Thus a common man could never attain the rank of a
    high chief, for such were the descendants of the gods, while
    commoners were created out of other clay and designed to be
    servants to the chiefs.

    But the process of god-making did not end with the appearance
    of men, for great chiefs and warriors after death became kalou
    yalo, or spirits, and often remained upon earth a menace to the
    unwary who might offend them. Curiously, these deified mortals
    might suffer a second death which would result in their utter
    annihilation, and while in Fiji we heard a tale of an old chief
    who had met with the ghost of his dead enemy and had killed him
    for the second and last time; the club which served in this
    miraculous victory having been hung up in the Mbure as an
    object of veneration.

    Of a still lower order were the ghosts of common men or of
    animals, and most dreaded of all was the vengeful spirit of the
    man who had been devoured. The ghosts of savage Fiji appear all
    to have been malevolent and fearful beings, whereas those of
    the more cultured Polynesians were some of them benevolent. As
    Ellis says of the Tahitian mythology:

    Each lovely island was made a sort of fairyland and the spells
    of enchantment were thrown over its varied scenes. The
    sentiment of the poet that

    "Millions of spiritual creatures walk the earth,
    Unseen, both when we wake, and when we sleep"

    was one familiar to their minds, and it is impossible not to
    feel interested in a people who were accustomed to consider
    themselves surrounded by invisible intelligences, anti who
    recognized in the rising sun, the mild and silver moon, the
    shooting star, the meteor's transient flame, the ocean's roar,
    the tempest's blast, or the evening breeze the movements of
    mighty spirits.

    The gods and ghosts of Fiji often entered into the bodies of
    animals or men, especially idiots.

    Thus when the Carnegie Institution Expedition arrived at the
    Murray Islands in Torres Straits, the scientific staff were
    much pleased at the decided evidences of respect shown by the
    natives until it came out that the Islanders considered their
    white guests to be semi-idiots, and hence powerful sorcerers to
    be placated. Fijian religion had developed into the oracular
    stage, and the priest after receiving prayers and offerings
    would on occasions be entered into by the god. Tremors would
    overspread his body, the flesh of which would creep horribly.
    His veins would swell, his eyeballs protrude with excitement
    and his voice, becoming quavering and unnatural, would whine
    out strange words, words spoken by the god himself and unknown
    to the priest who as his unconscious agent was overcome by
    violent convulsions. Slowly the contortions grew less and with
    a start the priest would awaken, dash his club upon the ground
    and the god would leave him. It may well be imagined that the
    priests were the most powerful agents of the chiefs in
    forwarding the interests of their masters, for, as in ancient
    Greece or Rome, nothing of importance was undertaken without
    first consulting the oracle.

    Surrounded by multitudes of demons, ghosts, and genii who were
    personified in everything about him, religion was the most
    powerful factor in controlling Fijian life and politics. In
    fact, it entered deeply into every act the native performed.
    The gods were more monstrous in every way than man, but in all
    attributes only the exaggerated counterparts of Fijian chiefs.

    War was constantly occurring among these gods and spirits, and
    even high gods could die by accident or be killed by those of
    equal rank so that at least one god, Samu, was thus dropped out
    of the mythology in 1847.

    Ndengei was the oldest and greatest, but not the most
    universally reverenced god. He lived in a cavern in the
    northeastern end of Viti Levu, and usually appeared as a snake,
    or as a snake's head with a body of stone symbolizing eternal
    life. Among the sons and grandsons of Ndengei were Roko
    Mbati-ndua, the one-toothed lord; a fiend with a huge tooth
    projecting from his lower jaw and curving over the top of his
    head. He had bat's wings armed with claws and was usually
    regarded as a harbinger of pestilence. The mechanic's god was
    eight-handed, gluttony had eighty stomachs, wisdom possessed
    eight eyes. Other gods were the adulterer, the abductor of
    women of rank and beauty, the rioter, the brain-eater, the
    killer of men, the slaughter god, the god of leprosy, the
    giant, the spitter of miracles, the gods of fishermen and of
    carpenters, etc. One god hated mosquitoes and drove them away
    from the place where he lived. The names and stations of the
    gods are described by Thomas Williams, who has given the most
    detailed account of the old religion.

    As with all peoples whose religion is barbarous, there were
    ways of obtaining sanctuary and many a man has saved his life
    by taking advantage of the tabus which secured their operation.
    No matter how desirous your host might be of murdering you, as
    long as you remained a guest under his roof you were safe,
    although were you only a few yards away from his door he would
    eagerly attack you.

    But not only did the Fijians live in a world peopled by
    witches, wizards, prophets, seers and fortune-tellers, but
    there was a perfect army of fairies which overran the whole
    land, and the myths concerning which would have filled volumes
    could they ever have been gathered. The gnome-like spirits of
    the mountains had peaked heads, and were of a vicious, impish
    disposition, but were powerless to injure any one who carried a
    fern leaf in his hand.

    Sacred relics such as famous clubs, stones possessing
    miraculous powers, etc., were sometimes kept in Fijian temples,
    but there were no idols such as were prayed to by the
    Polynesians.

    The fearful alternatives of heaven and hell were unknown to the
    Fijians. They believed in an eternal existence for men,
    animals, and even canoes and other inanimate things, but the
    future life held forth no prospect either of reward for virtues
    or punishment for evil acts committed while alive. So certain
    were they of a future life that they always referred to the
    dead as "the absent ones," and their land of shades (Mbulu) was
    not essentially different from the world they lived in. Indeed,
    their chief idea of death was that of rest, for as William's
    states, they have an adage: "Death is easy: Of what use is
    life? To die is rest."

    There were, however, certain precautions the Fijian felt it
    advisable to take before entering the world to come. If he had
    been so unfortunate as not to have killed a man, woman or
    child, his duty would be the dismal one of pounding filth
    throughout eternity, and disgraceful careers awaited those
    whose ears were not bored or women who were not tatooed upon
    parts covered by the liku. Moreover, should a wife not
    accompany him (be strangled at the time of his death) his
    condition would be the dismal one of a spirit without a cook.
    Thirdly, as one was at the time of death so would the spirit be
    in the next world. It was therefore an advantage to die young,
    and people often preferred to be buried alive, or strangled,
    than to survive into old age. Lastly and most important, one
    must not die a bachelor, for such are invariably dashed to
    pieces by Nangganangga, even if they should succeed in elud-
    ing the grasp of the Great Woman, Lewa-levu, who flaunts the
    path of the departed spirits and searches for the ghosts of
    good-looking men. Let us imagine, however, that our shade
    departs this life in the best of form, young, married, with the
    lobes of his ears pierced, not dangerously handsome and a
    slayer of at least one human being. He starts upon the long
    journey to the Valhalla of Fiji. Soon he comes to a spiritual
    Pandanus at which he must throw the ghost of the whale's tooth
    which was placed in his hand at time of burial. If he succeeds
    in hitting the Pandanus, he may then wait until the spirit of
    his strangled wife comes to join him, after which he boards the
    canoe of the Fijian Charon and proceeds to Nambanggatai, where
    until 1847 there dwelt the god Samu, and after his death
    Samuyalo "the killer of souls."

    This god remains in ambush in some spiritual mangrove bushes
    and thrusts a reed within the ground upon the path of the ghost
    as a warning not to pass the spot. Should the ghost be brave he
    raises his club in defiance, whereupon Samuyalo appears, club
    in hand, and gives battle. If killed in this combat, the ghost
    is cooked and eaten by the soul killer, and if wounded he must
    wander forever among the mountains, but if the ghost be
    victorious over the god he may pass on to be questioned by
    Ndengei, who may consign him either to Mburotu, the highest
    heaven, or drop him over a precipice into a somewhat inferior
    but still tolerable abode, Murimuria. This Ndengei does in
    accordance with the caprice of the moment and without reference
    either to the virtues or the faults of the deceased. Thus of
    those who die only a few can enter the higher heaven for the
    Great Woman and the Soul destroyer overcome the greater number
    of those who dare to face them. As for the victims of cannibal
    feasts, their souls are devoured by the gods when their bodies
    are eaten by man.

    In temperament and ambitions the spirits of the dead remained
    as they were upon earth, but of more monstrous growth in all
    respects, resembling giants greater and more vicious than man.
    War and cannibalism still prevailed in heaven, and the
    character of the inhabitants seems to have been fiendish or
    contemptible as on earth; for the spirits of women who were not
    tattooed were unceasingly pursued by their more fortunate
    sisters, who tore their bodies with sharp shells, often making
    mince-meat of them for the gods to eat. Also the shade of any
    one whose ears had not been pierced was condemned to carry a
    masi log over his shoulder and submit to the eternal ridicule
    of his fellow spirits.

    Altogether, this religion seems to have been as sordid, brutal
    and vicious as was the ancestral negroid stock of the Fijians.
    Connected with it there was, however, a rude mythology, clumsy
    but romantic, too much of which has been lost; for the natives
    of to-day have largely forgotten its stories or are ashamed to
    repeat it to the whites. In recent times the natives have
    tended to make their folk-lore conform to Biblical stories, or
    to adapt them to conditions of the present day. The interesting
    subject of the lingering influence of old beliefs upon the life
    of the natives of to-day has engaged the attention of Basil
    Thomson in "The Fijians, a Study of the Decay of Custom."

    As in every British colony, the people are taught to respect
    the law. Sentences of imprisonment are meted out to natives for
    personal offences which if committed by white men would be
    punished by small fines, but the reason for this is that in the
    old native days such acts were avenged by murder, and it is to
    prevent crime that a prison term has been ordained. The natives
    take their imprisonment precisely as boys in boarding school
    regard a flogging, the victim commonly becoming quite a hero
    and losing no caste among his fellows. Indeed it is a common
    sight to see bands of from four to eight stalwart "convicts" a
    mile or more from the prison marching unguarded through the
    woods as they sing merrily on their way "home" to the jail.
    Once I recall seeing two hundred prisoners, all armed with long
    knives, engaged in cutting weeds along the roadside, chanting
    happily as they slashed, while a solitary native dressed only
    in a waist-cloth and armed only with a club stood guard at one
    end of the line, and this not near the prison, but in a lonely
    wood fully a mile from the nearest house.

    In 1874, the British undertook the unique task of civilizing
    without exploiting a barbarous and degraded race which was
    drifting hopelessly into ruin. They began the solution of this
    complex problem by arresting the entire race and immuring them
    within the protecting walls of a system which recognized as its
    cardinal principle that the natives were unfit to think or act
    for themselves. For a generation the Fijians have been in a
    prison wherein they have become the happiest and best behaved
    captives upon earth. During this time they have become
    reconciled to a life of peace, and have forgotten the taste of
    human flesh; and while they cherish no love for the white man,
    they feel the might of his law and know that his decrees are as
    finalities of fate. All are serving life sentences to the white
    man's will, and the fire of their old ambition has cooled into
    the dull embers of resignation and then died into the apathy of
    contentment with things that are. Worse still, they have grown
    fond of their prison world, and the most pessimistic feature in
    the Fijian situation of to-day is the evident fact that there
    is almost no discontent among the natives. Old things have
    withered and decayed, but new ambition has not been born.

    It is in no spirit of criticism of British policy that I have
    written the above paragraph for it was absolutely necessary
    that the race should "calm down" for a generation at least
    before it could be trusted to arise. Now, however, there are no
    more old chiefs whose memories hark back to days of savagery,
    and now for the first and only time has come the critical
    period in the unique governmental experiment the British have
    undertaken to perform, for now is the time when the child must
    learn to walk alone and the support of guardian arms must in
    kindness be withdrawn, else there must be nurtured but a
    cripple, not a man.

    Among the generation of to-day the light of a new ambition must
    appear in Fiji or the race shall dwindle to its death. No real
    progress has been made by the Fijians; they have received much
    from their teachers, but have given nothing in return. They are
    in the position of a youth whose schooling has just been
    finished, life and action lie before him; will he awaken to his
    responsibility, develop his latent talent, character and power,
    and recompense his teachers by achievement, or will he sink
    into the apathy of a vile content?

    The situation in Fiji is one of peculiar delicacy for the
    desire for better things must arise among the Fijians
    themselves, and should it once appear, the paternalism of the
    present government must be wisely withdrawn to permit of more
    and more freedom in proportion as the natives may become
    competent to think and act rightly for themselves. A cardinal
    difficulty is the unfortunate fact that the natives DESIRE no
    change, and even if individually discontented and ambitious,
    they know of no profession, arts or trades to which they might
    turn with hope of fortune. The establishment of manual training
    schools wherein money-making trades should be taught, if
    possible BY NATIVE teachers, is sorely needed in Fiji.

    At present there is too little freedom of thought in Fiji; fear
    of the chief and of Samuyalo's club has been replaced by fear
    of the European and his hell. Free, fearless thought is the
    father of high action, and while their minds remain steeped in
    an apathy of dread there can be no soil in which the seed of
    independence can germinate.

    Yet it is still possible that the Fijians may attain
    civilization. Of all the archipelagoes of Polynesia, Fiji alone
    may still be called the "Isles of Hope." As one who has known
    and grown to love these honest, hospitable, simple people, I
    can only hope that the day is not far distant when a leader may
    arise among them who will turn their faces toward the light of
    a brighter sky, and their hands to a worthier task than has
    ever yet been performed in Polynesia.

    Yet why civilize them? Often does one ask oneself this
    question, but the answer comes as the voice of fate, "they must
    attain civilization or they must die." Should the population
    continue to decline at its present rate, the time is imminent
    when the dark-skinned men of Fiji will be not the natives, but
    the swarming progeny of the coolies of Calcutta.

    Nowhere over all the wide Pacific have the natives been more
    wisely or unselfishly ruled than in Fiji, yet even here native
    life seems to be growing less and less purposeful year by year.
    In time it is hoped a reaction may set in and that with the
    decline of communism new ambitions may replace the old, but
    then will come the problem of the rich and the poor–a thing
    unknown in Fijian life to-day.

    Hardly the first lessons in civilization have been taught in
    Polynesia, yet who can predict the noon day, should even the
    faintest glow appear in native hope. In former ages the
    Japanese were a barbarous insular people, and as in our own
    civilization the traditions and habits of rude Aryan ancestors
    still color our fundamental thoughts so in Japan we find
    evidences of a culture essentially similar to that of the
    Pacific Islands of to-day. The ancient ancestor worship of
    Japan is strangely like that of the tropical Pacific with its
    gods, the ghosts of long departed chiefs, and its high chief a
    living god to-day. Moreover in the Pacific Islands the house
    consists of but a single room, and such to-day is essentially
    the case in Japan, save only that delicate paper screens divide
    its originally unitary floor-space into temporary compartments.
    As in the South Seas, matting still covers the floor of the
    Japanese house, its roof is thatched, and is constructed before
    the sides are made, there is no chimney, the fire-place is an
    earthen space upon the floor or is sustained within an
    artistically molded bronze brazier, the refined descendant of
    the cruder hearth. In Polynesia as in Japan one seats oneself
    anywhere in tailor-fashion upon the floor, and upon this floor
    the meals are served, and here one sleeps at night, nor will
    the women partake of food in the presence of the men. In
    essential fundamental things of life the Japanese show their
    kinship in custom and tradition to the insular peoples of
    Asiatic origin now occupying the Pacific, and if Japan has
    attained to so great a height in culture and civilization, why
    may we not hope for better days for the South Sea Islanders?

    WAR SELECTION IN THE ANCIENT WORLD

    BY CHANCELLOR DAVID STARR JORDAN

    LELAND STANFORD JUNIOR UNIVERSITY

    "The human harvest was bad!" Thus the historian sums up the
    conditions in Rome in the days of the good emperor, Marcus
    Aurelius. By this he meant that while population and wealth
    were increasing, manhood had failed. There were men enough in
    the streets, men enough in the camps, menial laborers enough
    and idlers enough, but of good soldiers there were too few. For
    the business of the state, which in those days was mainly war,
    its men were inadequate.

    In recognition of this condition we touch again the
    overshadowing fact in the history of Europe, the effect of
    "military selection" on the human breed.

    In rapid survey of the evidence brought from history one must
    paint the picture, such as it is, with a broad brush, not
    attempting to treat exceptions and qualifications, for which
    this article has no space and concerning which records yield no
    data. Such exceptions, if fully understood, would only prove
    the rule. The evil effects of military selection and its
    associated influences have long been recognized in theory by
    certain students of social evolution. But the ideas derived
    from the sane application of our knowledge of Darwinism to
    history are even now just beginning to penetrate the current
    literature of war and peace. In public affairs most nations
    have followed the principle of opportunism, "striking while the
    iron is hot," without regard to future results, whether of
    financial exhaustion or of race impoverishment.

    The recorded history of Rome begins with small and vigorous
    tribes inhabiting the flanks of the Apennines and the valleys
    down to the sea, and blending together to form the Roman
    republic. They were men of courage and men of action, virile,
    austere, severe and dominant.[1] They were men who "looked on
    none as their superior and none as their inferior." For this
    reason, Rome was long a republic. Free-born men control their
    own destinies. "The fault," says Cassius, "is not in our stars,
    but in ourselves that we are underlings." Thus in freedom, when
    Rome was small without glory, without riches, without colonies
    and without slaves, she laid the foundations of greatness.

    [1] Virilis, austerus, severus, dominous, good old words
    applied by Romans to themselves.

    But little by little the spirit of freedom gave way to that of
    domination. Conscious of power, men sought to exercise it, not
    on themselves but on one another. Little by little this meant
    aggression, suppression, plunder, struggle, glory and all that
    goes with the pomp and circumstance of war. So the
    individuality in the mass was lost in the aggrandizement of the
    few. Independence was swallowed up in ambition and patriotism
    came to have a new meaning, being transferred from hearth and
    home to the camp and the army.

    In the subsequent history of Rome, we have now to consider only
    a single factor, the reversal of selection." In Rome's
    conquests, Vir, the real man, went forth to battle and foreign
    invasion; Homo, the human being, remained on the farm and in
    the workshop and begat the new generations. "Vir gave place to
    Homo," says the Latin author. Men of good stock were replaced
    by the sons of slaves and camp-followers, the riff-raff of
    those the army sucked in but could not use.

    The Fall of Rome was due not to luxury, effeminacy or
    corruption, not to Nero's or Caligula's wickedness, nor to the
    futility of Constantine's descendants. It began at Philippi,
    where the spirit of domination overcame the spirit of freedom.
    It was forecast still earlier in the rise of consuls and
    triumvirs incident to the thinning out of the sturdy and
    self-sufficient strains who brooked no arbitrary rule. While
    the best men were falling in war, civil or foreign, or remained
    behind in faraway colonies, the stock at home went on repeating
    its weakling parentage. A condition significant in Roman
    history is marked by the gradual swelling of the mob, with the
    rise in authority of the Emperor who was the mob's exponent.
    Increase of arbitrary power went with the growing weakness of
    the Romans themselves. Always the "Emperor" serves as a sort of
    historical barometer by which to measure the abasement of the
    people. The concentrated power of Julius Caesar, resting on his
    own tremendous personality, showed that the days of Cincinnatus
    and of Junius Brutus were past. The strength of Augustus rested
    likewise in personality. The rising authority of later emperors
    had its roots in the ineffectiveness of the mob, until it came
    to pass that "the little finger of Constantine was thicker than
    the loins of Augustus." This was due not to Constantine's
    force, but to the continued reversal of selection among the
    people over whom he ruled. The emperor, no longer the strong
    man holding in check all lesser men and organizations, became
    the creature of the mob; and "the mob, intoxicated with its own
    work, worshipped him as divine." Doubtless the last emperor,
    Augustulus Romulus, before the Goths threw him into the
    scrap-heap of history, was regarded by the mob and himself as
    the most god-like of the whole succession.

    The Romans of the Republic might perhaps have made a history
    very different. Had they held aloof from world-conquering
    schemes Rome might have remained a republic, enduring even down
    to our day. The seeds of Rome's fall lay not in race nor in
    form of government, nor in wealth nor in senility, but in the
    influences by which the best men were cut off from parenthood,
    leaving its own weaker strains and strains of lower races to be
    fathers of coming generations.

    "The Roman Empire," says Professor Seely, "perished for want of
    men." Even Julius Caesar notes the dire scarcity of men, while
    at the same time there were people enough. The population
    steadily grew; Rome was filling up like an overflowing marsh.
    Men of a certain type were plenty, but self-reliant farmers,
    "the hardy dwellers on the flanks of the Apennines," men of the
    early Roman days, these were fast going, and with the change in
    type of population came the turn in Roman history.

    The mainspring of the Roman army for centuries has been the
    patient strength and courage, capacity for enduring hardships,
    instinctive submission to military discipline of the population
    that lined the Apennines.

    "The effect of the wars was that the ranks of the small farmers
    were decimated, while the number of slaves who did not serve in
    the army multiplied," says Professor Bury. Thus "Vir gave place
    to Homo," thus the mob filled Rome and the mob-hero rose to the
    imperial throne. No wonder that Constantine seemed greater than
    Augustus. No wonder that "if Tiberius chastised his subjects
    with whips, Valentinian chastised them with scorpions."[2]

    [2] The point of this is that the cruel Tiberius was less
    severe on the Romans of his day than was the relatively
    benevolent Valentinian on his decadent people.

    With Marcus Aurelius and the Antonines came a "period of
    sterility and barrenness in human beings." Bounties were
    offered for marriage. Penalties were devised against
    race-suicide. "Marriage," says Metellus, "is a duty which,
    however painful, every citizen ought manfully to discharge."
    Wars were conducted in the face of a declining birth-rate, and
    the decline in quality and quantity in the human breed engaged
    very early the attention of Roman statesmen. Deficiencies of
    numbers were made up by immigration, willing or enforced.
    Failure in quality was beyond remedy.

    Says Professor Zumpt:

    'Government having assumed godhead, took at the same time the
    appurtenances of it. Officials multiplied. Subjects lost their
    rights. Abject fear paralyzed the people and those that ruled
    were intoxicated with insolence and cruelty…. The worst
    government is that which is most worshipped as divine. . . .
    The emperor possessed in the army an overwhelming force over
    which citizens had no influence, which was totally deaf to
    reason or eloquence, which had no patriotism because it had no
    country, which had no humanity because it had no domestic ties.
    . . . There runs through Roman literature a brigand's and
    barbarian's contempt for honest industry. . . . Roman
    civilization was not a creative kind, it was military, that is,
    destructive.'

    What was the end of it all? The nation bred Romans no more. To
    cultivate the Roman fields "whole tribes were borrowed." The
    man with quick eye and strong arm gave place to the slave, the
    scullion, the pariah, whose lot is fixed because in him there
    lies no power to alter it. So at last the Roman world, devoid
    of power to resist, was overwhelmed by the swarming Ostrogoths.

    The barbarian settled and peopled the empire rather than
    conquered it. It was the weakness of war-worn Rome that gave
    the Germanic races their first opportunity.

    "The nation is like a bee," wisely observes Bernard Shaw, "as
    it stings it dies."

    In his monumental history of the "Downfall of the Ancient
    World" (Der Untergang der Antikenwelt) Dr. Otto Seeck of the
    University of Munster in Westphalia, treats in detail the
    causes of such decline. He first calls attention to the
    intellectual stagnation which came over the Roman Empire about
    the beginning of the Christian Era. This manifested itself in
    all fields of intellectual activity. No new idea of any
    importance was advanced in science nor in technical and
    political studies. In the realm of literature and art also one
    finds a complete lack of originality and a tendency to imitate
    older models. All this Seeck asserts, was brought about by the
    continuous "rooting out (Ausrottung) of the best"[3] through
    war.

    [3] "Die Ausrottung der Besten, die jenen schwacheren Volken
    die Vernichtung brachte, hat die starken Germanen erst
    befahigt, auf den Trummern der antiken Welt neue dauerende
    Gemeinschaften zu errichten." Seeck.

    Such extermination which took place in Greece as well as in
    Rome, was due to persistent internal conflicts, the constant
    murderous struggle going on between political parties, in
    which, in rapid succession, first one and then the other was
    victorious. The custom of the victors being to kill and banish
    the leaders and all prominent men in the defeated party, often
    destroying their children as well, it is evident that in time
    every strain distinguished for moral courage, initiative or
    intellectual strength was exterminated. By such a systematic
    killing off of men of initiative and brains, the intellectual
    level of a nation must necessarily be lowered more and more. In
    Rome as in Greece observes Seeck:

    'A wealth of force of spirit went down in the suicidal wars. .
    . . In Rome, Marius and Cinna slew the aristocrats by hundreds
    and thousands. Sulla destroyed the democrats, and not less
    thoroughly. Whatever of strong blood survived, fell as an
    offering to the proscription of the Triumvirate. . . . The
    Romans had less of spontaneous force to lose than the Greeks.
    Thus desolation came sooner to them. Whoever was bold enough to
    rise politically in Rome was almost without exception thrown to
    the ground. ONLY COWARDS REMAINED, AND FROM THEIR BLOOD CAME
    FORWARD THE NEW GENERATIONS.[4] Cowardice showed itself in lack
    of originality and in slavish following of masters and
    traditions.'

    [4] Author's italics.

    Certain authors, following Varro, have maintained that Rome
    died a "natural death," the normal result of old age. It is
    mere fancy to suppose that nations have their birth, their
    maturity and their decline under an inexorable law like that
    which determines the life history of the individual. A nation
    is a body of living men. It may be broken up if wrongly led or
    attacked by a superior force. When its proportion of men of
    initiative or character is reduced, its future will necessarily
    be a resultant of the forces that are left.

    Dr. Seeck speaks with especial scorn of the idea that Rome died
    of "old age." He also repudiates the theory that her fall was
    due to the corruption of luxury, neglect of military tactics or
    over-diffusion of culture.

    'It is inconceivable that the mass of Romans suffered from
    over-culture.[5] In condemning the sinful luxury of wealthy
    Romans we forget that the trade-lords of the fifteenth and
    sixteenth centuries were scarcely inferior in this regard to
    Lucullus and Apicius, their waste and luxury not constituting
    the slightest check to the advance of the nations to which
    these men belonged. The people who lived in luxury in Rome were
    scattered more thinly than in any modern state of Europe. The
    masses lived at all times more poorly and frugally because they
    could do nothing else. Can we conceive that a war force of
    untold millions of people is rendered effeminate by the luxury
    of a few hundreds? . . . Too long have historians looked on the
    rich and noble as marking the fate of the world. Half the Roman
    Empire was made up of rough barbarians untouched by Greek or
    Roman culture.

    Whatever the remote and ultimate cause may have been, the
    immediate cause to which the fall of the empire can be traced
    is a physical, not a moral decay. In valor, discipline and
    science the Roman armies remained what they had always been,
    and the peasant emperors of Illyricum were worthy successors of
    Cincinnatus and Calus Marius. But the problem was, how to
    replenish those armies. Men were wanting. The empire perished
    for want of men.'

    [5] "Damitsprechend hat man das Wort `Ueberkultur' uberhaupt
    erfunden, als wenn ein zu grosses Maass von Kultur uberhaupt
    denkbar ware."

    In a volume entitled "Race or Mongrel" published as I write
    these pages, Dr. Alfred P. Schultz of New York, author of "The
    End of Darwinism," takes essentially the same series of facts
    as to the fall of Rome and draws from them a somewhat different
    conclusion. In his judgment the cause was due to "bastardy," to
    the mixing of Roman blood with that of neighboring and
    subjective races. To my mind, bastardy was the result and not
    the cause of Rome's decline, inferior and subject races having
    been sucked into Rome to fill the vacuum left as the Romans
    themselves perished in war. The continuous killing of the best
    left room for the "post-Roman herd," who once sold the imperial
    throne at auction to the highest bidder. As the Romans vanished
    through warfare at home and abroad, came an inrush of foreign
    blood from all regions roundabout. As Schultz graphically
    states:

    'The degeneration and depravity of the mongrels was so great
    that they deified the emperors. And many of the emperors were
    of a character so vile that their deification proves that the
    post-Roman soul must have been more depraved than that of the
    Egyptian mongrel, who deified nothing lower than dogs, cats,
    crocodiles, bugs and vegetables.'

    It must not be overlooked, however, that the Roman race was
    never a pure race. It was a union of strong elements of
    frontier democratic peoples, Sabines, Umbrians, Sicilians,
    Etruscans, Greeks, being blended in republican Rome. Whatever
    the origins, the worst outlived the best, mingling at last with
    the odds and ends of Imperial slavery, the "Sewage of Races"
    ("cloaca gentium") left at the Fall.

    Gibbon says:

    'This diminutive stature of mankind was daily sinking below the
    old standard and the Roman world was indeed peopled by a race
    of pygmies when the fierce giants of the north broke in and
    mended the puny breed. They restored the manly spirit of
    freedom and after the revolutions of ten centuries, freedom
    became the parent of taste and science.'

    But again, the redeemed Italian was of no purer blood than the
    post-Roman-Ostrogoth ancestry from which he sprang. The "puny
    Roman" of the days of Theodoric owed his inheritance to the
    cross of Roman weaklings with Roman slaves. He was not weak
    because he was "mongrel" but because he sprang from bad stock
    on both sides. The Ostrogoth and the Lombard who tyrannized
    over him brought in a great strain of sterner stuff, followed
    by crosses with captive and slave such as always accompany
    conquest. To understand the fall of Rome one must consider the
    disastrous effects of crossings of this sort. Neither can one
    overlook the waste of war which made them inevitable through
    the wholesale influx of inferior tribes. Neither can one speak
    of the Roman, the Italian, the Spaniard, the French, the
    Roumanian, nor of any of the so-called "Latin" peoples as
    representing a simple pure stock, or as being, except in
    language, direct descendants of those ancient Latins who
    constituted the Roman Republic. The failure of Rome arose not
    from hybridization, but from the wretched quality on both sides
    of its mongrel stock, descendants of Romans unfit for war and
    of base immigrants that had filled the vacancies.

    Greece.–Once Greece led the world in intellectual pursuits, in
    art, in poetry, in philosophy. A large and vital part of
    European culture is rooted directly in the language and thought
    of Athens. The most beautiful edifice in the world was the
    Peace Palace of the Parthenon, erected by Pericles, to
    celebrate the end of Greece's suicidal wars. This endured 2,187
    years, to be wrecked at last (1687) in Turkish hands by the
    Christian bombs of the Venetian Republic.

    But the glory of Greece had passed away long before the fall of
    the Parthenon. Its cause was the one cause of all such
    downfalls–the extinction of strong men by war. At the best,
    the civilization of Greece was built on slavery, one freeman to
    ten slaves. And when the freemen were destroyed, the slaves, an
    original Mediterranean stock, overspread the territory of
    Hellas along with the Bulgarians, Albanians and Vlachs,
    barbarians crowding down from the north.

    The Grecian language still lives, the tongue of a spirited and
    rising modern people. But the Greeks of the classic period–the
    Hellenes of literature, art and philosophy–will never be known
    again. Says Mr. W. H. Ireland:

    'Most of the old Greek race has been swept away, and the
    country is now inhabited by persons of Slavonic descent.
    Indeed, there is a strong ground for the statement that there
    was more of the old heroic blood of Hellas in the Turkish army
    of Edhem Pasha than in the soldiers of King George.'

    The modern Greek has been called a "Byzantinized Slav." King
    George himself and Constantine his son are only aliens placed
    on the Grecian throne to suit the convenience of outer powers,
    being in fact descendants of tribes which to the ancient Greeks
    were merely barbarians.

    It is maintained that the modern Greeks are in the main the
    descendants of the population that inhabited Greece in the
    earlier centuries of Byzantine rule. Owing to the operation of
    various causes, historical, social and economic, that
    population was composed of many heterogeneous elements and
    represented in very limited degree the race which repulsed the
    Persians and built the Parthenon. The internecine conflicts of
    the Greek communities, wars with foreign powers, and the deadly
    struggles of factions in the various cities had to a large
    extent obliterated the old race of free citizens by the
    beginning of Roman period. The extermination of the Plataeans
    by the Spartans and of the Melians by the Athenians during the
    Peloponnesian war, the proscription of the Athenian citizens
    after the war, the massacre of the Coreyrean oligarchs by the
    democratic party, the slaughter of the Thebans by Alexander and
    of the Corinthians by Mummius are among the more familiar
    instances of the catastrophes which overtook the civic element
    in the Greek cities. The void can only have been filled from
    the ranks of the metics or resident aliens and of the
    descendants of the far more numerous slave population. In the
    classic period four fifths of the population of Attica were
    slaves; of the remainder, half were meties In A.D. 100 only
    three thousand free arm-bearing men were in Greece. (James D.
    Bourchier.)

    The constant little struggles of the Greeks among themselves
    made no great showing as to numbers compared to other wars, but
    they wiped out the most valuable people, the best blood, the
    most promising heredity on earth. This cost the world more than
    the killing of millions of barbarians. In two centuries there
    were born under the shadow of the Parthenon more men of genius
    than the Roman Empire had in its whole existence. Yet this
    empire included all the civilized world, even Greece herself.
    (La Pouge.)

    The downfall of Greece,[6] like that of Rome, has been ascribed
    by Schultz to the crossing of the Greeks with the barbaric
    races which flocked into Hellas from every side. These resident
    aliens, or metics, steadily increased in number as the free
    Greeks disappeared. Selected slaves or helots were then made
    free in order to furnish fighting men, and again as these fell
    their places were taken by immigrants.

    [6] Certain recent writers who find in environment the causes
    of the rise and fall of nations, ascribe the failure of Greece
    to the introduction in Athens and Sparta of the malaria-bearing
    mosquito. As to the facts in question, we have little evidence.
    But while the prevalence of malaria may have affected the
    general activity of the people, it could in no way have
    obliterated the mental leadership which made the strength of
    classic Hellas, nor could it have injected its poison into the
    stream of Greek heredity.

    It is doubtless true at this day that "no race inhabits
    Greece," and the main difference between Greeks and other
    Balkan peoples is that, inhabiting the mountains and valleys of
    Hellas, they speak in dialects of the ancient tongue.
    Environment, except through selection and segregation, can not
    alter race inheritance and the modern "Greeks" have not been
    changed by it. Schultz observes:

    'We are told that the Hellenes owed their greatness largely to
    the country it was their fortune to dwell in. To that same
    country, with the same wonderful coast line and harbors,
    mountains and brooks, and the same sun of Homer, the modern
    Greeks owe their nothingness.'

    In other words, it is quite true that the Greece of Pericles
    owed its strength to Greek blood, not to Hellenic scenery. When
    all the good Greek blood was spent in suicidal wars, only
    slaves and foreign-born were left. " 'Tis Greece, but living
    Greece no more."[7]

    [7] In contrasting a new race with the old–as the modern
    Greeks with the incomparable Hellenes–we must not be unjust to
    the men of to-day whose limitations are evident, contrasted
    with a race we know mainly by its finest examples. In spite of
    poverty, touchiness and vanity characteristic of the modern
    Greek, there is good stuff in him. He is frank, hopeful,
    enthusiastic. The mountain Greek, at least, knows the value of
    freedom, and has more than once put up a brave fight for it.
    The valleys breed subserviency, and the Greeks of Thessaly are
    said to be less independent than the mountain-born.

    Furthermore, we do not know that even the first Hellenes of
    Mycenae were an unmixed race, or that any unmixed races ever
    rose to such prominence as to command the world's attention. We
    do know that when war depletes a nation slaves and foreigners
    come in to fill the vacuum, and that the decline of a great
    race in history has always been accompanied by a debasing of
    its blood.

    Yet out of this decadence natural selection may in time bring
    forward better strains, and with normal conditions of security
    and peace nature may begin again her work of recuperation.

    In the fall of Greece we have another count against war,
    scarcely realized until the facts of Louvain and Malines, of
    Rheims and Ypres, have brought it again so vividly before us.
    War respects nothing, while the human soul increasingly demands
    veneration for its own noble and beautiful achievements. As I
    write this, there rise before me the paintings in the "Neue
    Pinakothek" at Munich, representing the twenty-one Cities of
    Ancient Greece, from Sparta to Salamis, from Eleusis to
    Corinth, not as they were, "in the glory which was Greece," not
    as they are now, largely fishing hamlets by the blue Aegean
    Sea, but as ruined arches and broken columns half hid in the
    ashes of war, wars which blotted out Greece from world history.

    ANTI-SUFFRAGISTS AND WAR

    BY ELSIE CLEWS PARSONS

    NEW YORK CITY

    ONE of the most curious of those misstatements of fact and
    confusions of thought the conservative seems even more prone to
    make than the radical has to do with a certain suppositiously
    historical relation between women and war. It is assumed[1]
    that early society is ever militant and that because of its
    militarism it excludes women, women not being fighters, not
    only from its government, but from all its privileges, even
    making of them its drudges and its beasts of burden. And so,
    argues the conservative, women are for the same reasons
    disfranchised, and properly disfranchised, to-day. Whether more
    or less militant than it was, society is still founded on
    force, and because women are not as strong as men, men will not
    give them the vote. Besides it is only right, since they can
    not fight, they should not vote. It has always been so, and so
    it should continue to be, at any rate until war becomes a thing
    of the past, and that will never be, you can't change human
    nature, etc., etc.

    [1] And, let us admit, not merely by the conservative
    anti-feminist. As radical and discerning a feminist as Thomas
    Wentworth Higginson, after asserting that physical strength was
    once "sole ruler," cites in agreement Walter Bagehot's
    reference to "the contempt for physical weakness and for women
    which marks early society." ("Women and the Alphabet," p. 49.
    Boston and New York, 1900.)

    There are of course various answers to this militarist
    anti-suffrage argument, answers which in spite of the logic of
    current events are still likely to be satisfactory or not
    according to previous convictions, but the only point I wish to
    challenge is the appeal in this connection to the past. Let the
    militarist anti-suffragist assert his belief in government by
    force if he likes, but let him not try to justify it by the
    precedents of primitive life. Nor may he–or she–explain the
    exclusion of women to-day as a survival of their subjection in
    primitive society to brute force. The government of primitive
    society is not based on physical prowess, and although modern
    woman is excluded from men's activities for the same reason as
    primitive woman was excluded, the reason is not muscular
    inferiority.

    It is a pity in the feminist controversies of the last hundred
    years or so that the "exclusion of women" did not become a more
    popular phrase than the "subjection of women." That term gave a
    fallacious twist both to observation and analysis. Primitive
    and modern men alike commonly EXCLUDE women, they seldom
    subject them. Similarly, in some societies, children and young
    people, all in fact but the elderly, are treated to methods of
    exclusion rather than of subjection.

    Early society is dominated by the elders; its practices and
    customs have been determined by them and, in the most primitive
    society, government is nothing but a gerontocracy, a government
    of old men. Even with chieftaincy the council of the elders is
    weighty and the heads of households have considerable
    influence. Are the elders the fighters or raiders of the tribe?
    No, they are its judges, its legislators and, most important of
    all, its magicians. Nor is the chief or king the fighter par
    excellence of the tribe. But he too may be and often is the
    tribal magician. Through their powers of magic elders and
    chiefs are responsible for the weather, for the reproduction of
    plants and animals, for the success of the crops, of hunts and
    catches, for the health and general welfare of the people. And
    in war? In war they are the most important personages too.
    Because they fight? No, because in war too they make magic;
    they charm the approaches to the village, they "doctor" the
    trails or the weapons or the canoes, they make war medicine,
    they invoke and propitiate the war gods. The warriors are the
    younger men, men whose efforts would be vain without the
    backing of their magic-working seniors or chiefs. The elders
    make peace and declare war. And it is at their dictate that the
    young men take to head-hunting or to raiding or even to
    stealing women.

    As to the subjection of women, what exists of it the elders are
    responsible for. It is they who scare a girl or shame her into
    being docile. It is they who marry her off against her will, it
    is they who set her unending tasks or shut her up in idleness.
    It is they who make her undergo the discomforts or miseries of
    what we call conventional life or bully her into exile or
    death.

    With this control of girls or women the warriors, the "standing
    army," have little or nothing to do, even less in primitive
    life than in modern. It is the old people, the old women at
    times as well as the old men. Again it is the old men who are
    leaders in the exclusion of the women. In control of the
    initiation of the youths, they separate them from their mothers
    or sisters and often decree for the initiates a ceremonial
    avoidance of all women for a set time. The penalties they
    threaten–sickness, decrepitude, effeminacy–are too dire to
    pass unheeded. This "avoidance" has been explained as due to
    the monopolistic spirit of the elders. With their women they
    want no interference by the youths. But a far more plausible
    explanation, I think, takes the avoidance as a concentration
    rite, so to speak, a symbol, if you like, of the life ahead,
    the life in which the boys, "made" men, are going to have
    little to do in public with women. For even after the special
    avoidance of the initiation period ends, the segregation of the
    sexes continues. Men keep together and away from women in their
    club-houses, and in all the places of assembly which are
    differentiated from the primitive club-house–the church, the
    council, the workshop, the gymnasium, the university, the
    play-house. And from all the interests which center in these
    places men have from time to time excluded women, they have
    excluded them from magic and religion, from arts and letters,
    from games, from politics and, let me add, from war.

    Why are men so exclusive? Because–the reason will seem almost
    too simple, I fear, for acceptance–because now and always men
    do not want to be bothered by women. Women get in our way, they
    say, women are a nuisance. Almost anywhere away from home women
    are a nuisance–in church organization, in the university, in
    business, etc. Of course if women can be kept apart from us in
    these activities and will stay in their place, if they join an
    order of nuns or deaconesses, if they go to a separate college
    in the university, if they will become good stenographers, we
    don't mind having their cooperation, we welcome it. Women may
    even go to war–as an absolutely separate division of the army,
    said the men of Dahomi, as non-combatant pahia women or workers
    of magic, said the Roro-speaking tribesmen of New Guinea, or as
    Red (dross nurses, say the men of Europe and America. If we men
    can be sure women will not interfere with us, we really do not
    mind. Women have only to give us that assurance of
    non-interference to make us doubt the assertion we sometimes
    make that in going to war they are interfering with the order
    of nature.

    AN INTERPRETATION OF SLAVOPHILISM

    BY ARTHUR D. REES

    PHILADELPHIA, PA.

    THERE are good reasons for believing that the Russians are
    practically the greatest peace people in Christendom. They are
    the least commercial in the competitive sense, the least
    capitalistic also, and as a people, the least combative in
    Europe, despite the wrecks of warring dynasties that ten
    centuries have left upon their plains and the miscellaneous
    strifes and calamities of all kinds that have beset them.

    Always expanding along lines of least resistance; absorbing by
    comparatively petty conquests, decaying or scanty peoples;
    reaching Kamchatka in the Far East with more ease than she
    reached the shores of the Baltic; never flinging her legions
    far and wide victoriously as did Rome, Spain, France or Great
    Britain–Russia remains to-day, for the most part, humble, and,
    in reality, a conquered people, living, dreaming and preaching
    a morality born both of this humility and of the physical
    environment that has helped to foster it. All Muscovy can not
    be judged by those few who live in the saddle–the Cossack
    population, men and women, numbers only about two million–nor
    by the pitiable pageant of despotism the observer beholds in
    their land: pogroms, poverty, disease, distress, militarism,
    orthodoxy and Pan-Slavism. Russia has a soul in spite of these;
    a gentle and beautiful soul, only half revealed, and too much
    concealed by her dilapidation and her dilemma; a peaceful soul,
    abnormally humble and devout, and in respect to these qualities
    unequalled in Christendom.

    Since the age of Vladimir the Holy, "The Beautiful Sun of
    Kief," in the tenth century, Russia has had the tradition of
    international peace. Vladimir wandered over the country, sword
    and battle ax in hand, like a reincarnation of Thor, armed with
    his mighty and wondrous hammer. Then came his yearning for a
    new religion–something to inspire his life better than
    Perun–Russia's old god of thunder–and the other idols, and a
    little later, the picturesque investigation of his peripatetic
    commissioners having been completed, he became a Christian of
    the Greek church, was baptized with many fine and grand
    ceremonies, compelled his docile people to do likewise, and,
    like a true Northman that he was–the great grandson of Rurik
    of the Baltic wilds–he so impressed his frowsy hordes, half
    Scythian and half Slav, that now in the hearts of their
    descendants, in their popular songs and legends, in those
    concerning Kief especially–a beautiful and pathetic strain of
    music eight centuries old–he, Vladimir, is still the central
    heroic figure; once a man, but now a kind of god, sent from
    Heaven to rule, enlighten and bring peace to his people and be
    known in story and song as "Vladimir the Holy, the Beautiful
    Sun of Kief."

    An old chronicle describes for us how his hordes drank their
    cup of trembling at his hands. There, around about the low
    hills of the southern Dnieper River, probably on the crumbling
    sandstone cliffs of Kief–the city, studded with jewel-like
    legends and famed for its "golden palaces," stood his
    candidates for baptism; near by were priests from
    Constantinople, gorgeously arrayed, chanting, in strains
    unknown to the populace, the Greek church baptismal service.
    Then the democratic immersion!–rich man, poor man and all, at
    Vladimir's command, wade into the baptismal waters, some up to
    their knees, some to their waists, some to their necks, and,
    thus finding a new faith from Heaven, they crossed themselves
    for the first time as the thunder rolled on high! Here is
    Russia remembering her Creator in the days of her youth–and
    forgetting Him ever since; from then on, Holy Russia! Possibly
    Holy Vladimir, at any rate, for becoming, with that ceremony,
    peaceable, except for self-defence, he gave up all of his idols
    and his aggressive sword. The former he scourged and cast into
    the river, the latter he sheathed in its scabbard. And all this
    about 988–the first peace movement of Holy Russia. The faith
    of it, and its vision and dream came early in her history and
    have not yet gone out or been extinguished.

    Before the next such movement, time enough passed by to give
    the seasons and the winds and rains full opportunity to whittle
    down old Kief's storied sandstone hills. In 1815, the
    much-expanded realm of Muscovy, then a partner in the holy
    alliance, proclaimed under Alexander the First, the ideal of
    peace. This Czar declared he would rule as a father over his
    children and in the interest of "justice, charity and peace,"
    and, in so doing, created the leading precedent for the peace
    program of Nicolas the Second.

    Alexander, who in the first half of his reign ruled liberally
    for the days of Napoleonic supremacy, no doubt was sincere in
    his desire to govern in the "spirit of brotherhood," but in the
    latter years of his power, he fell sadly short of this
    standard.

    Alexander the Second, the emancipator of forty-six million
    serfs, may have had some world peace ideal in mind when he in
    1874 promoted a conference in Brussels to codify the usages of
    war, but the reaction from his earlier liberalism was setting
    in about this time and, growing worse, led to his assassination
    in 1881.

    The next move in the direction of peace came, as the world
    rather well knows, through the present Czar, Nicolas the
    Second, who on ascending the throne in 1894, proclaimed that
    Russia would rule in the interests of peace and would cultivate
    the arts of it. In 1898 followed the first call for a World
    Peace Conference, and in 1899 came another circular with a
    similar object.

    But it is out of the kind heart of Muscovy, and from the
    troubled, humble and penitent soul of Russia that the real
    peace movement of her land has arisen. For many centuries
    calamities have been pouring upon her plains, profusely
    pouring–drought, famine and invasions without number; now
    Rurik and his Northmen to start the empire out of its
    prehistoric lethargy; their dynasty of conquering blood still
    sharing in the rulership of the land to-day; now the Tartars,
    remnants of whom with their high cheek bones are still visible
    in the Baltic provinces; particularly and always and ever
    poverty beyond description; poverty, disaster and conquest,
    like triple demons to humiliate the soul of Russia and keep her
    dumb for many centuries, except for the beauty of her unending
    song.

    And out of these conditions of life has grown the peace
    morality that is native to the Russian people; out of their
    sorrows and their conquered plains, out of their broken hearts
    too, although the economic genesis of it all is very apparent.

    The Russian people's Russia has ever been under the overlords
    heel, downtrodden years without number, and yet it is a land
    which has never produced a system of military tactics and
    training–forever dependent for these creations upon her
    neighbors; a land which has produced scarcely one great naval
    or military commander who to-day holds a place in history as do
    those of other nations; a land whose people have been usually
    led to slaughter like sheep by Northman or Teutonic or Polish
    generals; whose armies have never been noted for their great
    campaigns, and always have been poorly drilled, managed and
    fed, and never yet successful in any foreign wars. Surely from
    such a land as this, no widespread war-morality or
    world-conquering legions could come.

    In fact the very reverse has come to pass: the philosophy of
    Slavophilism has arisen in Muscovy, yet not so much arisen as
    it has developed with the Russian soul, not as a thing apart,
    but as a quality thereof, blossoming somehow with all other
    Russian things, out of the primitive Scythian darkness. The
    rebellious spirit having been crushed out of the generations
    since, what is left but non-resistance? Yet in these latter
    years a resisting spirit, nursed and suckled largely in western
    Europe, has falsely made it appear that all Russia was in arms,
    storming with chaotic unity at the church, the state and the
    army, deluging their ancient customs with the destructive and
    re-creative might of radicalism. Far and wide of the truth is
    this! Let no one think the vast heart of Russia has changed!
    Only the few have cast away the ancient quiet; only the few
    have the modern consciousness instead of the medieval,
    theocratic one; only the few are not at heart Slavophiles in
    feeling and in morality.

    This philosophy existed long in the national or social mind
    before it was crystallized into public doctrines, and exists
    even yet largely in its more primitive unworded or instinctive
    form, although it was Peter the Great who unconsciously awoke
    the latent and then unexpressed Slavophilic feelings and
    moralities when he, like a civilizing Pied Piper, charmed the
    chieftains of industry of Western Europe to follow his trail
    into Muscovy, his "Empire of Little Villages," and there
    regenerate them.

  • The Scarlet Letter

    The Scarlet Letter

    Aproximadamente 84.935 palavras.

    The Scarlet Letter

    by Nathaniel Hawthorne

    Contents

    THE CUSTOM-HOUSE
    THE SCARLET LETTER
    I. THE PRISON DOOR
    II. THE MARKET-PLACE
    III. THE RECOGNITION
    IV. THE INTERVIEW
    V. HESTER AT HER NEEDLE
    VI. PEARL
    VII. THE GOVERNOR’S HALL
    VIII. THE ELF-CHILD AND THE MINISTER
    IX. THE LEECH
    X. THE LEECH AND HIS PATIENT
    XI. THE INTERIOR OF A HEART
    XII. THE MINISTER’S VIGIL
    XIII. ANOTHER VIEW OF HESTER
    XIV. HESTER AND THE PHYSICIAN
    XV. HESTER AND PEARL
    XVI. A FOREST WALK
    XVII. THE PASTOR AND HIS PARISHIONER
    XVIII. A FLOOD OF SUNSHINE
    XIX. THE CHILD AT THE BROOKSIDE
    XX. THE MINISTER IN A MAZE
    XXI. THE NEW ENGLAND HOLIDAY
    XXII. THE PROCESSION
    XXIII. THE REVELATION OF THE SCARLET LETTER
    XXIV. CONCLUSION

    THE CUSTOM-HOUSE

    INTRODUCTORY TO “THE SCARLET LETTER”

    It is a little remarkable, that—though disinclined to talk overmuch of
    myself and my affairs at the fireside, and to my personal friends—an
    autobiographical impulse should twice in my life have taken possession
    of me, in addressing the public. The first time was three or four years
    since, when I favoured the reader—inexcusably, and for no earthly
    reason that either the indulgent reader or the intrusive author could
    imagine—with a description of my way of life in the deep quietude of an
    Old Manse. And now—because, beyond my deserts, I was happy enough to
    find a listener or two on the former occasion—I again seize the public
    by the button, and talk of my three years’ experience in a
    Custom-House. The example of the famous “P. P., Clerk of this Parish,”
    was never more faithfully followed. The truth seems to be, however,
    that when he casts his leaves forth upon the wind, the author
    addresses, not the many who will fling aside his volume, or never take
    it up, but the few who will understand him better than most of his
    schoolmates or lifemates. Some authors, indeed, do far more than this,
    and indulge themselves in such confidential depths of revelation as
    could fittingly be addressed only and exclusively to the one heart and
    mind of perfect sympathy; as if the printed book, thrown at large on
    the wide world, were certain to find out the divided segment of the
    writer’s own nature, and complete his circle of existence by bringing
    him into communion with it. It is scarcely decorous, however, to speak
    all, even where we speak impersonally. But, as thoughts are frozen and
    utterance benumbed, unless the speaker stand in some true relation with
    his audience, it may be pardonable to imagine that a friend, a kind and
    apprehensive, though not the closest friend, is listening to our talk;
    and then, a native reserve being thawed by this genial consciousness,
    we may prate of the circumstances that lie around us, and even of
    ourself, but still keep the inmost Me behind its veil. To this extent,
    and within these limits, an author, methinks, may be autobiographical,
    without violating either the reader’s rights or his own.

    It will be seen, likewise, that this Custom-House sketch has a certain
    propriety, of a kind always recognised in literature, as explaining how
    a large portion of the following pages came into my possession, and as
    offering proofs of the authenticity of a narrative therein contained.
    This, in fact—a desire to put myself in my true position as editor, or
    very little more, of the most prolix among the tales that make up my
    volume—this, and no other, is my true reason for assuming a personal
    relation with the public. In accomplishing the main purpose, it has
    appeared allowable, by a few extra touches, to give a faint
    representation of a mode of life not heretofore described, together
    with some of the characters that move in it, among whom the author
    happened to make one.

    In my native town of Salem, at the head of what, half a century ago, in
    the days of old King Derby, was a bustling wharf—but which is now
    burdened with decayed wooden warehouses, and exhibits few or no
    symptoms of commercial life; except, perhaps, a bark or brig, half-way
    down its melancholy length, discharging hides; or, nearer at hand, a
    Nova Scotia schooner, pitching out her cargo of firewood—at the head, I
    say, of this dilapidated wharf, which the tide often overflows, and
    along which, at the base and in the rear of the row of buildings, the
    track of many languid years is seen in a border of unthrifty
    grass—here, with a view from its front windows adown this not very
    enlivening prospect, and thence across the harbour, stands a spacious
    edifice of brick. From the loftiest point of its roof, during precisely
    three and a half hours of each forenoon, floats or droops, in breeze or
    calm, the banner of the republic; but with the thirteen stripes turned
    vertically, instead of horizontally, and thus indicating that a civil,
    and not a military, post of Uncle Sam’s government is here established.
    Its front is ornamented with a portico of half-a-dozen wooden pillars,
    supporting a balcony, beneath which a flight of wide granite steps
    descends towards the street. Over the entrance hovers an enormous
    specimen of the American eagle, with outspread wings, a shield before
    her breast, and, if I recollect aright, a bunch of intermingled
    thunderbolts and barbed arrows in each claw. With the customary
    infirmity of temper that characterizes this unhappy fowl, she appears
    by the fierceness of her beak and eye, and the general truculency of
    her attitude, to threaten mischief to the inoffensive community; and
    especially to warn all citizens careful of their safety against
    intruding on the premises which she overshadows with her wings.
    Nevertheless, vixenly as she looks, many people are seeking at this
    very moment to shelter themselves under the wing of the federal eagle;
    imagining, I presume, that her bosom has all the softness and snugness
    of an eiderdown pillow. But she has no great tenderness even in her
    best of moods, and, sooner or later—oftener soon than late—is apt to
    fling off her nestlings with a scratch of her claw, a dab of her beak,
    or a rankling wound from her barbed arrows.

    The pavement round about the above-described edifice—which we may as
    well name at once as the Custom-House of the port—has grass enough
    growing in its chinks to show that it has not, of late days, been worn
    by any multitudinous resort of business. In some months of the year,
    however, there often chances a forenoon when affairs move onward with a
    livelier tread. Such occasions might remind the elderly citizen of that
    period, before the last war with England, when Salem was a port by
    itself; not scorned, as she is now, by her own merchants and
    ship-owners, who permit her wharves to crumble to ruin while their
    ventures go to swell, needlessly and imperceptibly, the mighty flood of
    commerce at New York or Boston. On some such morning, when three or
    four vessels happen to have arrived at once usually from Africa or
    South America—or to be on the verge of their departure thitherward,
    there is a sound of frequent feet passing briskly up and down the
    granite steps. Here, before his own wife has greeted him, you may greet
    the sea-flushed ship-master, just in port, with his vessel’s papers
    under his arm in a tarnished tin box. Here, too, comes his owner,
    cheerful, sombre, gracious or in the sulks, accordingly as his scheme
    of the now accomplished voyage has been realized in merchandise that
    will readily be turned to gold, or has buried him under a bulk of
    incommodities such as nobody will care to rid him of. Here,
    likewise—the germ of the wrinkle-browed, grizzly-bearded, careworn
    merchant—we have the smart young clerk, who gets the taste of traffic
    as a wolf-cub does of blood, and already sends adventures in his
    master’s ships, when he had better be sailing mimic boats upon a
    mill-pond. Another figure in the scene is the outward-bound sailor, in
    quest of a protection; or the recently arrived one, pale and feeble,
    seeking a passport to the hospital. Nor must we forget the captains of
    the rusty little schooners that bring firewood from the British
    provinces; a rough-looking set of tarpaulins, without the alertness of
    the Yankee aspect, but contributing an item of no slight importance to
    our decaying trade.

    Cluster all these individuals together, as they sometimes were, with
    other miscellaneous ones to diversify the group, and, for the time
    being, it made the Custom-House a stirring scene. More frequently,
    however, on ascending the steps, you would discern— in the entry if it
    were summer time, or in their appropriate rooms if wintry or inclement
    weathers—a row of venerable figures, sitting in old-fashioned chairs,
    which were tipped on their hind legs back against the wall. Oftentimes
    they were asleep, but occasionally might be heard talking together, in
    voices between a speech and a snore, and with that lack of energy that
    distinguishes the occupants of alms-houses, and all other human beings
    who depend for subsistence on charity, on monopolized labour, or
    anything else but their own independent exertions. These old
    gentlemen—seated, like Matthew at the receipt of custom, but not very
    liable to be summoned thence, like him, for apostolic errands—were
    Custom-House officers.

    Furthermore, on the left hand as you enter the front door, is a certain
    room or office, about fifteen feet square, and of a lofty height, with
    two of its arched windows commanding a view of the aforesaid
    dilapidated wharf, and the third looking across a narrow lane, and
    along a portion of Derby Street. All three give glimpses of the shops
    of grocers, block-makers, slop-sellers, and ship-chandlers, around the
    doors of which are generally to be seen, laughing and gossiping,
    clusters of old salts, and such other wharf-rats as haunt the Wapping
    of a seaport. The room itself is cobwebbed, and dingy with old paint;
    its floor is strewn with grey sand, in a fashion that has elsewhere
    fallen into long disuse; and it is easy to conclude, from the general
    slovenliness of the place, that this is a sanctuary into which
    womankind, with her tools of magic, the broom and mop, has very
    infrequent access. In the way of furniture, there is a stove with a
    voluminous funnel; an old pine desk with a three-legged stool beside
    it; two or three wooden-bottom chairs, exceedingly decrepit and infirm;
    and—not to forget the library—on some shelves, a score or two of
    volumes of the Acts of Congress, and a bulky Digest of the Revenue
    laws. A tin pipe ascends through the ceiling, and forms a medium of
    vocal communication with other parts of the edifice. And here, some six
    months ago—pacing from corner to corner, or lounging on the long-legged
    stool, with his elbow on the desk, and his eyes wandering up and down
    the columns of the morning newspaper—you might have recognised,
    honoured reader, the same individual who welcomed you into his cheery
    little study, where the sunshine glimmered so pleasantly through the
    willow branches on the western side of the Old Manse. But now, should
    you go thither to seek him, you would inquire in vain for the Locofoco
    Surveyor. The besom of reform hath swept him out of office, and a
    worthier successor wears his dignity and pockets his emoluments.

    This old town of Salem—my native place, though I have dwelt much away
    from it both in boyhood and maturer years—possesses, or did possess, a
    hold on my affection, the force of which I have never realized during
    my seasons of actual residence here. Indeed, so far as its physical
    aspect is concerned, with its flat, unvaried surface, covered chiefly
    with wooden houses, few or none of which pretend to architectural
    beauty—its irregularity, which is neither picturesque nor quaint, but
    only tame—its long and lazy street, lounging wearisomely through the
    whole extent of the peninsula, with Gallows Hill and New Guinea at one
    end, and a view of the alms-house at the other—such being the features
    of my native town, it would be quite as reasonable to form a
    sentimental attachment to a disarranged checker-board. And yet, though
    invariably happiest elsewhere, there is within me a feeling for Old
    Salem, which, in lack of a better phrase, I must be content to call
    affection. The sentiment is probably assignable to the deep and aged
    roots which my family has stuck into the soil. It is now nearly two
    centuries and a quarter since the original Briton, the earliest
    emigrant of my name, made his appearance in the wild and
    forest-bordered settlement which has since become a city. And here his
    descendants have been born and died, and have mingled their earthly
    substance with the soil, until no small portion of it must necessarily
    be akin to the mortal frame wherewith, for a little while, I walk the
    streets. In part, therefore, the attachment which I speak of is the
    mere sensuous sympathy of dust for dust. Few of my countrymen can know
    what it is; nor, as frequent transplantation is perhaps better for the
    stock, need they consider it desirable to know.

    But the sentiment has likewise its moral quality. The figure of that
    first ancestor, invested by family tradition with a dim and dusky
    grandeur, was present to my boyish imagination as far back as I can
    remember. It still haunts me, and induces a sort of home-feeling with
    the past, which I scarcely claim in reference to the present phase of
    the town. I seem to have a stronger claim to a residence here on
    account of this grave, bearded, sable-cloaked, and steeple-crowned
    progenitor—who came so early, with his Bible and his sword, and trode
    the unworn street with such a stately port, and made so large a figure,
    as a man of war and peace—a stronger claim than for myself, whose name
    is seldom heard and my face hardly known. He was a soldier, legislator,
    judge; he was a ruler in the Church; he had all the Puritanic traits,
    both good and evil. He was likewise a bitter persecutor; as witness the
    Quakers, who have remembered him in their histories, and relate an
    incident of his hard severity towards a woman of their sect, which will
    last longer, it is to be feared, than any record of his better deeds,
    although these were many. His son, too, inherited the persecuting
    spirit, and made himself so conspicuous in the martyrdom of the
    witches, that their blood may fairly be said to have left a stain upon
    him. So deep a stain, indeed, that his dry old bones, in the
    Charter-street burial-ground, must still retain it, if they have not
    crumbled utterly to dust! I know not whether these ancestors of mine
    bethought themselves to repent, and ask pardon of Heaven for their
    cruelties; or whether they are now groaning under the heavy
    consequences of them in another state of being. At all events, I, the
    present writer, as their representative, hereby take shame upon myself
    for their sakes, and pray that any curse incurred by them—as I have
    heard, and as the dreary and unprosperous condition of the race, for
    many a long year back, would argue to exist—may be now and henceforth
    removed.

    Doubtless, however, either of these stern and black-browed Puritans
    would have thought it quite a sufficient retribution for his sins that,
    after so long a lapse of years, the old trunk of the family tree, with
    so much venerable moss upon it, should have borne, as its topmost
    bough, an idler like myself. No aim that I have ever cherished would
    they recognise as laudable; no success of mine—if my life, beyond its
    domestic scope, had ever been brightened by success—would they deem
    otherwise than worthless, if not positively disgraceful. “What is he?”
    murmurs one grey shadow of my forefathers to the other. “A writer of
    story books! What kind of business in life—what mode of glorifying God,
    or being serviceable to mankind in his day and generation—may that be?
    Why, the degenerate fellow might as well have been a fiddler!” Such are
    the compliments bandied between my great grandsires and myself, across
    the gulf of time! And yet, let them scorn me as they will, strong
    traits of their nature have intertwined themselves with mine.

    Planted deep, in the town’s earliest infancy and childhood, by these
    two earnest and energetic men, the race has ever since subsisted here;
    always, too, in respectability; never, so far as I have known,
    disgraced by a single unworthy member; but seldom or never, on the
    other hand, after the first two generations, performing any memorable
    deed, or so much as putting forward a claim to public notice.
    Gradually, they have sunk almost out of sight; as old houses, here and
    there about the streets, get covered half-way to the eaves by the
    accumulation of new soil. From father to son, for above a hundred
    years, they followed the sea; a grey-headed shipmaster, in each
    generation, retiring from the quarter-deck to the homestead, while a
    boy of fourteen took the hereditary place before the mast, confronting
    the salt spray and the gale which had blustered against his sire and
    grandsire. The boy, also in due time, passed from the forecastle to the
    cabin, spent a tempestuous manhood, and returned from his
    world-wanderings, to grow old, and die, and mingle his dust with the
    natal earth. This long connexion of a family with one spot, as its
    place of birth and burial, creates a kindred between the human being
    and the locality, quite independent of any charm in the scenery or
    moral circumstances that surround him. It is not love but instinct. The
    new inhabitant—who came himself from a foreign land, or whose father or
    grandfather came—has little claim to be called a Salemite; he has no
    conception of the oyster-like tenacity with which an old settler, over
    whom his third century is creeping, clings to the spot where his
    successive generations have been embedded. It is no matter that the
    place is joyless for him; that he is weary of the old wooden houses,
    the mud and dust, the dead level of site and sentiment, the chill east
    wind, and the chillest of social atmospheres;—all these, and whatever
    faults besides he may see or imagine, are nothing to the purpose. The
    spell survives, and just as powerfully as if the natal spot were an
    earthly paradise. So has it been in my case. I felt it almost as a
    destiny to make Salem my home; so that the mould of features and cast
    of character which had all along been familiar here—ever, as one
    representative of the race lay down in the grave, another assuming, as
    it were, his sentry-march along the main street—might still in my
    little day be seen and recognised in the old town. Nevertheless, this
    very sentiment is an evidence that the connexion, which has become an
    unhealthy one, should at last be severed. Human nature will not
    flourish, any more than a potato, if it be planted and re-planted, for
    too long a series of generations, in the same worn-out soil. My
    children have had other birth-places, and, so far as their fortunes may
    be within my control, shall strike their roots into unaccustomed earth.

    On emerging from the Old Manse, it was chiefly this strange, indolent,
    unjoyous attachment for my native town that brought me to fill a place
    in Uncle Sam’s brick edifice, when I might as well, or better, have
    gone somewhere else. My doom was on me. It was not the first time, nor
    the second, that I had gone away—as it seemed, permanently—but yet
    returned, like the bad halfpenny, or as if Salem were for me the
    inevitable centre of the universe. So, one fine morning I ascended the
    flight of granite steps, with the President’s commission in my pocket,
    and was introduced to the corps of gentlemen who were to aid me in my
    weighty responsibility as chief executive officer of the Custom-House.

    I doubt greatly—or, rather, I do not doubt at all—whether any public
    functionary of the United States, either in the civil or military line,
    has ever had such a patriarchal body of veterans under his orders as
    myself. The whereabouts of the Oldest Inhabitant was at once settled
    when I looked at them. For upwards of twenty years before this epoch,
    the independent position of the Collector had kept the Salem
    Custom-House out of the whirlpool of political vicissitude, which makes
    the tenure of office generally so fragile. A soldier—New England’s most
    distinguished soldier—he stood firmly on the pedestal of his gallant
    services; and, himself secure in the wise liberality of the successive
    administrations through which he had held office, he had been the
    safety of his subordinates in many an hour of danger and heart-quake.
    General Miller was radically conservative; a man over whose kindly
    nature habit had no slight influence; attaching himself strongly to
    familiar faces, and with difficulty moved to change, even when change
    might have brought unquestionable improvement. Thus, on taking charge
    of my department, I found few but aged men. They were ancient
    sea-captains, for the most part, who, after being tossed on every sea,
    and standing up sturdily against life’s tempestuous blast, had finally
    drifted into this quiet nook, where, with little to disturb them,
    except the periodical terrors of a Presidential election, they one and
    all acquired a new lease of existence. Though by no means less liable
    than their fellow-men to age and infirmity, they had evidently some
    talisman or other that kept death at bay. Two or three of their number,
    as I was assured, being gouty and rheumatic, or perhaps bed-ridden,
    never dreamed of making their appearance at the Custom-House during a
    large part of the year; but, after a torpid winter, would creep out
    into the warm sunshine of May or June, go lazily about what they termed
    duty, and, at their own leisure and convenience, betake themselves to
    bed again. I must plead guilty to the charge of abbreviating the
    official breath of more than one of these venerable servants of the
    republic. They were allowed, on my representation, to rest from their
    arduous labours, and soon afterwards—as if their sole principle of life
    had been zeal for their country’s service—as I verily believe it
    was—withdrew to a better world. It is a pious consolation to me that,
    through my interference, a sufficient space was allowed them for
    repentance of the evil and corrupt practices into which, as a matter of
    course, every Custom-House officer must be supposed to fall. Neither
    the front nor the back entrance of the Custom-House opens on the road
    to Paradise.

    The greater part of my officers were Whigs. It was well for their
    venerable brotherhood that the new Surveyor was not a politician, and
    though a faithful Democrat in principle, neither received nor held his
    office with any reference to political services. Had it been
    otherwise—had an active politician been put into this influential post,
    to assume the easy task of making head against a Whig Collector, whose
    infirmities withheld him from the personal administration of his
    office—hardly a man of the old corps would have drawn the breath of
    official life within a month after the exterminating angel had come up
    the Custom-House steps. According to the received code in such matters,
    it would have been nothing short of duty, in a politician, to bring
    every one of those white heads under the axe of the guillotine. It was
    plain enough to discern that the old fellows dreaded some such
    discourtesy at my hands. It pained, and at the same time amused me, to
    behold the terrors that attended my advent, to see a furrowed cheek,
    weather-beaten by half a century of storm, turn ashy pale at the glance
    of so harmless an individual as myself; to detect, as one or another
    addressed me, the tremor of a voice which, in long-past days, had been
    wont to bellow through a speaking-trumpet, hoarsely enough to frighten
    Boreas himself to silence. They knew, these excellent old persons,
    that, by all established rule—and, as regarded some of them, weighed by
    their own lack of efficiency for business—they ought to have given
    place to younger men, more orthodox in politics, and altogether fitter
    than themselves to serve our common Uncle. I knew it, too, but could
    never quite find in my heart to act upon the knowledge. Much and
    deservedly to my own discredit, therefore, and considerably to the
    detriment of my official conscience, they continued, during my
    incumbency, to creep about the wharves, and loiter up and down the
    Custom-House steps. They spent a good deal of time, also, asleep in
    their accustomed corners, with their chairs tilted back against the
    walls; awaking, however, once or twice in the forenoon, to bore one
    another with the several thousandth repetition of old sea-stories and
    mouldy jokes, that had grown to be passwords and countersigns among
    them.

    The discovery was soon made, I imagine, that the new Surveyor had no
    great harm in him. So, with lightsome hearts and the happy
    consciousness of being usefully employed—in their own behalf at least,
    if not for our beloved country—these good old gentlemen went through
    the various formalities of office. Sagaciously under their spectacles,
    did they peep into the holds of vessels. Mighty was their fuss about
    little matters, and marvellous, sometimes, the obtuseness that allowed
    greater ones to slip between their fingers! Whenever such a mischance
    occurred—when a waggon-load of valuable merchandise had been smuggled
    ashore, at noonday, perhaps, and directly beneath their unsuspicious
    noses—nothing could exceed the vigilance and alacrity with which they
    proceeded to lock, and double-lock, and secure with tape and
    sealing-wax, all the avenues of the delinquent vessel. Instead of a
    reprimand for their previous negligence, the case seemed rather to
    require an eulogium on their praiseworthy caution after the mischief
    had happened; a grateful recognition of the promptitude of their zeal
    the moment that there was no longer any remedy.

    Unless people are more than commonly disagreeable, it is my foolish
    habit to contract a kindness for them. The better part of my
    companion’s character, if it have a better part, is that which usually
    comes uppermost in my regard, and forms the type whereby I recognise
    the man. As most of these old Custom-House officers had good traits,
    and as my position in reference to them, being paternal and protective,
    was favourable to the growth of friendly sentiments, I soon grew to
    like them all. It was pleasant in the summer forenoons—when the fervent
    heat, that almost liquefied the rest of the human family, merely
    communicated a genial warmth to their half torpid systems—it was
    pleasant to hear them chatting in the back entry, a row of them all
    tipped against the wall, as usual; while the frozen witticisms of past
    generations were thawed out, and came bubbling with laughter from their
    lips. Externally, the jollity of aged men has much in common with the
    mirth of children; the intellect, any more than a deep sense of humour,
    has little to do with the matter; it is, with both, a gleam that plays
    upon the surface, and imparts a sunny and cheery aspect alike to the
    green branch and grey, mouldering trunk. In one case, however, it is
    real sunshine; in the other, it more resembles the phosphorescent glow
    of decaying wood.

    It would be sad injustice, the reader must understand, to represent all
    my excellent old friends as in their dotage. In the first place, my
    coadjutors were not invariably old; there were men among them in their
    strength and prime, of marked ability and energy, and altogether
    superior to the sluggish and dependent mode of life on which their evil
    stars had cast them. Then, moreover, the white locks of age were
    sometimes found to be the thatch of an intellectual tenement in good
    repair. But, as respects the majority of my corps of veterans, there
    will be no wrong done if I characterize them generally as a set of
    wearisome old souls, who had gathered nothing worth preservation from
    their varied experience of life. They seemed to have flung away all the
    golden grain of practical wisdom, which they had enjoyed so many
    opportunities of harvesting, and most carefully to have stored their
    memory with the husks. They spoke with far more interest and unction of
    their morning’s breakfast, or yesterday’s, today’s, or tomorrow’s
    dinner, than of the shipwreck of forty or fifty years ago, and all the
    world’s wonders which they had witnessed with their youthful eyes.

    The father of the Custom-House—the patriarch, not only of this little
    squad of officials, but, I am bold to say, of the respectable body of
    tide-waiters all over the United States—was a certain permanent
    Inspector. He might truly be termed a legitimate son of the revenue
    system, dyed in the wool, or rather born in the purple; since his sire,
    a Revolutionary colonel, and formerly collector of the port, had
    created an office for him, and appointed him to fill it, at a period of
    the early ages which few living men can now remember. This Inspector,
    when I first knew him, was a man of fourscore years, or thereabouts,
    and certainly one of the most wonderful specimens of winter-green that
    you would be likely to discover in a lifetime’s search. With his florid
    cheek, his compact figure smartly arrayed in a bright-buttoned blue
    coat, his brisk and vigorous step, and his hale and hearty aspect,
    altogether he seemed—not young, indeed—but a kind of new contrivance of
    Mother Nature in the shape of man, whom age and infirmity had no
    business to touch. His voice and laugh, which perpetually re-echoed
    through the Custom-House, had nothing of the tremulous quaver and
    cackle of an old man’s utterance; they came strutting out of his lungs,
    like the crow of a cock, or the blast of a clarion. Looking at him
    merely as an animal—and there was very little else to look at—he was a
    most satisfactory object, from the thorough healthfulness and
    wholesomeness of his system, and his capacity, at that extreme age, to
    enjoy all, or nearly all, the delights which he had ever aimed at or
    conceived of. The careless security of his life in the Custom-House, on
    a regular income, and with but slight and infrequent apprehensions of
    removal, had no doubt contributed to make time pass lightly over him.
    The original and more potent causes, however, lay in the rare
    perfection of his animal nature, the moderate proportion of intellect,
    and the very trifling admixture of moral and spiritual ingredients;
    these latter qualities, indeed, being in barely enough measure to keep
    the old gentleman from walking on all-fours. He possessed no power of
    thought, no depth of feeling, no troublesome sensibilities: nothing, in
    short, but a few commonplace instincts, which, aided by the cheerful
    temper which grew inevitably out of his physical well-being, did duty
    very respectably, and to general acceptance, in lieu of a heart. He had
    been the husband of three wives, all long since dead; the father of
    twenty children, most of whom, at every age of childhood or maturity,
    had likewise returned to dust. Here, one would suppose, might have been
    sorrow enough to imbue the sunniest disposition through and through
    with a sable tinge. Not so with our old Inspector. One brief sigh
    sufficed to carry off the entire burden of these dismal reminiscences.
    The next moment he was as ready for sport as any unbreeched infant: far
    readier than the Collector’s junior clerk, who at nineteen years was
    much the elder and graver man of the two.

    I used to watch and study this patriarchal personage with, I think,
    livelier curiosity than any other form of humanity there presented to
    my notice. He was, in truth, a rare phenomenon; so perfect, in one
    point of view; so shallow, so delusive, so impalpable such an absolute
    nonentity, in every other. My conclusion was that he had no soul, no
    heart, no mind; nothing, as I have already said, but instincts; and
    yet, withal, so cunningly had the few materials of his character been
    put together that there was no painful perception of deficiency, but,
    on my part, an entire contentment with what I found in him. It might be
    difficult—and it was so—to conceive how he should exist hereafter, so
    earthly and sensuous did he seem; but surely his existence here,
    admitting that it was to terminate with his last breath, had been not
    unkindly given; with no higher moral responsibilities than the beasts
    of the field, but with a larger scope of enjoyment than theirs, and
    with all their blessed immunity from the dreariness and duskiness of
    age.

    One point in which he had vastly the advantage over his four-footed
    brethren was his ability to recollect the good dinners which it had
    made no small portion of the happiness of his life to eat. His
    gourmandism was a highly agreeable trait; and to hear him talk of roast
    meat was as appetizing as a pickle or an oyster. As he possessed no
    higher attribute, and neither sacrificed nor vitiated any spiritual
    endowment by devoting all his energies and ingenuities to subserve the
    delight and profit of his maw, it always pleased and satisfied me to
    hear him expatiate on fish, poultry, and butcher’s meat, and the most
    eligible methods of preparing them for the table. His reminiscences of
    good cheer, however ancient the date of the actual banquet, seemed to
    bring the savour of pig or turkey under one’s very nostrils. There were
    flavours on his palate that had lingered there not less than sixty or
    seventy years, and were still apparently as fresh as that of the mutton
    chop which he had just devoured for his breakfast. I have heard him
    smack his lips over dinners, every guest at which, except himself, had
    long been food for worms. It was marvellous to observe how the ghosts
    of bygone meals were continually rising up before him—not in anger or
    retribution, but as if grateful for his former appreciation, and
    seeking to reduplicate an endless series of enjoyment, at once shadowy
    and sensual: a tenderloin of beef, a hind-quarter of veal, a spare-rib
    of pork, a particular chicken, or a remarkably praiseworthy turkey,
    which had perhaps adorned his board in the days of the elder Adams,
    would be remembered; while all the subsequent experience of our race,
    and all the events that brightened or darkened his individual career,
    had gone over him with as little permanent effect as the passing
    breeze. The chief tragic event of the old man’s life, so far as I could
    judge, was his mishap with a certain goose, which lived and died some
    twenty or forty years ago: a goose of most promising figure, but which,
    at table, proved so inveterately tough, that the carving-knife would
    make no impression on its carcase, and it could only be divided with an
    axe and handsaw.

    But it is time to quit this sketch; on which, however, I should be glad
    to dwell at considerably more length, because of all men whom I have
    ever known, this individual was fittest to be a Custom-House officer.
    Most persons, owing to causes which I may not have space to hint at,
    suffer moral detriment from this peculiar mode of life. The old
    Inspector was incapable of it; and, were he to continue in office to
    the end of time, would be just as good as he was then, and sit down to
    dinner with just as good an appetite.

    There is one likeness, without which my gallery of Custom-House
    portraits would be strangely incomplete, but which my comparatively few
    opportunities for observation enable me to sketch only in the merest
    outline. It is that of the Collector, our gallant old General, who,
    after his brilliant military service, subsequently to which he had
    ruled over a wild Western territory, had come hither, twenty years
    before, to spend the decline of his varied and honourable life.

    The brave soldier had already numbered, nearly or quite, his
    three-score years and ten, and was pursuing the remainder of his
    earthly march, burdened with infirmities which even the martial music
    of his own spirit-stirring recollections could do little towards
    lightening. The step was palsied now, that had been foremost in the
    charge. It was only with the assistance of a servant, and by leaning
    his hand heavily on the iron balustrade, that he could slowly and
    painfully ascend the Custom-House steps, and, with a toilsome progress
    across the floor, attain his customary chair beside the fireplace.
    There he used to sit, gazing with a somewhat dim serenity of aspect at
    the figures that came and went, amid the rustle of papers, the
    administering of oaths, the discussion of business, and the casual talk
    of the office; all which sounds and circumstances seemed but
    indistinctly to impress his senses, and hardly to make their way into
    his inner sphere of contemplation. His countenance, in this repose, was
    mild and kindly. If his notice was sought, an expression of courtesy
    and interest gleamed out upon his features, proving that there was
    light within him, and that it was only the outward medium of the
    intellectual lamp that obstructed the rays in their passage. The closer
    you penetrated to the substance of his mind, the sounder it appeared.
    When no longer called upon to speak or listen—either of which
    operations cost him an evident effort—his face would briefly subside
    into its former not uncheerful quietude. It was not painful to behold
    this look; for, though dim, it had not the imbecility of decaying age.
    The framework of his nature, originally strong and massive, was not yet
    crumpled into ruin.

    To observe and define his character, however, under such disadvantages,
    was as difficult a task as to trace out and build up anew, in
    imagination, an old fortress, like Ticonderoga, from a view of its grey
    and broken ruins. Here and there, perchance, the walls may remain
    almost complete; but elsewhere may be only a shapeless mound, cumbrous
    with its very strength, and overgrown, through long years of peace and
    neglect, with grass and alien weeds.

    Nevertheless, looking at the old warrior with affection—for, slight as
    was the communication between us, my feeling towards him, like that of
    all bipeds and quadrupeds who knew him, might not improperly be termed
    so,—I could discern the main points of his portrait. It was marked with
    the noble and heroic qualities which showed it to be not a mere
    accident, but of good right, that he had won a distinguished name. His
    spirit could never, I conceive, have been characterized by an uneasy
    activity; it must, at any period of his life, have required an impulse
    to set him in motion; but once stirred up, with obstacles to overcome,
    and an adequate object to be attained, it was not in the man to give
    out or fail. The heat that had formerly pervaded his nature, and which
    was not yet extinct, was never of the kind that flashes and flickers in
    a blaze; but rather a deep red glow, as of iron in a furnace. Weight,
    solidity, firmness—this was the expression of his repose, even in such
    decay as had crept untimely over him at the period of which I speak.
    But I could imagine, even then, that, under some excitement which
    should go deeply into his consciousness—roused by a trumpet’s peal,
    loud enough to awaken all of his energies that were not dead, but only
    slumbering—he was yet capable of flinging off his infirmities like a
    sick man’s gown, dropping the staff of age to seize a battle-sword, and
    starting up once more a warrior. And, in so intense a moment his
    demeanour would have still been calm. Such an exhibition, however, was
    but to be pictured in fancy; not to be anticipated, nor desired. What I
    saw in him—as evidently as the indestructible ramparts of Old
    Ticonderoga, already cited as the most appropriate simile—was the
    features of stubborn and ponderous endurance, which might well have
    amounted to obstinacy in his earlier days; of integrity, that, like
    most of his other endowments, lay in a somewhat heavy mass, and was
    just as unmalleable or unmanageable as a ton of iron ore; and of
    benevolence which, fiercely as he led the bayonets on at Chippewa or
    Fort Erie, I take to be of quite as genuine a stamp as what actuates
    any or all the polemical philanthropists of the age. He had slain men
    with his own hand, for aught I know—certainly, they had fallen like
    blades of grass at the sweep of the scythe before the charge to which
    his spirit imparted its triumphant energy—but, be that as it might,
    there was never in his heart so much cruelty as would have brushed the
    down off a butterfly’s wing. I have not known the man to whose innate
    kindliness I would more confidently make an appeal.

    Many characteristics—and those, too, which contribute not the least
    forcibly to impart resemblance in a sketch—must have vanished, or been
    obscured, before I met the General. All merely graceful attributes are
    usually the most evanescent; nor does nature adorn the human ruin with
    blossoms of new beauty, that have their roots and proper nutriment only
    in the chinks and crevices of decay, as she sows wall-flowers over the
    ruined fortress of Ticonderoga. Still, even in respect of grace and
    beauty, there were points well worth noting. A ray of humour, now and
    then, would make its way through the veil of dim obstruction, and
    glimmer pleasantly upon our faces. A trait of native elegance, seldom
    seen in the masculine character after childhood or early youth, was
    shown in the General’s fondness for the sight and fragrance of flowers.
    An old soldier might be supposed to prize only the bloody laurel on his
    brow; but here was one who seemed to have a young girl’s appreciation
    of the floral tribe.

    There, beside the fireplace, the brave old General used to sit; while
    the Surveyor—though seldom, when it could be avoided, taking upon
    himself the difficult task of engaging him in conversation—was fond of
    standing at a distance, and watching his quiet and almost slumberous
    countenance. He seemed away from us, although we saw him but a few
    yards off; remote, though we passed close beside his chair;
    unattainable, though we might have stretched forth our hands and
    touched his own. It might be that he lived a more real life within his
    thoughts than amid the unappropriate environment of the Collector’s
    office. The evolutions of the parade; the tumult of the battle; the
    flourish of old heroic music, heard thirty years before—such scenes and
    sounds, perhaps, were all alive before his intellectual sense.
    Meanwhile, the merchants and ship-masters, the spruce clerks and
    uncouth sailors, entered and departed; the bustle of his commercial and
    Custom-House life kept up its little murmur round about him; and
    neither with the men nor their affairs did the General appear to
    sustain the most distant relation. He was as much out of place as an
    old sword—now rusty, but which had flashed once in the battle’s front,
    and showed still a bright gleam along its blade—would have been among
    the inkstands, paper-folders, and mahogany rulers on the Deputy
    Collector’s desk.

    There was one thing that much aided me in renewing and re-creating the
    stalwart soldier of the Niagara frontier—the man of true and simple
    energy. It was the recollection of those memorable words of his—“I’ll
    try, Sir”—spoken on the very verge of a desperate and heroic
    enterprise, and breathing the soul and spirit of New England hardihood,
    comprehending all perils, and encountering all. If, in our country,
    valour were rewarded by heraldic honour, this phrase—which it seems so
    easy to speak, but which only he, with such a task of danger and glory
    before him, has ever spoken—would be the best and fittest of all
    mottoes for the General’s shield of arms.

    It contributes greatly towards a man’s moral and intellectual health to
    be brought into habits of companionship with individuals unlike
    himself, who care little for his pursuits, and whose sphere and
    abilities he must go out of himself to appreciate. The accidents of my
    life have often afforded me this advantage, but never with more fulness
    and variety than during my continuance in office. There was one man,
    especially, the observation of whose character gave me a new idea of
    talent. His gifts were emphatically those of a man of business; prompt,
    acute, clear-minded; with an eye that saw through all perplexities, and
    a faculty of arrangement that made them vanish as by the waving of an
    enchanter’s wand. Bred up from boyhood in the Custom-House, it was his
    proper field of activity; and the many intricacies of business, so
    harassing to the interloper, presented themselves before him with the
    regularity of a perfectly comprehended system. In my contemplation, he
    stood as the ideal of his class. He was, indeed, the Custom-House in
    himself; or, at all events, the mainspring that kept its variously
    revolving wheels in motion; for, in an institution like this, where its
    officers are appointed to subserve their own profit and convenience,
    and seldom with a leading reference to their fitness for the duty to be
    performed, they must perforce seek elsewhere the dexterity which is not
    in them. Thus, by an inevitable necessity, as a magnet attracts
    steel-filings, so did our man of business draw to himself the
    difficulties which everybody met with. With an easy condescension, and
    kind forbearance towards our stupidity—which, to his order of mind,
    must have seemed little short of crime—would he forth-with, by the
    merest touch of his finger, make the incomprehensible as clear as
    daylight. The merchants valued him not less than we, his esoteric
    friends. His integrity was perfect; it was a law of nature with him,
    rather than a choice or a principle; nor can it be otherwise than the
    main condition of an intellect so remarkably clear and accurate as his
    to be honest and regular in the administration of affairs. A stain on
    his conscience, as to anything that came within the range of his
    vocation, would trouble such a man very much in the same way, though to
    a far greater degree, than an error in the balance of an account, or an
    ink-blot on the fair page of a book of record. Here, in a word—and it
    is a rare instance in my life—I had met with a person thoroughly
    adapted to the situation which he held.

    Such were some of the people with whom I now found myself connected. I
    took it in good part, at the hands of Providence, that I was thrown
    into a position so little akin to my past habits; and set myself
    seriously to gather from it whatever profit was to be had. After my
    fellowship of toil and impracticable schemes with the dreamy brethren
    of Brook Farm; after living for three years within the subtle influence
    of an intellect like Emerson’s; after those wild, free days on the
    Assabeth, indulging fantastic speculations, beside our fire of fallen
    boughs, with Ellery Channing; after talking with Thoreau about
    pine-trees and Indian relics in his hermitage at Walden; after growing
    fastidious by sympathy with the classic refinement of Hillard’s
    culture; after becoming imbued with poetic sentiment at Longfellow’s
    hearthstone—it was time, at length, that I should exercise other
    faculties of my nature, and nourish myself with food for which I had
    hitherto had little appetite. Even the old Inspector was desirable, as
    a change of diet, to a man who had known Alcott. I looked upon it as an
    evidence, in some measure, of a system naturally well balanced, and
    lacking no essential part of a thorough organization, that, with such
    associates to remember, I could mingle at once with men of altogether
    different qualities, and never murmur at the change.

    Literature, its exertions and objects, were now of little moment in my
    regard. I cared not at this period for books; they were apart from me.
    Nature—except it were human nature—the nature that is developed in
    earth and sky, was, in one sense, hidden from me; and all the
    imaginative delight wherewith it had been spiritualized passed away out
    of my mind. A gift, a faculty, if it had not been departed, was
    suspended and inanimate within me. There would have been something sad,
    unutterably dreary, in all this, had I not been conscious that it lay
    at my own option to recall whatever was valuable in the past. It might
    be true, indeed, that this was a life which could not, with impunity,
    be lived too long; else, it might make me permanently other than I had
    been, without transforming me into any shape which it would be worth my
    while to take. But I never considered it as other than a transitory
    life. There was always a prophetic instinct, a low whisper in my ear,
    that within no long period, and whenever a new change of custom should
    be essential to my good, change would come.

    Meanwhile, there I was, a Surveyor of the Revenue and, so far as I have
    been able to understand, as good a Surveyor as need be. A man of
    thought, fancy, and sensibility (had he ten times the Surveyor’s
    proportion of those qualities), may, at any time, be a man of affairs,
    if he will only choose to give himself the trouble. My fellow-officers,
    and the merchants and sea-captains with whom my official duties brought
    me into any manner of connection, viewed me in no other light, and
    probably knew me in no other character. None of them, I presume, had
    ever read a page of my inditing, or would have cared a fig the more for
    me if they had read them all; nor would it have mended the matter, in
    the least, had those same unprofitable pages been written with a pen
    like that of Burns or of Chaucer, each of whom was a Custom-House
    officer in his day, as well as I. It is a good lesson—though it may
    often be a hard one—for a man who has dreamed of literary fame, and of
    making for himself a rank among the world’s dignitaries by such means,
    to step aside out of the narrow circle in which his claims are
    recognized and to find how utterly devoid of significance, beyond that
    circle, is all that he achieves, and all he aims at. I know not that I
    especially needed the lesson, either in the way of warning or rebuke;
    but at any rate, I learned it thoroughly: nor, it gives me pleasure to
    reflect, did the truth, as it came home to my perception, ever cost me
    a pang, or require to be thrown off in a sigh. In the way of literary
    talk, it is true, the Naval Officer—an excellent fellow, who came into
    the office with me, and went out only a little later—would often engage
    me in a discussion about one or the other of his favourite topics,
    Napoleon or Shakespeare. The Collector’s junior clerk, too a young
    gentleman who, it was whispered occasionally covered a sheet of Uncle
    Sam’s letter paper with what (at the distance of a few yards) looked
    very much like poetry—used now and then to speak to me of books, as
    matters with which I might possibly be conversant. This was my all of
    lettered intercourse; and it was quite sufficient for my necessities.

    No longer seeking nor caring that my name should be blasoned abroad on
    title-pages, I smiled to think that it had now another kind of vogue.
    The Custom-House marker imprinted it, with a stencil and black paint,
    on pepper-bags, and baskets of anatto, and cigar-boxes, and bales of
    all kinds of dutiable merchandise, in testimony that these commodities
    had paid the impost, and gone regularly through the office. Borne on
    such queer vehicle of fame, a knowledge of my existence, so far as a
    name conveys it, was carried where it had never been before, and, I
    hope, will never go again.

    But the past was not dead. Once in a great while, the thoughts that had
    seemed so vital and so active, yet had been put to rest so quietly,
    revived again. One of the most remarkable occasions, when the habit of
    bygone days awoke in me, was that which brings it within the law of
    literary propriety to offer the public the sketch which I am now
    writing.

    In the second storey of the Custom-House there is a large room, in
    which the brick-work and naked rafters have never been covered with
    panelling and plaster. The edifice—originally projected on a scale
    adapted to the old commercial enterprise of the port, and with an idea
    of subsequent prosperity destined never to be realized—contains far
    more space than its occupants know what to do with. This airy hall,
    therefore, over the Collector’s apartments, remains unfinished to this
    day, and, in spite of the aged cobwebs that festoon its dusky beams,
    appears still to await the labour of the carpenter and mason. At one
    end of the room, in a recess, were a number of barrels piled one upon
    another, containing bundles of official documents. Large quantities of
    similar rubbish lay lumbering the floor. It was sorrowful to think how
    many days, and weeks, and months, and years of toil had been wasted on
    these musty papers, which were now only an encumbrance on earth, and
    were hidden away in this forgotten corner, never more to be glanced at
    by human eyes. But then, what reams of other manuscripts—filled, not
    with the dulness of official formalities, but with the thought of
    inventive brains and the rich effusion of deep hearts—had gone equally
    to oblivion; and that, moreover, without serving a purpose in their
    day, as these heaped-up papers had, and—saddest of all—without
    purchasing for their writers the comfortable livelihood which the
    clerks of the Custom-House had gained by these worthless scratchings of
    the pen. Yet not altogether worthless, perhaps, as materials of local
    history. Here, no doubt, statistics of the former commerce of Salem
    might be discovered, and memorials of her princely merchants—old King
    Derby—old Billy Gray—old Simon Forrester—and many another magnate in
    his day, whose powdered head, however, was scarcely in the tomb before
    his mountain pile of wealth began to dwindle. The founders of the
    greater part of the families which now compose the aristocracy of Salem
    might here be traced, from the petty and obscure beginnings of their
    traffic, at periods generally much posterior to the Revolution, upward
    to what their children look upon as long-established rank.

    Prior to the Revolution there is a dearth of records; the earlier
    documents and archives of the Custom-House having, probably, been
    carried off to Halifax, when all the king’s officials accompanied the
    British army in its flight from Boston. It has often been a matter of
    regret with me; for, going back, perhaps, to the days of the
    Protectorate, those papers must have contained many references to
    forgotten or remembered men, and to antique customs, which would have
    affected me with the same pleasure as when I used to pick up Indian
    arrow-heads in the field near the Old Manse.

    But, one idle and rainy day, it was my fortune to make a discovery of
    some little interest. Poking and burrowing into the heaped-up rubbish
    in the corner, unfolding one and another document, and reading the
    names of vessels that had long ago foundered at sea or rotted at the
    wharves, and those of merchants never heard of now on ’Change, nor very
    readily decipherable on their mossy tombstones; glancing at such
    matters with the saddened, weary, half-reluctant interest which we
    bestow on the corpse of dead activity—and exerting my fancy, sluggish
    with little use, to raise up from these dry bones an image of the old
    town’s brighter aspect, when India was a new region, and only Salem
    knew the way thither—I chanced to lay my hand on a small package,
    carefully done up in a piece of ancient yellow parchment. This envelope
    had the air of an official record of some period long past, when clerks
    engrossed their stiff and formal chirography on more substantial
    materials than at present. There was something about it that quickened
    an instinctive curiosity, and made me undo the faded red tape that tied
    up the package, with the sense that a treasure would here be brought to
    light. Unbending the rigid folds of the parchment cover, I found it to
    be a commission, under the hand and seal of Governor Shirley, in favour
    of one Jonathan Pue, as Surveyor of His Majesty’s Customs for the Port
    of Salem, in the Province of Massachusetts Bay. I remembered to have
    read (probably in Felt’s “Annals”) a notice of the decease of Mr.
    Surveyor Pue, about fourscore years ago; and likewise, in a newspaper
    of recent times, an account of the digging up of his remains in the
    little graveyard of St. Peter’s Church, during the renewal of that
    edifice. Nothing, if I rightly call to mind, was left of my respected
    predecessor, save an imperfect skeleton, and some fragments of apparel,
    and a wig of majestic frizzle, which, unlike the head that it once
    adorned, was in very satisfactory preservation. But, on examining the
    papers which the parchment commission served to envelop, I found more
    traces of Mr. Pue’s mental part, and the internal operations of his
    head, than the frizzled wig had contained of the venerable skull
    itself.

    They were documents, in short, not official, but of a private nature,
    or, at least, written in his private capacity, and apparently with his
    own hand. I could account for their being included in the heap of
    Custom-House lumber only by the fact that Mr. Pue’s death had happened
    suddenly, and that these papers, which he probably kept in his official
    desk, had never come to the knowledge of his heirs, or were supposed to
    relate to the business of the revenue. On the transfer of the archives
    to Halifax, this package, proving to be of no public concern, was left
    behind, and had remained ever since unopened.

    The ancient Surveyor—being little molested, I suppose, at that early
    day with business pertaining to his office—seems to have devoted some
    of his many leisure hours to researches as a local antiquarian, and
    other inquisitions of a similar nature. These supplied material for
    petty activity to a mind that would otherwise have been eaten up with
    rust. A portion of his facts, by the by, did me good service in the
    preparation of the article entitled “MAIN STREET,” included in the
    present volume. The remainder may perhaps be applied to purposes
    equally valuable hereafter, or not impossibly may be worked up, so far
    as they go, into a regular history of Salem, should my veneration for
    the natal soil ever impel me to so pious a task. Meanwhile, they shall
    be at the command of any gentleman, inclined and competent, to take the
    unprofitable labour off my hands. As a final disposition I contemplate
    depositing them with the Essex Historical Society. But the object that
    most drew my attention to the mysterious package was a certain affair
    of fine red cloth, much worn and faded, There were traces about it of
    gold embroidery, which, however, was greatly frayed and defaced, so
    that none, or very little, of the glitter was left. It had been
    wrought, as was easy to perceive, with wonderful skill of needlework;
    and the stitch (as I am assured by ladies conversant with such
    mysteries) gives evidence of a now forgotten art, not to be discovered
    even by the process of picking out the threads. This rag of scarlet
    cloth—for time, and wear, and a sacrilegious moth had reduced it to
    little other than a rag—on careful examination, assumed the shape of a
    letter.

    It was the capital letter A. By an accurate measurement, each limb
    proved to be precisely three inches and a quarter in length. It had
    been intended, there could be no doubt, as an ornamental article of
    dress; but how it was to be worn, or what rank, honour, and dignity, in
    by-past times, were signified by it, was a riddle which (so evanescent
    are the fashions of the world in these particulars) I saw little hope
    of solving. And yet it strangely interested me. My eyes fastened
    themselves upon the old scarlet letter, and would not be turned aside.
    Certainly there was some deep meaning in it most worthy of
    interpretation, and which, as it were, streamed forth from the mystic
    symbol, subtly communicating itself to my sensibilities, but evading
    the analysis of my mind.

    When thus perplexed—and cogitating, among other hypotheses, whether the
    letter might not have been one of those decorations which the white men
    used to contrive in order to take the eyes of Indians—I happened to
    place it on my breast. It seemed to me—the reader may smile, but must
    not doubt my word—it seemed to me, then, that I experienced a sensation
    not altogether physical, yet almost so, as of burning heat, and as if
    the letter were not of red cloth, but red-hot iron. I shuddered, and
    involuntarily let it fall upon the floor.

    In the absorbing contemplation of the scarlet letter, I had hitherto
    neglected to examine a small roll of dingy paper, around which it had
    been twisted. This I now opened, and had the satisfaction to find
    recorded by the old Surveyor’s pen, a reasonably complete explanation
    of the whole affair. There were several foolscap sheets, containing
    many particulars respecting the life and conversation of one Hester
    Prynne, who appeared to have been rather a noteworthy personage in the
    view of our ancestors. She had flourished during the period between the
    early days of Massachusetts and the close of the seventeenth century.
    Aged persons, alive in the time of Mr. Surveyor Pue, and from whose
    oral testimony he had made up his narrative, remembered her, in their
    youth, as a very old, but not decrepit woman, of a stately and solemn
    aspect. It had been her habit, from an almost immemorial date, to go
    about the country as a kind of voluntary nurse, and doing whatever
    miscellaneous good she might; taking upon herself, likewise, to give
    advice in all matters, especially those of the heart, by which means—as
    a person of such propensities inevitably must—she gained from many
    people the reverence due to an angel, but, I should imagine, was looked
    upon by others as an intruder and a nuisance. Prying further into the
    manuscript, I found the record of other doings and sufferings of this
    singular woman, for most of which the reader is referred to the story
    entitled “THE SCARLET LETTER”; and it should be borne carefully in mind
    that the main facts of that story are authorized and authenticated by
    the document of Mr. Surveyor Pue. The original papers, together with
    the scarlet letter itself—a most curious relic—are still in my
    possession, and shall be freely exhibited to whomsoever, induced by the
    great interest of the narrative, may desire a sight of them. I must not
    be understood affirming that, in the dressing up of the tale, and
    imagining the motives and modes of passion that influenced the
    characters who figure in it, I have invariably confined myself within
    the limits of the old Surveyor’s half-a-dozen sheets of foolscap. On
    the contrary, I have allowed myself, as to such points, nearly, or
    altogether, as much license as if the facts had been entirely of my own
    invention. What I contend for is the authenticity of the outline.

    This incident recalled my mind, in some degree, to its old track. There
    seemed to be here the groundwork of a tale. It impressed me as if the
    ancient Surveyor, in his garb of a hundred years gone by, and wearing
    his immortal wig—which was buried with him, but did not perish in the
    grave—had met me in the deserted chamber of the Custom-House. In his
    port was the dignity of one who had borne His Majesty’s commission, and
    who was therefore illuminated by a ray of the splendour that shone so
    dazzlingly about the throne. How unlike alas the hangdog look of a
    republican official, who, as the servant of the people, feels himself
    less than the least, and below the lowest of his masters. With his own
    ghostly hand, the obscurely seen, but majestic, figure had imparted to
    me the scarlet symbol and the little roll of explanatory manuscript.
    With his own ghostly voice he had exhorted me, on the sacred
    consideration of my filial duty and reverence towards him—who might
    reasonably regard himself as my official ancestor—to bring his mouldy
    and moth-eaten lucubrations before the public. “Do this,” said the
    ghost of Mr. Surveyor Pue, emphatically nodding the head that looked so
    imposing within its memorable wig; “do this, and the profit shall be
    all your own. You will shortly need it; for it is not in your days as
    it was in mine, when a man’s office was a life-lease, and oftentimes an
    heirloom. But I charge you, in this matter of old Mistress Prynne, give
    to your predecessor’s memory the credit which will be rightfully due”
    And I said to the ghost of Mr. Surveyor Pue—“I will”.

    On Hester Prynne’s story, therefore, I bestowed much thought. It was
    the subject of my meditations for many an hour, while pacing to and fro
    across my room, or traversing, with a hundredfold repetition, the long
    extent from the front door of the Custom-House to the side entrance,
    and back again. Great were the weariness and annoyance of the old
    Inspector and the Weighers and Gaugers, whose slumbers were disturbed
    by the unmercifully lengthened tramp of my passing and returning
    footsteps. Remembering their own former habits, they used to say that
    the Surveyor was walking the quarter-deck. They probably fancied that
    my sole object—and, indeed, the sole object for which a sane man could
    ever put himself into voluntary motion—was to get an appetite for
    dinner. And, to say the truth, an appetite, sharpened by the east wind
    that generally blew along the passage, was the only valuable result of
    so much indefatigable exercise. So little adapted is the atmosphere of
    a Custom-house to the delicate harvest of fancy and sensibility, that,
    had I remained there through ten Presidencies yet to come, I doubt
    whether the tale of “The Scarlet Letter” would ever have been brought
    before the public eye. My imagination was a tarnished mirror. It would
    not reflect, or only with miserable dimness, the figures with which I
    did my best to people it. The characters of the narrative would not be
    warmed and rendered malleable by any heat that I could kindle at my
    intellectual forge. They would take neither the glow of passion nor the
    tenderness of sentiment, but retained all the rigidity of dead corpses,
    and stared me in the face with a fixed and ghastly grin of contemptuous
    defiance. “What have you to do with us?” that expression seemed to say.
    “The little power you might have once possessed over the tribe of
    unrealities is gone! You have bartered it for a pittance of the public
    gold. Go then, and earn your wages!” In short, the almost torpid
    creatures of my own fancy twitted me with imbecility, and not without
    fair occasion.

    It was not merely during the three hours and a half which Uncle Sam
    claimed as his share of my daily life that this wretched numbness held
    possession of me. It went with me on my sea-shore walks and rambles
    into the country, whenever—which was seldom and reluctantly—I bestirred
    myself to seek that invigorating charm of Nature which used to give me
    such freshness and activity of thought, the moment that I stepped
    across the threshold of the Old Manse. The same torpor, as regarded the
    capacity for intellectual effort, accompanied me home, and weighed upon
    me in the chamber which I most absurdly termed my study. Nor did it
    quit me when, late at night, I sat in the deserted parlour, lighted
    only by the glimmering coal-fire and the moon, striving to picture
    forth imaginary scenes, which, the next day, might flow out on the
    brightening page in many-hued description.

    If the imaginative faculty refused to act at such an hour, it might
    well be deemed a hopeless case. Moonlight, in a familiar room, falling
    so white upon the carpet, and showing all its figures so
    distinctly—making every object so minutely visible, yet so unlike a
    morning or noontide visibility—is a medium the most suitable for a
    romance-writer to get acquainted with his illusive guests. There is the
    little domestic scenery of the well-known apartment; the chairs, with
    each its separate individuality; the centre-table, sustaining a
    work-basket, a volume or two, and an extinguished lamp; the sofa; the
    book-case; the picture on the wall—all these details, so completely
    seen, are so spiritualised by the unusual light, that they seem to lose
    their actual substance, and become things of intellect. Nothing is too
    small or too trifling to undergo this change, and acquire dignity
    thereby. A child’s shoe; the doll, seated in her little wicker
    carriage; the hobby-horse—whatever, in a word, has been used or played
    with during the day is now invested with a quality of strangeness and
    remoteness, though still almost as vividly present as by daylight.
    Thus, therefore, the floor of our familiar room has become a neutral
    territory, somewhere between the real world and fairy-land, where the
    Actual and the Imaginary may meet, and each imbue itself with the
    nature of the other. Ghosts might enter here without affrighting us. It
    would be too much in keeping with the scene to excite surprise, were we
    to look about us and discover a form, beloved, but gone hence, now
    sitting quietly in a streak of this magic moonshine, with an aspect
    that would make us doubt whether it had returned from afar, or had
    never once stirred from our fireside.

    The somewhat dim coal fire has an essential Influence in producing the
    effect which I would describe. It throws its unobtrusive tinge
    throughout the room, with a faint ruddiness upon the walls and ceiling,
    and a reflected gleam upon the polish of the furniture. This warmer
    light mingles itself with the cold spirituality of the moon-beams, and
    communicates, as it were, a heart and sensibilities of human tenderness
    to the forms which fancy summons up. It converts them from snow-images
    into men and women. Glancing at the looking-glass, we behold—deep
    within its haunted verge—the smouldering glow of the half-extinguished
    anthracite, the white moon-beams on the floor, and a repetition of all
    the gleam and shadow of the picture, with one remove further from the
    actual, and nearer to the imaginative. Then, at such an hour, and with
    this scene before him, if a man, sitting all alone, cannot dream
    strange things, and make them look like truth, he need never try to
    write romances.

    But, for myself, during the whole of my Custom-House experience,
    moonlight and sunshine, and the glow of firelight, were just alike in
    my regard; and neither of them was of one whit more avail than the
    twinkle of a tallow-candle. An entire class of susceptibilities, and a
    gift connected with them—of no great richness or value, but the best I
    had—was gone from me.

    It is my belief, however, that had I attempted a different order of
    composition, my faculties would not have been found so pointless and
    inefficacious. I might, for instance, have contented myself with
    writing out the narratives of a veteran shipmaster, one of the
    Inspectors, whom I should be most ungrateful not to mention, since
    scarcely a day passed that he did not stir me to laughter and
    admiration by his marvelous gifts as a story-teller. Could I have
    preserved the picturesque force of his style, and the humourous
    colouring which nature taught him how to throw over his descriptions,
    the result, I honestly believe, would have been something new in
    literature. Or I might readily have found a more serious task. It was a
    folly, with the materiality of this daily life pressing so intrusively
    upon me, to attempt to fling myself back into another age, or to insist
    on creating the semblance of a world out of airy matter, when, at every
    moment, the impalpable beauty of my soap-bubble was broken by the rude
    contact of some actual circumstance. The wiser effort would have been
    to diffuse thought and imagination through the opaque substance of
    today, and thus to make it a bright transparency; to spiritualise the
    burden that began to weigh so heavily; to seek, resolutely, the true
    and indestructible value that lay hidden in the petty and wearisome
    incidents, and ordinary characters with which I was now conversant. The
    fault was mine. The page of life that was spread out before me seemed
    dull and commonplace only because I had not fathomed its deeper import.
    A better book than I shall ever write was there; leaf after leaf
    presenting itself to me, just as it was written out by the reality of
    the flitting hour, and vanishing as fast as written, only because my
    brain wanted the insight, and my hand the cunning, to transcribe it. At
    some future day, it may be, I shall remember a few scattered fragments
    and broken paragraphs, and write them down, and find the letters turn
    to gold upon the page.

    These perceptions had come too late. At the Instant, I was only
    conscious that what would have been a pleasure once was now a hopeless
    toil. There was no occasion to make much moan about this state of
    affairs. I had ceased to be a writer of tolerably poor tales and
    essays, and had become a tolerably good Surveyor of the Customs. That
    was all. But, nevertheless, it is anything but agreeable to be haunted
    by a suspicion that one’s intellect is dwindling away, or exhaling,
    without your consciousness, like ether out of a phial; so that, at
    every glance, you find a smaller and less volatile residuum. Of the
    fact there could be no doubt and, examining myself and others, I was
    led to conclusions, in reference to the effect of public office on the
    character, not very favourable to the mode of life in question. In some
    other form, perhaps, I may hereafter develop these effects. Suffice it
    here to say that a Custom-House officer of long continuance can hardly
    be a very praiseworthy or respectable personage, for many reasons; one
    of them, the tenure by which he holds his situation, and another, the
    very nature of his business, which—though, I trust, an honest one—is of
    such a sort that he does not share in the united effort of mankind.

    An effect—which I believe to be observable, more or less, in every
    individual who has occupied the position—is, that while he leans on the
    mighty arm of the Republic, his own proper strength departs from him.
    He loses, in an extent proportioned to the weakness or force of his
    original nature, the capability of self-support. If he possesses an
    unusual share of native energy, or the enervating magic of place do not
    operate too long upon him, his forfeited powers may be redeemable. The
    ejected officer—fortunate in the unkindly shove that sends him forth
    betimes, to struggle amid a struggling world—may return to himself, and
    become all that he has ever been. But this seldom happens. He usually
    keeps his ground just long enough for his own ruin, and is then thrust
    out, with sinews all unstrung, to totter along the difficult footpath
    of life as he best may. Conscious of his own infirmity—that his
    tempered steel and elasticity are lost—he for ever afterwards looks
    wistfully about him in quest of support external to himself. His
    pervading and continual hope—a hallucination, which, in the face of all
    discouragement, and making light of impossibilities, haunts him while
    he lives, and, I fancy, like the convulsive throes of the cholera,
    torments him for a brief space after death—is, that finally, and in no
    long time, by some happy coincidence of circumstances, he shall be
    restored to office. This faith, more than anything else, steals the
    pith and availability out of whatever enterprise he may dream of
    undertaking. Why should he toil and moil, and be at so much trouble to
    pick himself up out of the mud, when, in a little while hence, the
    strong arm of his Uncle will raise and support him? Why should he work
    for his living here, or go to dig gold in California, when he is so
    soon to be made happy, at monthly intervals, with a little pile of
    glittering coin out of his Uncle’s pocket? It is sadly curious to
    observe how slight a taste of office suffices to infect a poor fellow
    with this singular disease. Uncle Sam’s gold—meaning no disrespect to
    the worthy old gentleman—has, in this respect, a quality of enchantment
    like that of the devil’s wages. Whoever touches it should look well to
    himself, or he may find the bargain to go hard against him, involving,
    if not his soul, yet many of its better attributes; its sturdy force,
    its courage and constancy, its truth, its self-reliance, and all that
    gives the emphasis to manly character.

    Here was a fine prospect in the distance. Not that the Surveyor brought
    the lesson home to himself, or admitted that he could be so utterly
    undone, either by continuance in office or ejectment. Yet my
    reflections were not the most comfortable. I began to grow melancholy
    and restless; continually prying into my mind, to discover which of its
    poor properties were gone, and what degree of detriment had already
    accrued to the remainder. I endeavoured to calculate how much longer I
    could stay in the Custom-House, and yet go forth a man. To confess the
    truth, it was my greatest apprehension—as it would never be a measure
    of policy to turn out so quiet an individual as myself; and it being
    hardly in the nature of a public officer to resign—it was my chief
    trouble, therefore, that I was likely to grow grey and decrepit in the
    Surveyorship, and become much such another animal as the old Inspector.
    Might it not, in the tedious lapse of official life that lay before me,
    finally be with me as it was with this venerable friend—to make the
    dinner-hour the nucleus of the day, and to spend the rest of it, as an
    old dog spends it, asleep in the sunshine or in the shade? A dreary
    look-forward, this, for a man who felt it to be the best definition of
    happiness to live throughout the whole range of his faculties and
    sensibilities. But, all this while, I was giving myself very
    unnecessary alarm. Providence had meditated better things for me than I
    could possibly imagine for myself.

    A remarkable event of the third year of my Surveyorship—to adopt the
    tone of “P. P.”—was the election of General Taylor to the Presidency.
    It is essential, in order to form a complete estimate of the advantages
    of official life, to view the incumbent at the incoming of a hostile
    administration. His position is then one of the most singularly
    irksome, and, in every contingency, disagreeable, that a wretched
    mortal can possibly occupy; with seldom an alternative of good on
    either hand, although what presents itself to him as the worst event
    may very probably be the best. But it is a strange experience, to a man
    of pride and sensibility, to know that his interests are within the
    control of individuals who neither love nor understand him, and by
    whom, since one or the other must needs happen, he would rather be
    injured than obliged. Strange, too, for one who has kept his calmness
    throughout the contest, to observe the bloodthirstiness that is
    developed in the hour of triumph, and to be conscious that he is
    himself among its objects! There are few uglier traits of human nature
    than this tendency—which I now witnessed in men no worse than their
    neighbours—to grow cruel, merely because they possessed the power of
    inflicting harm. If the guillotine, as applied to office-holders, were
    a literal fact, instead of one of the most apt of metaphors, it is my
    sincere belief that the active members of the victorious party were
    sufficiently excited to have chopped off all our heads, and have
    thanked Heaven for the opportunity! It appears to me—who have been a
    calm and curious observer, as well in victory as defeat—that this
    fierce and bitter spirit of malice and revenge has never distinguished
    the many triumphs of my own party as it now did that of the Whigs. The
    Democrats take the offices, as a general rule, because they need them,
    and because the practice of many years has made it the law of political
    warfare, which unless a different system be proclaimed, it was weakness
    and cowardice to murmur at. But the long habit of victory has made them
    generous. They know how to spare when they see occasion; and when they
    strike, the axe may be sharp indeed, but its edge is seldom poisoned
    with ill-will; nor is it their custom ignominiously to kick the head
    which they have just struck off.

    In short, unpleasant as was my predicament, at best, I saw much reason
    to congratulate myself that I was on the losing side rather than the
    triumphant one. If, heretofore, I had been none of the warmest of
    partisans I began now, at this season of peril and adversity, to be
    pretty acutely sensible with which party my predilections lay; nor was
    it without something like regret and shame that, according to a
    reasonable calculation of chances, I saw my own prospect of retaining
    office to be better than those of my democratic brethren. But who can
    see an inch into futurity beyond his nose? My own head was the first
    that fell.

    The moment when a man’s head drops off is seldom or never, I am
    inclined to think, precisely the most agreeable of his life.
    Nevertheless, like the greater part of our misfortunes, even so serious
    a contingency brings its remedy and consolation with it, if the
    sufferer will but make the best rather than the worst, of the accident
    which has befallen him. In my particular case the consolatory topics
    were close at hand, and, indeed, had suggested themselves to my
    meditations a considerable time before it was requisite to use them. In
    view of my previous weariness of office, and vague thoughts of
    resignation, my fortune somewhat resembled that of a person who should
    entertain an idea of committing suicide, and although beyond his hopes,
    meet with the good hap to be murdered. In the Custom-House, as before
    in the Old Manse, I had spent three years—a term long enough to rest a
    weary brain: long enough to break off old intellectual habits, and make
    room for new ones: long enough, and too long, to have lived in an
    unnatural state, doing what was really of no advantage nor delight to
    any human being, and withholding myself from toil that would, at least,
    have stilled an unquiet impulse in me. Then, moreover, as regarded his
    unceremonious ejectment, the late Surveyor was not altogether
    ill-pleased to be recognised by the Whigs as an enemy; since his
    inactivity in political affairs—his tendency to roam, at will, in that
    broad and quiet field where all mankind may meet, rather than confine
    himself to those narrow paths where brethren of the same household must
    diverge from one another—had sometimes made it questionable with his
    brother Democrats whether he was a friend. Now, after he had won the
    crown of martyrdom (though with no longer a head to wear it on), the
    point might be looked upon as settled. Finally, little heroic as he
    was, it seemed more decorous to be overthrown in the downfall of the
    party with which he had been content to stand than to remain a forlorn
    survivor, when so many worthier men were falling: and at last, after
    subsisting for four years on the mercy of a hostile administration, to
    be compelled then to define his position anew, and claim the yet more
    humiliating mercy of a friendly one.

    Meanwhile, the press had taken up my affair, and kept me for a week or
    two careering through the public prints, in my decapitated state, like
    Irving’s Headless Horseman, ghastly and grim, and longing to be buried,
    as a political dead man ought. So much for my figurative self. The real
    human being all this time, with his head safely on his shoulders, had
    brought himself to the comfortable conclusion that everything was for
    the best; and making an investment in ink, paper, and steel pens, had
    opened his long-disused writing desk, and was again a literary man.

    Now it was that the lucubrations of my ancient predecessor, Mr.
    Surveyor Pue, came into play. Rusty through long idleness, some little
    space was requisite before my intellectual machinery could be brought
    to work upon the tale with an effect in any degree satisfactory. Even
    yet, though my thoughts were ultimately much absorbed in the task, it
    wears, to my eye, a stern and sombre aspect: too much ungladdened by
    genial sunshine; too little relieved by the tender and familiar
    influences which soften almost every scene of nature and real life, and
    undoubtedly should soften every picture of them. This uncaptivating
    effect is perhaps due to the period of hardly accomplished revolution,
    and still seething turmoil, in which the story shaped itself. It is no
    indication, however, of a lack of cheerfulness in the writer’s mind:
    for he was happier while straying through the gloom of these sunless
    fantasies than at any time since he had quitted the Old Manse. Some of
    the briefer articles, which contribute to make up the volume, have
    likewise been written since my involuntary withdrawal from the toils
    and honours of public life, and the remainder are gleaned from annuals
    and magazines, of such antique date, that they have gone round the
    circle, and come back to novelty again. Keeping up the metaphor of the
    political guillotine, the whole may be considered as the POSTHUMOUS
    PAPERS OF A DECAPITATED SURVEYOR: and the sketch which I am now
    bringing to a close, if too autobiographical for a modest person to
    publish in his lifetime, will readily be excused in a gentleman who
    writes from beyond the grave. Peace be with all the world! My blessing
    on my friends! My forgiveness to my enemies! For I am in the realm of
    quiet!

    The life of the Custom-House lies like a dream behind me. The old
    Inspector—who, by the by, I regret to say, was overthrown and killed
    by a horse some time ago, else he would certainly have lived for
    ever—he, and all those other venerable personages who sat with him at
    the receipt of custom, are but shadows in my view: white-headed and
    wrinkled images, which my fancy used to sport with, and has now flung
    aside for ever. The merchants—Pingree, Phillips, Shepard, Upton,
    Kimball, Bertram, Hunt—these and many other names, which had such
    classic familiarity for my ear six months ago,—these men of traffic,
    who seemed to occupy so important a position in the world—how little
    time has it required to disconnect me from them all, not merely in act,
    but recollection! It is with an effort that I recall the figures and
    appellations of these few. Soon, likewise, my old native town will loom
    upon me through the haze of memory, a mist brooding over and around it;
    as if it were no portion of the real earth, but an overgrown village in
    cloud-land, with only imaginary inhabitants to people its wooden houses
    and walk its homely lanes, and the unpicturesque prolixity of its main
    street. Henceforth it ceases to be a reality of my life; I am a citizen
    of somewhere else. My good townspeople will not much regret me,
    for—though it has been as dear an object as any, in my literary
    efforts, to be of some importance in their eyes, and to win myself a
    pleasant memory in this abode and burial-place of so many of my
    forefathers—there has never been, for me, the genial atmosphere which a
    literary man requires in order to ripen the best harvest of his mind. I
    shall do better amongst other faces; and these familiar ones, it need
    hardly be said, will do just as well without me.

    It may be, however—oh, transporting and triumphant thought—that the
    great-grandchildren of the present race may sometimes think kindly of
    the scribbler of bygone days, when the antiquary of days to come, among
    the sites memorable in the town’s history, shall point out the locality
    of THE TOWN PUMP.

    THE SCARLET LETTER

    I.
    THE PRISON DOOR

    A throng of bearded men, in sad-coloured garments and grey
    steeple-crowned hats, intermixed with women, some wearing hoods, and
    others bareheaded, was assembled in front of a wooden edifice, the door
    of which was heavily timbered with oak, and studded with iron spikes.

    The founders of a new colony, whatever Utopia of human virtue and
    happiness they might originally project, have invariably recognised it
    among their earliest practical necessities to allot a portion of the
    virgin soil as a cemetery, and another portion as the site of a prison.
    In accordance with this rule it may safely be assumed that the
    forefathers of Boston had built the first prison-house somewhere in the
    vicinity of Cornhill, almost as seasonably as they marked out the first
    burial-ground, on Isaac Johnson’s lot, and round about his grave, which
    subsequently became the nucleus of all the congregated sepulchres in
    the old churchyard of King’s Chapel. Certain it is that, some fifteen
    or twenty years after the settlement of the town, the wooden jail was
    already marked with weather-stains and other indications of age, which
    gave a yet darker aspect to its beetle-browed and gloomy front. The
    rust on the ponderous iron-work of its oaken door looked more antique
    than anything else in the New World. Like all that pertains to crime,
    it seemed never to have known a youthful era. Before this ugly edifice,
    and between it and the wheel-track of the street, was a grass-plot,
    much overgrown with burdock, pig-weed, apple-pern, and such unsightly
    vegetation, which evidently found something congenial in the soil that
    had so early borne the black flower of civilised society, a prison. But
    on one side of the portal, and rooted almost at the threshold, was a
    wild rose-bush, covered, in this month of June, with its delicate gems,
    which might be imagined to offer their fragrance and fragile beauty to
    the prisoner as he went in, and to the condemned criminal as he came
    forth to his doom, in token that the deep heart of Nature could pity
    and be kind to him.

    This rose-bush, by a strange chance, has been kept alive in history;
    but whether it had merely survived out of the stern old wilderness, so
    long after the fall of the gigantic pines and oaks that originally
    overshadowed it, or whether, as there is fair authority for believing,
    it had sprung up under the footsteps of the sainted Ann Hutchinson as
    she entered the prison-door, we shall not take upon us to determine.
    Finding it so directly on the threshold of our narrative, which is now
    about to issue from that inauspicious portal, we could hardly do
    otherwise than pluck one of its flowers, and present it to the reader.
    It may serve, let us hope, to symbolise some sweet moral blossom that
    may be found along the track, or relieve the darkening close of a tale
    of human frailty and sorrow.

    II.
    THE MARKET-PLACE

    The grass-plot before the jail, in Prison Lane, on a certain summer
    morning, not less than two centuries ago, was occupied by a pretty
    large number of the inhabitants of Boston, all with their eyes intently
    fastened on the iron-clamped oaken door. Amongst any other population,
    or at a later period in the history of New England, the grim rigidity
    that petrified the bearded physiognomies of these good people would
    have augured some awful business in hand. It could have betokened
    nothing short of the anticipated execution of some noted culprit, on
    whom the sentence of a legal tribunal had but confirmed the verdict of
    public sentiment. But, in that early severity of the Puritan character,
    an inference of this kind could not so indubitably be drawn. It might
    be that a sluggish bond-servant, or an undutiful child, whom his
    parents had given over to the civil authority, was to be corrected at
    the whipping-post. It might be that an Antinomian, a Quaker, or other
    heterodox religionist, was to be scourged out of the town, or an idle
    or vagrant Indian, whom the white man’s firewater had made riotous
    about the streets, was to be driven with stripes into the shadow of the
    forest. It might be, too, that a witch, like old Mistress Hibbins, the
    bitter-tempered widow of the magistrate, was to die upon the gallows.
    In either case, there was very much the same solemnity of demeanour on
    the part of the spectators, as befitted a people among whom religion
    and law were almost identical, and in whose character both were so
    thoroughly interfused, that the mildest and severest acts of public
    discipline were alike made venerable and awful. Meagre, indeed, and
    cold, was the sympathy that a transgressor might look for, from such
    bystanders, at the scaffold. On the other hand, a penalty which, in our
    days, would infer a degree of mocking infamy and ridicule, might then
    be invested with almost as stern a dignity as the punishment of death
    itself.

    It was a circumstance to be noted on the summer morning when our story
    begins its course, that the women, of whom there were several in the
    crowd, appeared to take a peculiar interest in whatever penal
    infliction might be expected to ensue. The age had not so much
    refinement, that any sense of impropriety restrained the wearers of
    petticoat and farthingale from stepping forth into the public ways, and
    wedging their not unsubstantial persons, if occasion were, into the
    throng nearest to the scaffold at an execution. Morally, as well as
    materially, there was a coarser fibre in those wives and maidens of old
    English birth and breeding than in their fair descendants, separated
    from them by a series of six or seven generations; for, throughout that
    chain of ancestry, every successive mother had transmitted to her child
    a fainter bloom, a more delicate and briefer beauty, and a slighter
    physical frame, if not character of less force and solidity than her
    own. The women who were now standing about the prison-door stood within
    less than half a century of the period when the man-like Elizabeth had
    been the not altogether unsuitable representative of the sex. They were
    her countrywomen: and the beef and ale of their native land, with a
    moral diet not a whit more refined, entered largely into their
    composition. The bright morning sun, therefore, shone on broad
    shoulders and well-developed busts, and on round and ruddy cheeks, that
    had ripened in the far-off island, and had hardly yet grown paler or
    thinner in the atmosphere of New England. There was, moreover, a
    boldness and rotundity of speech among these matrons, as most of them
    seemed to be, that would startle us at the present day, whether in
    respect to its purport or its volume of tone.

    “Goodwives,” said a hard-featured dame of fifty, “I’ll tell ye a piece
    of my mind. It would be greatly for the public behoof if we women,
    being of mature age and church-members in good repute, should have the
    handling of such malefactresses as this Hester Prynne. What think ye,
    gossips? If the hussy stood up for judgment before us five, that are
    now here in a knot together, would she come off with such a sentence as
    the worshipful magistrates have awarded? Marry, I trow not.”

    “People say,” said another, “that the Reverend Master Dimmesdale, her
    godly pastor, takes it very grievously to heart that such a scandal
    should have come upon his congregation.”

    “The magistrates are God-fearing gentlemen, but merciful overmuch—that
    is a truth,” added a third autumnal matron. “At the very least, they
    should have put the brand of a hot iron on Hester Prynne’s forehead.
    Madame Hester would have winced at that, I warrant me. But she—the
    naughty baggage—little will she care what they put upon the bodice of
    her gown! Why, look you, she may cover it with a brooch, or such like
    heathenish adornment, and so walk the streets as brave as ever!”

    “Ah, but,” interposed, more softly, a young wife, holding a child by
    the hand, “let her cover the mark as she will, the pang of it will be
    always in her heart.”

    “What do we talk of marks and brands, whether on the bodice of her gown
    or the flesh of her forehead?” cried another female, the ugliest as
    well as the most pitiless of these self-constituted judges. “This woman
    has brought shame upon us all, and ought to die; is there not law for
    it? Truly there is, both in the Scripture and the statute-book. Then
    let the magistrates, who have made it of no effect, thank themselves if
    their own wives and daughters go astray.”

    “Mercy on us, goodwife!” exclaimed a man in the crowd, “is there no
    virtue in woman, save what springs from a wholesome fear of the
    gallows? That is the hardest word yet! Hush now, gossips for the lock
    is turning in the prison-door, and here comes Mistress Prynne herself.”

    The door of the jail being flung open from within there appeared, in
    the first place, like a black shadow emerging into sunshine, the grim
    and grisly presence of the town-beadle, with a sword by his side, and
    his staff of office in his hand. This personage prefigured and
    represented in his aspect the whole dismal severity of the Puritanic
    code of law, which it was his business to administer in its final and
    closest application to the offender. Stretching forth the official
    staff in his left hand, he laid his right upon the shoulder of a young
    woman, whom he thus drew forward, until, on the threshold of the
    prison-door, she repelled him, by an action marked with natural dignity
    and force of character, and stepped into the open air as if by her own
    free will. She bore in her arms a child, a baby of some three months
    old, who winked and turned aside its little face from the too vivid
    light of day; because its existence, heretofore, had brought it
    acquaintance only with the grey twilight of a dungeon, or other
    darksome apartment of the prison.

    When the young woman—the mother of this child—stood fully revealed
    before the crowd, it seemed to be her first impulse to clasp the infant
    closely to her bosom; not so much by an impulse of motherly affection,
    as that she might thereby conceal a certain token, which was wrought or
    fastened into her dress. In a moment, however, wisely judging that one
    token of her shame would but poorly serve to hide another, she took the
    baby on her arm, and with a burning blush, and yet a haughty smile, and
    a glance that would not be abashed, looked around at her townspeople
    and neighbours. On the breast of her gown, in fine red cloth,
    surrounded with an elaborate embroidery and fantastic flourishes of
    gold thread, appeared the letter A. It was so artistically done, and
    with so much fertility and gorgeous luxuriance of fancy, that it had
    all the effect of a last and fitting decoration to the apparel which
    she wore, and which was of a splendour in accordance with the taste of
    the age, but greatly beyond what was allowed by the sumptuary
    regulations of the colony.

    The young woman was tall, with a figure of perfect elegance on a large
    scale. She had dark and abundant hair, so glossy that it threw off the
    sunshine with a gleam; and a face which, besides being beautiful from
    regularity of feature and richness of complexion, had the
    impressiveness belonging to a marked brow and deep black eyes. She was
    ladylike, too, after the manner of the feminine gentility of those
    days; characterised by a certain state and dignity, rather than by the
    delicate, evanescent, and indescribable grace which is now recognised
    as its indication. And never had Hester Prynne appeared more ladylike,
    in the antique interpretation of the term, than as she issued from the
    prison. Those who had before known her, and had expected to behold her
    dimmed and obscured by a disastrous cloud, were astonished, and even
    startled, to perceive how her beauty shone out, and made a halo of the
    misfortune and ignominy in which she was enveloped. It may be true
    that, to a sensitive observer, there was some thing exquisitely painful
    in it. Her attire, which indeed, she had wrought for the occasion in
    prison, and had modelled much after her own fancy, seemed to express
    the attitude of her spirit, the desperate recklessness of her mood, by
    its wild and picturesque peculiarity. But the point which drew all
    eyes, and, as it were, transfigured the wearer—so that both men and
    women who had been familiarly acquainted with Hester Prynne were now
    impressed as if they beheld her for the first time—was that SCARLET
    LETTER, so fantastically embroidered and illuminated upon her bosom. It
    had the effect of a spell, taking her out of the ordinary relations
    with humanity, and enclosing her in a sphere by herself.

    “She hath good skill at her needle, that’s certain,” remarked one of
    her female spectators; “but did ever a woman, before this brazen hussy,
    contrive such a way of showing it? Why, gossips, what is it but to
    laugh in the faces of our godly magistrates, and make a pride out of
    what they, worthy gentlemen, meant for a punishment?”

    “It were well,” muttered the most iron-visaged of the old dames, “if we
    stripped Madame Hester’s rich gown off her dainty shoulders; and as for
    the red letter which she hath stitched so curiously, I’ll bestow a rag
    of mine own rheumatic flannel to make a fitter one!”

    “Oh, peace, neighbours—peace!” whispered their youngest companion; “do
    not let her hear you! Not a stitch in that embroidered letter but she
    has felt it in her heart.”

    The grim beadle now made a gesture with his staff. “Make way, good
    people—make way, in the King’s name!” cried he. “Open a passage; and I
    promise ye, Mistress Prynne shall be set where man, woman, and child
    may have a fair sight of her brave apparel from this time till an hour
    past meridian. A blessing on the righteous colony of the Massachusetts,
    where iniquity is dragged out into the sunshine! Come along, Madame
    Hester, and show your scarlet letter in the market-place!”

    A lane was forthwith opened through the crowd of spectators. Preceded
    by the beadle, and attended by an irregular procession of stern-browed
    men and unkindly visaged women, Hester Prynne set forth towards the
    place appointed for her punishment. A crowd of eager and curious
    schoolboys, understanding little of the matter in hand, except that it
    gave them a half-holiday, ran before her progress, turning their heads
    continually to stare into her face and at the winking baby in her arms,
    and at the ignominious letter on her breast. It was no great distance,
    in those days, from the prison door to the market-place. Measured by
    the prisoner’s experience, however, it might be reckoned a journey of
    some length; for haughty as her demeanour was, she perchance underwent
    an agony from every footstep of those that thronged to see her, as if
    her heart had been flung into the street for them all to spurn and
    trample upon. In our nature, however, there is a provision, alike
    marvellous and merciful, that the sufferer should never know the
    intensity of what he endures by its present torture, but chiefly by the
    pang that rankles after it. With almost a serene deportment, therefore,
    Hester Prynne passed through this portion of her ordeal, and came to a
    sort of scaffold, at the western extremity of the market-place. It
    stood nearly beneath the eaves of Boston’s earliest church, and
    appeared to be a fixture there.

    In fact, this scaffold constituted a portion of a penal machine, which
    now, for two or three generations past, has been merely historical and
    traditionary among us, but was held, in the old time, to be as
    effectual an agent, in the promotion of good citizenship, as ever was
    the guillotine among the terrorists of France. It was, in short, the
    platform of the pillory; and above it rose the framework of that
    instrument of discipline, so fashioned as to confine the human head in
    its tight grasp, and thus hold it up to the public gaze. The very ideal
    of ignominy was embodied and made manifest in this contrivance of wood
    and iron. There can be no outrage, methinks, against our common
    nature—whatever be the delinquencies of the individual—no outrage more
    flagrant than to forbid the culprit to hide his face for shame; as it
    was the essence of this punishment to do. In Hester Prynne’s instance,
    however, as not unfrequently in other cases, her sentence bore that she
    should stand a certain time upon the platform, but without undergoing
    that gripe about the neck and confinement of the head, the proneness to
    which was the most devilish characteristic of this ugly engine. Knowing
    well her part, she ascended a flight of wooden steps, and was thus
    displayed to the surrounding multitude, at about the height of a man’s
    shoulders above the street.

    Had there been a Papist among the crowd of Puritans, he might have seen
    in this beautiful woman, so picturesque in her attire and mien, and
    with the infant at her bosom, an object to remind him of the image of
    Divine Maternity, which so many illustrious painters have vied with one
    another to represent; something which should remind him, indeed, but
    only by contrast, of that sacred image of sinless motherhood, whose
    infant was to redeem the world. Here, there was the taint of deepest
    sin in the most sacred quality of human life, working such effect, that
    the world was only the darker for this woman’s beauty, and the more
    lost for the infant that she had borne.

    The scene was not without a mixture of awe, such as must always invest
    the spectacle of guilt and shame in a fellow-creature, before society
    shall have grown corrupt enough to smile, instead of shuddering at it.
    The witnesses of Hester Prynne’s disgrace had not yet passed beyond
    their simplicity. They were stern enough to look upon her death, had
    that been the sentence, without a murmur at its severity, but had none
    of the heartlessness of another social state, which would find only a
    theme for jest in an exhibition like the present. Even had there been a
    disposition to turn the matter into ridicule, it must have been
    repressed and overpowered by the solemn presence of men no less
    dignified than the governor, and several of his counsellors, a judge, a
    general, and the ministers of the town, all of whom sat or stood in a
    balcony of the meeting-house, looking down upon the platform. When such
    personages could constitute a part of the spectacle, without risking
    the majesty, or reverence of rank and office, it was safely to be
    inferred that the infliction of a legal sentence would have an earnest
    and effectual meaning. Accordingly, the crowd was sombre and grave. The
    unhappy culprit sustained herself as best a woman might, under the
    heavy weight of a thousand unrelenting eyes, all fastened upon her, and
    concentrated at her bosom. It was almost intolerable to be borne. Of an
    impulsive and passionate nature, she had fortified herself to encounter
    the stings and venomous stabs of public contumely, wreaking itself in
    every variety of insult; but there was a quality so much more terrible
    in the solemn mood of the popular mind, that she longed rather to
    behold all those rigid countenances contorted with scornful merriment,
    and herself the object. Had a roar of laughter burst from the
    multitude—each man, each woman, each little shrill-voiced child,
    contributing their individual parts—Hester Prynne might have repaid
    them all with a bitter and disdainful smile. But, under the leaden
    infliction which it was her doom to endure, she felt, at moments, as if
    she must needs shriek out with the full power of her lungs, and cast
    herself from the scaffold down upon the ground, or else go mad at once.

    Yet there were intervals when the whole scene, in which she was the
    most conspicuous object, seemed to vanish from her eyes, or, at least,
    glimmered indistinctly before them, like a mass of imperfectly shaped
    and spectral images. Her mind, and especially her memory, was
    preternaturally active, and kept bringing up other scenes than this
    roughly hewn street of a little town, on the edge of the western
    wilderness: other faces than were lowering upon her from beneath the
    brims of those steeple-crowned hats. Reminiscences, the most trifling
    and immaterial, passages of infancy and school-days, sports, childish
    quarrels, and the little domestic traits of her maiden years, came
    swarming back upon her, intermingled with recollections of whatever was
    gravest in her subsequent life; one picture precisely as vivid as
    another; as if all were of similar importance, or all alike a play.
    Possibly, it was an instinctive device of her spirit to relieve itself
    by the exhibition of these phantasmagoric forms, from the cruel weight
    and hardness of the reality.

    Be that as it might, the scaffold of the pillory was a point of view
    that revealed to Hester Prynne the entire track along which she had
    been treading, since her happy infancy. Standing on that miserable
    eminence, she saw again her native village, in Old England, and her
    paternal home: a decayed house of grey stone, with a poverty-stricken
    aspect, but retaining a half obliterated shield of arms over the
    portal, in token of antique gentility. She saw her father’s face, with
    its bold brow, and reverend white beard that flowed over the
    old-fashioned Elizabethan ruff; her mother’s, too, with the look of
    heedful and anxious love which it always wore in her remembrance, and
    which, even since her death, had so often laid the impediment of a
    gentle remonstrance in her daughter’s pathway. She saw her own face,
    glowing with girlish beauty, and illuminating all the interior of the
    dusky mirror in which she had been wont to gaze at it. There she beheld
    another countenance, of a man well stricken in years, a pale, thin,
    scholar-like visage, with eyes dim and bleared by the lamp-light that
    had served them to pore over many ponderous books. Yet those same
    bleared optics had a strange, penetrating power, when it was their
    owner’s purpose to read the human soul. This figure of the study and
    the cloister, as Hester Prynne’s womanly fancy failed not to recall,
    was slightly deformed, with the left shoulder a trifle higher than the
    right. Next rose before her in memory’s picture-gallery, the intricate
    and narrow thoroughfares, the tall, grey houses, the huge cathedrals,
    and the public edifices, ancient in date and quaint in architecture, of
    a continental city; where new life had awaited her, still in connexion
    with the misshapen scholar: a new life, but feeding itself on time-worn
    materials, like a tuft of green moss on a crumbling wall. Lastly, in
    lieu of these shifting scenes, came back the rude market-place of the
    Puritan settlement, with all the townspeople assembled, and levelling
    their stern regards at Hester Prynne—yes, at herself—who stood on the
    scaffold of the pillory, an infant on her arm, and the letter A, in
    scarlet, fantastically embroidered with gold thread, upon her bosom.

    Could it be true? She clutched the child so fiercely to her breast that
    it sent forth a cry; she turned her eyes downward at the scarlet
    letter, and even touched it with her finger, to assure herself that the
    infant and the shame were real. Yes these were her realities—all else
    had vanished!

  • The Mayflower Compact

    The Mayflower Compact

    Aproximadamente 301 palavras.

    The Mayflower Compact

    November 11, 1620 [This was November 21, old style calendar]

    In the name of God, Amen. We, whose names are underwritten, the Loyal
    Subjects of our dread Sovereigne Lord, King James, by the Grace of God,
    of Great Britaine, France, and Ireland, King, Defender of the Faith,
    &c.

    Having undertaken for the Glory of God, and Advancement of the
    Christian Faith, and the Honour of our King and Country, a Voyage to
    plant the first colony in the Northerne Parts of Virginia; doe, by
    these Presents, solemnly and mutually in the Presence of God and one of
    another, covenant and combine ourselves together into a civill Body
    Politick, for our better Ordering and Preservation, and Furtherance of
    the Ends aforesaid; And by Virtue hereof to enact, constitute, and
    frame, such just and equall Laws, Ordinances, Acts, Constitutions, and
    Offices, from time to time, as shall be thought most meete and
    convenient for the Generall Good of the Colonie; unto which we promise
    all due Submission and Obedience.

    In Witness whereof we have hereunto subscribed our names at Cape Cod
    the eleventh of November, in the Raigne of our Sovereigne Lord, King
    James of England, France, and Ireland, the eighteenth, and of Scotland,
    the fiftie-fourth, Anno. Domini, 1620.

    Mr. John Carver Mr. Stephen Hopkins
    Mr. William Bradford Digery Priest
    Mr. Edward Winslow Thomas Williams
    Mr. William Brewster Gilbert Winslow
    Isaac Allerton Edmund Margesson
    Miles Standish Peter Brown
    John Alden Richard Bitteridge
    John Turner George Soule
    Francis Eaton Edward Tilly
    James Chilton John Tilly
    John Craxton Francis Cooke
    John Billington Thomas Rogers
    Joses Fletcher Thomas Tinker
    John Goodman John Ridgate
    Mr. Samuel Fuller Edward Fuller
    Mr. Christopher Martin Richard Clark
    Mr. William Mullins Richard Gardiner
    Mr. William White Mr. John Allerton
    Mr. Richard Warren Thomas English
    John Howland Edward Doten
    Edward Liester

  • The Legend of Sleepy Hollow

    The Legend of Sleepy Hollow

    Aproximadamente 12.375 palavras.

    The Legend of Sleepy Hollow

    by Washington Irving

    FOUND AMONG THE PAPERS OF THE LATE DIEDRICH KNICKERBOCKER.

    A pleasing land of drowsy head it was,
    Of dreams that wave before the half-shut eye;
    And of gay castles in the clouds that pass,
    Forever flushing round a summer sky.
    CASTLE OF INDOLENCE.

    In the bosom of one of those spacious coves which indent the eastern
    shore of the Hudson, at that broad expansion of the river denominated
    by the ancient Dutch navigators the Tappan Zee, and where they always
    prudently shortened sail and implored the protection of St. Nicholas
    when they crossed, there lies a small market town or rural port, which
    by some is called Greensburgh, but which is more generally and properly
    known by the name of Tarry Town. This name was given, we are told, in
    former days, by the good housewives of the adjacent country, from the
    inveterate propensity of their husbands to linger about the village
    tavern on market days. Be that as it may, I do not vouch for the fact,
    but merely advert to it, for the sake of being precise and authentic.
    Not far from this village, perhaps about two miles, there is a little
    valley or rather lap of land among high hills, which is one of the
    quietest places in the whole world. A small brook glides through it,
    with just murmur enough to lull one to repose; and the occasional
    whistle of a quail or tapping of a woodpecker is almost the only sound
    that ever breaks in upon the uniform tranquillity.

    I recollect that, when a stripling, my first exploit in
    squirrel-shooting was in a grove of tall walnut-trees that shades one
    side of the valley. I had wandered into it at noontime, when all nature
    is peculiarly quiet, and was startled by the roar of my own gun, as it
    broke the Sabbath stillness around and was prolonged and reverberated
    by the angry echoes. If ever I should wish for a retreat whither I might
    steal from the world and its distractions, and dream quietly away the
    remnant of a troubled life, I know of none more promising than this
    little valley.

    From the listless repose of the place, and the peculiar character of its
    inhabitants, who are descendants from the original Dutch settlers, this
    sequestered glen has long been known by the name of SLEEPY HOLLOW, and
    its rustic lads are called the Sleepy Hollow Boys throughout all the
    neighboring country. A drowsy, dreamy influence seems to hang over the
    land, and to pervade the very atmosphere. Some say that the place
    was bewitched by a High German doctor, during the early days of the
    settlement; others, that an old Indian chief, the prophet or wizard of
    his tribe, held his powwows there before the country was discovered by
    Master Hendrick Hudson. Certain it is, the place still continues under
    the sway of some witching power, that holds a spell over the minds of
    the good people, causing them to walk in a continual reverie. They are
    given to all kinds of marvellous beliefs, are subject to trances and
    visions, and frequently see strange sights, and hear music and voices in
    the air. The whole neighborhood abounds with local tales, haunted spots,
    and twilight superstitions; stars shoot and meteors glare oftener across
    the valley than in any other part of the country, and the nightmare,
    with her whole ninefold, seems to make it the favorite scene of her
    gambols.

    The dominant spirit, however, that haunts this enchanted region, and
    seems to be commander-in-chief of all the powers of the air, is the
    apparition of a figure on horseback, without a head. It is said by some
    to be the ghost of a Hessian trooper, whose head had been carried away
    by a cannon-ball, in some nameless battle during the Revolutionary War,
    and who is ever and anon seen by the country folk hurrying along in
    the gloom of night, as if on the wings of the wind. His haunts are not
    confined to the valley, but extend at times to the adjacent roads, and
    especially to the vicinity of a church at no great distance. Indeed,
    certain of the most authentic historians of those parts, who have been
    careful in collecting and collating the floating facts concerning this
    spectre, allege that the body of the trooper having been buried in the
    churchyard, the ghost rides forth to the scene of battle in nightly
    quest of his head, and that the rushing speed with which he sometimes
    passes along the Hollow, like a midnight blast, is owing to his being
    belated, and in a hurry to get back to the churchyard before daybreak.

    Such is the general purport of this legendary superstition, which has
    furnished materials for many a wild story in that region of shadows; and
    the spectre is known at all the country firesides, by the name of the
    Headless Horseman of Sleepy Hollow.

    It is remarkable that the visionary propensity I have mentioned is not
    confined to the native inhabitants of the valley, but is unconsciously
    imbibed by every one who resides there for a time. However wide awake
    they may have been before they entered that sleepy region, they are
    sure, in a little time, to inhale the witching influence of the air, and
    begin to grow imaginative, to dream dreams, and see apparitions.

    I mention this peaceful spot with all possible laud, for it is in such
    little retired Dutch valleys, found here and there embosomed in the
    great State of New York, that population, manners, and customs remain
    fixed, while the great torrent of migration and improvement, which is
    making such incessant changes in other parts of this restless country,
    sweeps by them unobserved. They are like those little nooks of still
    water, which border a rapid stream, where we may see the straw and
    bubble riding quietly at anchor, or slowly revolving in their mimic
    harbor, undisturbed by the rush of the passing current. Though many
    years have elapsed since I trod the drowsy shades of Sleepy Hollow, yet
    I question whether I should not still find the same trees and the same
    families vegetating in its sheltered bosom.

    In this by-place of nature there abode, in a remote period of American
    history, that is to say, some thirty years since, a worthy wight of the
    name of Ichabod Crane, who sojourned, or, as he expressed it, “tarried,”
    in Sleepy Hollow, for the purpose of instructing the children of the
    vicinity. He was a native of Connecticut, a State which supplies the
    Union with pioneers for the mind as well as for the forest, and sends
    forth yearly its legions of frontier woodmen and country schoolmasters.
    The cognomen of Crane was not inapplicable to his person. He was tall,
    but exceedingly lank, with narrow shoulders, long arms and legs, hands
    that dangled a mile out of his sleeves, feet that might have served for
    shovels, and his whole frame most loosely hung together. His head was
    small, and flat at top, with huge ears, large green glassy eyes, and a
    long snipe nose, so that it looked like a weather-cock perched upon his
    spindle neck to tell which way the wind blew. To see him striding along
    the profile of a hill on a windy day, with his clothes bagging and
    fluttering about him, one might have mistaken him for the genius of
    famine descending upon the earth, or some scarecrow eloped from a
    cornfield.

    His schoolhouse was a low building of one large room, rudely constructed
    of logs; the windows partly glazed, and partly patched with leaves of
    old copybooks. It was most ingeniously secured at vacant hours, by a
    withe twisted in the handle of the door, and stakes set against the
    window shutters; so that though a thief might get in with perfect ease,
    he would find some embarrassment in getting out,–an idea most probably
    borrowed by the architect, Yost Van Houten, from the mystery of an
    eelpot. The schoolhouse stood in a rather lonely but pleasant situation,
    just at the foot of a woody hill, with a brook running close by, and
    a formidable birch-tree growing at one end of it. From hence the low
    murmur of his pupils’ voices, conning over their lessons, might be heard
    in a drowsy summer’s day, like the hum of a beehive; interrupted now and
    then by the authoritative voice of the master, in the tone of menace or
    command, or, peradventure, by the appalling sound of the birch, as he
    urged some tardy loiterer along the flowery path of knowledge. Truth to
    say, he was a conscientious man, and ever bore in mind the golden maxim,
    “Spare the rod and spoil the child.” Ichabod Crane’s scholars certainly
    were not spoiled.

    I would not have it imagined, however, that he was one of those cruel
    potentates of the school who joy in the smart of their subjects; on
    the contrary, he administered justice with discrimination rather than
    severity; taking the burden off the backs of the weak, and laying it on
    those of the strong. Your mere puny stripling, that winced at the least
    flourish of the rod, was passed by with indulgence; but the claims of
    justice were satisfied by inflicting a double portion on some little
    tough wrong-headed, broad-skirted Dutch urchin, who sulked and swelled
    and grew dogged and sullen beneath the birch. All this he called “doing
    his duty by their parents;” and he never inflicted a chastisement
    without following it by the assurance, so consolatory to the smarting
    urchin, that “he would remember it and thank him for it the longest day
    he had to live.”

    When school hours were over, he was even the companion and playmate
    of the larger boys; and on holiday afternoons would convoy some of
    the smaller ones home, who happened to have pretty sisters, or good
    housewives for mothers, noted for the comforts of the cupboard. Indeed,
    it behooved him to keep on good terms with his pupils. The revenue
    arising from his school was small, and would have been scarcely
    sufficient to furnish him with daily bread, for he was a huge feeder,
    and, though lank, had the dilating powers of an anaconda; but to help
    out his maintenance, he was, according to country custom in those
    parts, boarded and lodged at the houses of the farmers whose children
    he instructed. With these he lived successively a week at a time, thus
    going the rounds of the neighborhood, with all his worldly effects tied
    up in a cotton handkerchief.

    That all this might not be too onerous on the purses of his rustic
    patrons, who are apt to consider the costs of schooling a grievous
    burden, and schoolmasters as mere drones, he had various ways of
    rendering himself both useful and agreeable. He assisted the farmers
    occasionally in the lighter labors of their farms, helped to make
    hay, mended the fences, took the horses to water, drove the cows from
    pasture, and cut wood for the winter fire. He laid aside, too, all the
    dominant dignity and absolute sway with which he lorded it in his little
    empire, the school, and became wonderfully gentle and ingratiating.
    He found favor in the eyes of the mothers by petting the children,
    particularly the youngest; and like the lion bold, which whilom so
    magnanimously the lamb did hold, he would sit with a child on one knee,
    and rock a cradle with his foot for whole hours together.

    In addition to his other vocations, he was the singing-master of the
    neighborhood, and picked up many bright shillings by instructing the
    young folks in psalmody. It was a matter of no little vanity to him on
    Sundays, to take his station in front of the church gallery, with a band
    of chosen singers; where, in his own mind, he completely carried away
    the palm from the parson. Certain it is, his voice resounded far above
    all the rest of the congregation; and there are peculiar quavers still
    to be heard in that church, and which may even be heard half a mile off,
    quite to the opposite side of the millpond, on a still Sunday morning,
    which are said to be legitimately descended from the nose of Ichabod
    Crane. Thus, by divers little makeshifts, in that ingenious way which is
    commonly denominated “by hook and by crook,” the worthy pedagogue got on
    tolerably enough, and was thought, by all who understood nothing of the
    labor of headwork, to have a wonderfully easy life of it.

    The schoolmaster is generally a man of some importance in the female
    circle of a rural neighborhood; being considered a kind of idle,
    gentlemanlike personage, of vastly superior taste and accomplishments to
    the rough country swains, and, indeed, inferior in learning only to the
    parson. His appearance, therefore, is apt to occasion some little stir
    at the tea-table of a farmhouse, and the addition of a supernumerary
    dish of cakes or sweetmeats, or, peradventure, the parade of a silver
    teapot. Our man of letters, therefore, was peculiarly happy in the
    smiles of all the country damsels. How he would figure among them in the
    churchyard, between services on Sundays; gathering grapes for them from
    the wild vines that overran the surrounding trees; reciting for their
    amusement all the epitaphs on the tombstones; or sauntering, with a
    whole bevy of them, along the banks of the adjacent millpond; while the
    more bashful country bumpkins hung sheepishly back, envying his superior
    elegance and address.

    From his half-itinerant life, also, he was a kind of travelling gazette,
    carrying the whole budget of local gossip from house to house, so that
    his appearance was always greeted with satisfaction. He was, moreover,
    esteemed by the women as a man of great erudition, for he had read
    several books quite through, and was a perfect master of Cotton Mather’s
    “History of New England Witchcraft,” in which, by the way, he most
    firmly and potently believed.

    He was, in fact, an odd mixture of small shrewdness and simple
    credulity. His appetite for the marvellous, and his powers of digesting
    it, were equally extraordinary; and both had been increased by his
    residence in this spell-bound region. No tale was too gross or monstrous
    for his capacious swallow. It was often his delight, after his school
    was dismissed in the afternoon, to stretch himself on the rich bed of
    clover bordering the little brook that whimpered by his schoolhouse, and
    there con over old Mather’s direful tales, until the gathering dusk of
    evening made the printed page a mere mist before his eyes. Then, as he
    wended his way by swamp and stream and awful woodland, to the farmhouse
    where he happened to be quartered, every sound of nature, at that
    witching hour, fluttered his excited imagination,–the moan of the
    whip-poor-will from the hillside, the boding cry of the tree toad, that
    harbinger of storm, the dreary hooting of the screech owl, or the
    sudden rustling in the thicket of birds frightened from their roost. The
    fireflies, too, which sparkled most vividly in the darkest places, now
    and then startled him, as one of uncommon brightness would stream across
    his path; and if, by chance, a huge blockhead of a beetle came winging
    his blundering flight against him, the poor varlet was ready to give up
    the ghost, with the idea that he was struck with a witch’s token. His
    only resource on such occasions, either to drown thought or drive away
    evil spirits, was to sing psalm tunes and the good people of Sleepy
    Hollow, as they sat by their doors of an evening, were often filled with
    awe at hearing his nasal melody, “in linked sweetness long drawn out,”
    floating from the distant hill, or along the dusky road.

    Another of his sources of fearful pleasure was to pass long winter
    evenings with the old Dutch wives, as they sat spinning by the fire,
    with a row of apples roasting and spluttering along the hearth, and
    listen to their marvellous tales of ghosts and goblins, and haunted
    fields, and haunted brooks, and haunted bridges, and haunted houses,
    and particularly of the headless horseman, or Galloping Hessian of the
    Hollow, as they sometimes called him. He would delight them equally by
    his anecdotes of witchcraft, and of the direful omens and portentous
    sights and sounds in the air, which prevailed in the earlier times of
    Connecticut; and would frighten them woefully with speculations upon
    comets and shooting stars; and with the alarming fact that the world did
    absolutely turn round, and that they were half the time topsy-turvy!

    But if there was a pleasure in all this, while snugly cuddling in
    the chimney corner of a chamber that was all of a ruddy glow from the
    crackling wood fire, and where, of course, no spectre dared to show
    its face, it was dearly purchased by the terrors of his subsequent walk
    homewards. What fearful shapes and shadows beset his path, amidst the
    dim and ghastly glare of a snowy night! With what wistful look did he
    eye every trembling ray of light streaming across the waste fields from
    some distant window! How often was he appalled by some shrub covered
    with snow, which, like a sheeted spectre, beset his very path! How often
    did he shrink with curdling awe at the sound of his own steps on the
    frosty crust beneath his feet; and dread to look over his shoulder, lest
    he should behold some uncouth being tramping close behind him! And how
    often was he thrown into complete dismay by some rushing blast, howling
    among the trees, in the idea that it was the Galloping Hessian on one of
    his nightly scourings!

    All these, however, were mere terrors of the night, phantoms of the mind
    that walk in darkness; and though he had seen many spectres in his time,
    and been more than once beset by Satan in divers shapes, in his lonely
    perambulations, yet daylight put an end to all these evils; and he would
    have passed a pleasant life of it, in despite of the Devil and all his
    works, if his path had not been crossed by a being that causes more
    perplexity to mortal man than ghosts, goblins, and the whole race of
    witches put together, and that was–a woman.

    Among the musical disciples who assembled, one evening in each week,
    to receive his instructions in psalmody, was Katrina Van Tassel,
    the daughter and only child of a substantial Dutch farmer. She was a
    blooming lass of fresh eighteen; plump as a partridge; ripe and melting
    and rosy-cheeked as one of her father’s peaches, and universally famed,
    not merely for her beauty, but her vast expectations. She was withal a
    little of a coquette, as might be perceived even in her dress, which was
    a mixture of ancient and modern fashions, as most suited to set off
    her charms. She wore the ornaments of pure yellow gold, which her
    great-great-grandmother had brought over from Saardam; the tempting
    stomacher of the olden time, and withal a provokingly short petticoat,
    to display the prettiest foot and ankle in the country round.

    Ichabod Crane had a soft and foolish heart towards the sex; and it is
    not to be wondered at that so tempting a morsel soon found favor in his
    eyes, more especially after he had visited her in her paternal mansion.
    Old Baltus Van Tassel was a perfect picture of a thriving, contented,
    liberal-hearted farmer. He seldom, it is true, sent either his eyes or
    his thoughts beyond the boundaries of his own farm; but within those
    everything was snug, happy and well-conditioned. He was satisfied with
    his wealth, but not proud of it; and piqued himself upon the hearty
    abundance, rather than the style in which he lived. His stronghold was
    situated on the banks of the Hudson, in one of those green, sheltered,
    fertile nooks in which the Dutch farmers are so fond of nestling. A
    great elm tree spread its broad branches over it, at the foot of which
    bubbled up a spring of the softest and sweetest water, in a little well
    formed of a barrel; and then stole sparkling away through the grass, to
    a neighboring brook, that babbled along among alders and dwarf willows.
    Hard by the farmhouse was a vast barn, that might have served for a
    church; every window and crevice of which seemed bursting forth with the
    treasures of the farm; the flail was busily resounding within it from
    morning to night; swallows and martins skimmed twittering about the
    eaves; and rows of pigeons, some with one eye turned up, as if watching
    the weather, some with their heads under their wings or buried in their
    bosoms, and others swelling, and cooing, and bowing about their dames,
    were enjoying the sunshine on the roof. Sleek unwieldy porkers were
    grunting in the repose and abundance of their pens, from whence sallied
    forth, now and then, troops of sucking pigs, as if to snuff the air.
    A stately squadron of snowy geese were riding in an adjoining pond,
    convoying whole fleets of ducks; regiments of turkeys were gobbling
    through the farmyard, and Guinea fowls fretting about it, like
    ill-tempered housewives, with their peevish, discontented cry. Before
    the barn door strutted the gallant cock, that pattern of a husband, a
    warrior and a fine gentleman, clapping his burnished wings and crowing
    in the pride and gladness of his heart,–sometimes tearing up the earth
    with his feet, and then generously calling his ever-hungry family of
    wives and children to enjoy the rich morsel which he had discovered.

    The pedagogue’s mouth watered as he looked upon this sumptuous promise
    of luxurious winter fare. In his devouring mind’s eye, he pictured to
    himself every roasting-pig running about with a pudding in his belly,
    and an apple in his mouth; the pigeons were snugly put to bed in a
    comfortable pie, and tucked in with a coverlet of crust; the geese were
    swimming in their own gravy; and the ducks pairing cosily in dishes,
    like snug married couples, with a decent competency of onion sauce. In
    the porkers he saw carved out the future sleek side of bacon, and juicy
    relishing ham; not a turkey but he beheld daintily trussed up, with
    its gizzard under its wing, and, peradventure, a necklace of savory
    sausages; and even bright chanticleer himself lay sprawling on his back,
    in a side dish, with uplifted claws, as if craving that quarter which
    his chivalrous spirit disdained to ask while living.

    As the enraptured Ichabod fancied all this, and as he rolled his great
    green eyes over the fat meadow lands, the rich fields of wheat, of rye,
    of buckwheat, and Indian corn, and the orchards burdened with ruddy
    fruit, which surrounded the warm tenement of Van Tassel, his heart
    yearned after the damsel who was to inherit these domains, and his
    imagination expanded with the idea, how they might be readily turned
    into cash, and the money invested in immense tracts of wild land, and
    shingle palaces in the wilderness. Nay, his busy fancy already realized
    his hopes, and presented to him the blooming Katrina, with a whole
    family of children, mounted on the top of a wagon loaded with household
    trumpery, with pots and kettles dangling beneath; and he beheld himself
    bestriding a pacing mare, with a colt at her heels, setting out for
    Kentucky, Tennessee,–or the Lord knows where!

    When he entered the house, the conquest of his heart was complete. It
    was one of those spacious farmhouses, with high-ridged but lowly sloping
    roofs, built in the style handed down from the first Dutch settlers; the
    low projecting eaves forming a piazza along the front, capable of being
    closed up in bad weather. Under this were hung flails, harness, various
    utensils of husbandry, and nets for fishing in the neighboring
    river. Benches were built along the sides for summer use; and a great
    spinning-wheel at one end, and a churn at the other, showed the various
    uses to which this important porch might be devoted. From this piazza
    the wondering Ichabod entered the hall, which formed the centre of the
    mansion, and the place of usual residence. Here rows of resplendent
    pewter, ranged on a long dresser, dazzled his eyes. In one corner
    stood a huge bag of wool, ready to be spun; in another, a quantity of
    linsey-woolsey just from the loom; ears of Indian corn, and strings of
    dried apples and peaches, hung in gay festoons along the walls, mingled
    with the gaud of red peppers; and a door left ajar gave him a peep into
    the best parlor, where the claw-footed chairs and dark mahogany tables
    shone like mirrors; andirons, with their accompanying shovel and
    tongs, glistened from their covert of asparagus tops; mock-oranges and
    conch-shells decorated the mantelpiece; strings of various-colored birds
    eggs were suspended above it; a great ostrich egg was hung from
    the centre of the room, and a corner cupboard, knowingly left open,
    displayed immense treasures of old silver and well-mended china.

    From the moment Ichabod laid his eyes upon these regions of delight, the
    peace of his mind was at an end, and his only study was how to gain the
    affections of the peerless daughter of Van Tassel. In this enterprise,
    however, he had more real difficulties than generally fell to the lot of
    a knight-errant of yore, who seldom had anything but giants, enchanters,
    fiery dragons, and such like easily conquered adversaries, to contend
    with and had to make his way merely through gates of iron and brass,
    and walls of adamant to the castle keep, where the lady of his heart was
    confined; all which he achieved as easily as a man would carve his way
    to the centre of a Christmas pie; and then the lady gave him her hand as
    a matter of course. Ichabod, on the contrary, had to win his way to
    the heart of a country coquette, beset with a labyrinth of whims
    and caprices, which were forever presenting new difficulties and
    impediments; and he had to encounter a host of fearful adversaries of
    real flesh and blood, the numerous rustic admirers, who beset every
    portal to her heart, keeping a watchful and angry eye upon each other,
    but ready to fly out in the common cause against any new competitor.

    Among these, the most formidable was a burly, roaring, roystering blade,
    of the name of Abraham, or, according to the Dutch abbreviation, Brom
    Van Brunt, the hero of the country round, which rang with his feats of
    strength and hardihood. He was broad-shouldered and double-jointed,
    with short curly black hair, and a bluff but not unpleasant countenance,
    having a mingled air of fun and arrogance. From his Herculean frame
    and great powers of limb he had received the nickname of BROM BONES,
    by which he was universally known. He was famed for great knowledge and
    skill in horsemanship, being as dexterous on horseback as a Tartar.
    He was foremost at all races and cock fights; and, with the ascendancy
    which bodily strength always acquires in rustic life, was the umpire in
    all disputes, setting his hat on one side, and giving his decisions with
    an air and tone that admitted of no gainsay or appeal. He was always
    ready for either a fight or a frolic; but had more mischief than
    ill-will in his composition; and with all his overbearing roughness,
    there was a strong dash of waggish good humor at bottom. He had three or
    four boon companions, who regarded him as their model, and at the
    head of whom he scoured the country, attending every scene of feud or
    merriment for miles round. In cold weather he was distinguished by a
    fur cap, surmounted with a flaunting fox’s tail; and when the folks at a
    country gathering descried this well-known crest at a distance, whisking
    about among a squad of hard riders, they always stood by for a squall.
    Sometimes his crew would be heard dashing along past the farmhouses at
    midnight, with whoop and halloo, like a troop of Don Cossacks; and the
    old dames, startled out of their sleep, would listen for a moment till
    the hurry-scurry had clattered by, and then exclaim, “Ay, there goes
    Brom Bones and his gang!” The neighbors looked upon him with a mixture
    of awe, admiration, and good-will; and, when any madcap prank or rustic
    brawl occurred in the vicinity, always shook their heads, and warranted
    Brom Bones was at the bottom of it.

    This rantipole hero had for some time singled out the blooming Katrina
    for the object of his uncouth gallantries, and though his amorous
    toyings were something like the gentle caresses and endearments of a
    bear, yet it was whispered that she did not altogether discourage his
    hopes. Certain it is, his advances were signals for rival candidates to
    retire, who felt no inclination to cross a lion in his amours; insomuch,
    that when his horse was seen tied to Van Tassel’s paling, on a Sunday
    night, a sure sign that his master was courting, or, as it is termed,
    “sparking,” within, all other suitors passed by in despair, and carried
    the war into other quarters.

    Such was the formidable rival with whom Ichabod Crane had to contend,
    and, considering all things, a stouter man than he would have shrunk
    from the competition, and a wiser man would have despaired. He had,
    however, a happy mixture of pliability and perseverance in his nature;
    he was in form and spirit like a supple-jack–yielding, but tough;
    though he bent, he never broke; and though he bowed beneath the
    slightest pressure, yet, the moment it was away–jerk!–he was as erect,
    and carried his head as high as ever.

    To have taken the field openly against his rival would have been
    madness; for he was not a man to be thwarted in his amours, any more
    than that stormy lover, Achilles. Ichabod, therefore, made his advances
    in a quiet and gently insinuating manner. Under cover of his character
    of singing-master, he made frequent visits at the farmhouse; not that he
    had anything to apprehend from the meddlesome interference of parents,
    which is so often a stumbling-block in the path of lovers. Balt Van
    Tassel was an easy indulgent soul; he loved his daughter better even
    than his pipe, and, like a reasonable man and an excellent father, let
    her have her way in everything. His notable little wife, too, had enough
    to do to attend to her housekeeping and manage her poultry; for, as she
    sagely observed, ducks and geese are foolish things, and must be looked
    after, but girls can take care of themselves. Thus, while the busy dame
    bustled about the house, or plied her spinning-wheel at one end of the
    piazza, honest Balt would sit smoking his evening pipe at the other,
    watching the achievements of a little wooden warrior, who, armed with a
    sword in each hand, was most valiantly fighting the wind on the pinnacle
    of the barn. In the mean time, Ichabod would carry on his suit with the
    daughter by the side of the spring under the great elm, or sauntering
    along in the twilight, that hour so favorable to the lover’s eloquence.

    I profess not to know how women’s hearts are wooed and won. To me they
    have always been matters of riddle and admiration. Some seem to have but
    one vulnerable point, or door of access; while others have a thousand
    avenues, and may be captured in a thousand different ways. It is a
    great triumph of skill to gain the former, but a still greater proof of
    generalship to maintain possession of the latter, for man must battle
    for his fortress at every door and window. He who wins a thousand common
    hearts is therefore entitled to some renown; but he who keeps undisputed
    sway over the heart of a coquette is indeed a hero. Certain it is, this
    was not the case with the redoubtable Brom Bones; and from the moment
    Ichabod Crane made his advances, the interests of the former evidently
    declined: his horse was no longer seen tied to the palings on Sunday
    nights, and a deadly feud gradually arose between him and the preceptor
    of Sleepy Hollow.

    Brom, who had a degree of rough chivalry in his nature, would fain have
    carried matters to open warfare and have settled their pretensions
    to the lady, according to the mode of those most concise and simple
    reasoners, the knights-errant of yore,–by single combat; but Ichabod
    was too conscious of the superior might of his adversary to enter the
    lists against him; he had overheard a boast of Bones, that he would
    “double the schoolmaster up, and lay him on a shelf of his own
    schoolhouse;” and he was too wary to give him an opportunity. There was
    something extremely provoking in this obstinately pacific system; it
    left Brom no alternative but to draw upon the funds of rustic waggery in
    his disposition, and to play off boorish practical jokes upon his rival.
    Ichabod became the object of whimsical persecution to Bones and his gang
    of rough riders. They harried his hitherto peaceful domains; smoked
    out his singing school by stopping up the chimney; broke into the
    schoolhouse at night, in spite of its formidable fastenings of withe
    and window stakes, and turned everything topsy-turvy, so that the poor
    schoolmaster began to think all the witches in the country held
    their meetings there. But what was still more annoying, Brom took all
    opportunities of turning him into ridicule in presence of his mistress,
    and had a scoundrel dog whom he taught to whine in the most ludicrous
    manner, and introduced as a rival of Ichabod’s, to instruct her in
    psalmody.

    In this way matters went on for some time, without producing any
    material effect on the relative situations of the contending powers. On
    a fine autumnal afternoon, Ichabod, in pensive mood, sat enthroned on
    the lofty stool from whence he usually watched all the concerns of his
    little literary realm. In his hand he swayed a ferule, that sceptre of
    despotic power; the birch of justice reposed on three nails behind the
    throne, a constant terror to evil doers, while on the desk before
    him might be seen sundry contraband articles and prohibited weapons,
    detected upon the persons of idle urchins, such as half-munched apples,
    popguns, whirligigs, fly-cages, and whole legions of rampant little
    paper gamecocks. Apparently there had been some appalling act of justice
    recently inflicted, for his scholars were all busily intent upon their
    books, or slyly whispering behind them with one eye kept upon the
    master; and a kind of buzzing stillness reigned throughout the
    schoolroom. It was suddenly interrupted by the appearance of a negro in
    tow-cloth jacket and trowsers, a round-crowned fragment of a hat,
    like the cap of Mercury, and mounted on the back of a ragged, wild,
    half-broken colt, which he managed with a rope by way of halter. He came
    clattering up to the school door with an invitation to Ichabod to attend
    a merry-making or “quilting frolic,” to be held that evening at
    Mynheer Van Tassel’s; and having delivered his message with that air of
    importance, and effort at fine language, which a negro is apt to display
    on petty embassies of the kind, he dashed over the brook, and was seen
    scampering away up the hollow, full of the importance and hurry of his
    mission.

    All was now bustle and hubbub in the late quiet schoolroom. The scholars
    were hurried through their lessons without stopping at trifles; those
    who were nimble skipped over half with impunity, and those who were
    tardy had a smart application now and then in the rear, to quicken their
    speed or help them over a tall word. Books were flung aside without
    being put away on the shelves, inkstands were overturned, benches thrown
    down, and the whole school was turned loose an hour before the usual
    time, bursting forth like a legion of young imps, yelping and racketing
    about the green in joy at their early emancipation.

    The gallant Ichabod now spent at least an extra half hour at his toilet,
    brushing and furbishing up his best, and indeed only suit of rusty
    black, and arranging his locks by a bit of broken looking-glass that
    hung up in the schoolhouse. That he might make his appearance before his
    mistress in the true style of a cavalier, he borrowed a horse from the
    farmer with whom he was domiciliated, a choleric old Dutchman of the
    name of Hans Van Ripper, and, thus gallantly mounted, issued forth like
    a knight-errant in quest of adventures. But it is meet I should, in
    the true spirit of romantic story, give some account of the looks
    and equipments of my hero and his steed. The animal he bestrode was
    a broken-down plow-horse, that had outlived almost everything but its
    viciousness. He was gaunt and shagged, with a ewe neck, and a head like
    a hammer; his rusty mane and tail were tangled and knotted with burs;
    one eye had lost its pupil, and was glaring and spectral, but the other
    had the gleam of a genuine devil in it. Still he must have had fire and
    mettle in his day, if we may judge from the name he bore of Gunpowder.
    He had, in fact, been a favorite steed of his master’s, the choleric Van
    Ripper, who was a furious rider, and had infused, very probably, some of
    his own spirit into the animal; for, old and broken-down as he looked,
    there was more of the lurking devil in him than in any young filly in
    the country.

    Ichabod was a suitable figure for such a steed. He rode with short
    stirrups, which brought his knees nearly up to the pommel of the saddle;
    his sharp elbows stuck out like grasshoppers’; he carried his whip
    perpendicularly in his hand, like a sceptre, and as his horse jogged on,
    the motion of his arms was not unlike the flapping of a pair of wings. A
    small wool hat rested on the top of his nose, for so his scanty strip of
    forehead might be called, and the skirts of his black coat fluttered out
    almost to the horses tail. Such was the appearance of Ichabod and his
    steed as they shambled out of the gate of Hans Van Ripper, and it was
    altogether such an apparition as is seldom to be met with in broad
    daylight.

    It was, as I have said, a fine autumnal day; the sky was clear and
    serene, and nature wore that rich and golden livery which we always
    associate with the idea of abundance. The forests had put on their sober
    brown and yellow, while some trees of the tenderer kind had been nipped
    by the frosts into brilliant dyes of orange, purple, and scarlet.
    Streaming files of wild ducks began to make their appearance high in the
    air; the bark of the squirrel might be heard from the groves of beech
    and hickory-nuts, and the pensive whistle of the quail at intervals from
    the neighboring stubble field.

    The small birds were taking their farewell banquets. In the fullness
    of their revelry, they fluttered, chirping and frolicking from bush to
    bush, and tree to tree, capricious from the very profusion and variety
    around them. There was the honest cock robin, the favorite game of
    stripling sportsmen, with its loud querulous note; and the twittering
    blackbirds flying in sable clouds; and the golden-winged woodpecker with
    his crimson crest, his broad black gorget, and splendid plumage; and the
    cedar bird, with its red-tipt wings and yellow-tipt tail and its little
    monteiro cap of feathers; and the blue jay, that noisy coxcomb, in his
    gay light blue coat and white underclothes, screaming and chattering,
    nodding and bobbing and bowing, and pretending to be on good terms with
    every songster of the grove.

    As Ichabod jogged slowly on his way, his eye, ever open to every symptom
    of culinary abundance, ranged with delight over the treasures of jolly
    autumn. On all sides he beheld vast store of apples; some hanging in
    oppressive opulence on the trees; some gathered into baskets and barrels
    for the market; others heaped up in rich piles for the cider-press.
    Farther on he beheld great fields of Indian corn, with its golden ears
    peeping from their leafy coverts, and holding out the promise of cakes
    and hasty-pudding; and the yellow pumpkins lying beneath them, turning
    up their fair round bellies to the sun, and giving ample prospects of
    the most luxurious of pies; and anon he passed the fragrant buckwheat
    fields breathing the odor of the beehive, and as he beheld them, soft
    anticipations stole over his mind of dainty slapjacks, well buttered,
    and garnished with honey or treacle, by the delicate little dimpled hand
    of Katrina Van Tassel.

    Thus feeding his mind with many sweet thoughts and “sugared
    suppositions,” he journeyed along the sides of a range of hills which
    look out upon some of the goodliest scenes of the mighty Hudson. The sun
    gradually wheeled his broad disk down in the west. The wide bosom of the
    Tappan Zee lay motionless and glassy, excepting that here and there a
    gentle undulation waved and prolonged the blue shadow of the distant
    mountain. A few amber clouds floated in the sky, without a breath of air
    to move them. The horizon was of a fine golden tint, changing gradually
    into a pure apple green, and from that into the deep blue of the
    mid-heaven. A slanting ray lingered on the woody crests of the
    precipices that overhung some parts of the river, giving greater depth
    to the dark gray and purple of their rocky sides. A sloop was loitering
    in the distance, dropping slowly down with the tide, her sail hanging
    uselessly against the mast; and as the reflection of the sky gleamed
    along the still water, it seemed as if the vessel was suspended in the
    air.

    It was toward evening that Ichabod arrived at the castle of the Heer
    Van Tassel, which he found thronged with the pride and flower of the
    adjacent country. Old farmers, a spare leathern-faced race, in homespun
    coats and breeches, blue stockings, huge shoes, and magnificent pewter
    buckles. Their brisk, withered little dames, in close-crimped caps,
    long-waisted short gowns, homespun petticoats, with scissors and
    pincushions, and gay calico pockets hanging on the outside. Buxom
    lasses, almost as antiquated as their mothers, excepting where a straw
    hat, a fine ribbon, or perhaps a white frock, gave symptoms of city
    innovation. The sons, in short square-skirted coats, with rows of
    stupendous brass buttons, and their hair generally queued in the fashion
    of the times, especially if they could procure an eel-skin for the
    purpose, it being esteemed throughout the country as a potent nourisher
    and strengthener of the hair.

    Brom Bones, however, was the hero of the scene, having come to the
    gathering on his favorite steed Daredevil, a creature, like himself,
    full of mettle and mischief, and which no one but himself could manage.
    He was, in fact, noted for preferring vicious animals, given to all
    kinds of tricks which kept the rider in constant risk of his neck, for
    he held a tractable, well-broken horse as unworthy of a lad of spirit.

    Fain would I pause to dwell upon the world of charms that burst upon
    the enraptured gaze of my hero, as he entered the state parlor of Van
    Tassel’s mansion. Not those of the bevy of buxom lasses, with their
    luxurious display of red and white; but the ample charms of a genuine
    Dutch country tea-table, in the sumptuous time of autumn. Such heaped up
    platters of cakes of various and almost indescribable kinds, known only
    to experienced Dutch housewives! There was the doughty doughnut, the
    tender oly koek, and the crisp and crumbling cruller; sweet cakes and
    short cakes, ginger cakes and honey cakes, and the whole family of
    cakes. And then there were apple pies, and peach pies, and pumpkin pies;
    besides slices of ham and smoked beef; and moreover delectable dishes
    of preserved plums, and peaches, and pears, and quinces; not to mention
    broiled shad and roasted chickens; together with bowls of milk and
    cream, all mingled higgledy-piggledy, pretty much as I have enumerated
    them, with the motherly teapot sending up its clouds of vapor from the
    midst–Heaven bless the mark! I want breath and time to discuss this
    banquet as it deserves, and am too eager to get on with my story.
    Happily, Ichabod Crane was not in so great a hurry as his historian, but
    did ample justice to every dainty.

    He was a kind and thankful creature, whose heart dilated in proportion
    as his skin was filled with good cheer, and whose spirits rose with
    eating, as some men’s do with drink. He could not help, too, rolling his
    large eyes round him as he ate, and chuckling with the possibility that
    he might one day be lord of all this scene of almost unimaginable luxury
    and splendor. Then, he thought, how soon he’d turn his back upon the old
    schoolhouse; snap his fingers in the face of Hans Van Ripper, and every
    other niggardly patron, and kick any itinerant pedagogue out of doors
    that should dare to call him comrade!

    Old Baltus Van Tassel moved about among his guests with a face dilated
    with content and good humor, round and jolly as the harvest moon. His
    hospitable attentions were brief, but expressive, being confined to a
    shake of the hand, a slap on the shoulder, a loud laugh, and a pressing
    invitation to “fall to, and help themselves.”

    And now the sound of the music from the common room, or hall, summoned
    to the dance. The musician was an old gray-headed negro, who had
    been the itinerant orchestra of the neighborhood for more than half a
    century. His instrument was as old and battered as himself. The greater
    part of the time he scraped on two or three strings, accompanying every
    movement of the bow with a motion of the head; bowing almost to the
    ground, and stamping with his foot whenever a fresh couple were to
    start.

    Ichabod prided himself upon his dancing as much as upon his vocal
    powers. Not a limb, not a fibre about him was idle; and to have seen his
    loosely hung frame in full motion, and clattering about the room, you
    would have thought St. Vitus himself, that blessed patron of the dance,
    was figuring before you in person. He was the admiration of all the
    negroes; who, having gathered, of all ages and sizes, from the farm
    and the neighborhood, stood forming a pyramid of shining black faces at
    every door and window, gazing with delight at the scene, rolling their
    white eyeballs, and showing grinning rows of ivory from ear to ear. How
    could the flogger of urchins be otherwise than animated and joyous? The
    lady of his heart was his partner in the dance, and smiling graciously
    in reply to all his amorous oglings; while Brom Bones, sorely smitten
    with love and jealousy, sat brooding by himself in one corner.

    When the dance was at an end, Ichabod was attracted to a knot of the
    sager folks, who, with Old Van Tassel, sat smoking at one end of the
    piazza, gossiping over former times, and drawing out long stories about
    the war.

    This neighborhood, at the time of which I am speaking, was one of those
    highly favored places which abound with chronicle and great men. The
    British and American line had run near it during the war; it had,
    therefore, been the scene of marauding and infested with refugees,
    cowboys, and all kinds of border chivalry. Just sufficient time had
    elapsed to enable each storyteller to dress up his tale with a little
    becoming fiction, and, in the indistinctness of his recollection, to
    make himself the hero of every exploit.

    There was the story of Doffue Martling, a large blue-bearded Dutchman,
    who had nearly taken a British frigate with an old iron nine-pounder
    from a mud breastwork, only that his gun burst at the sixth discharge.
    And there was an old gentleman who shall be nameless, being too rich
    a mynheer to be lightly mentioned, who, in the battle of White Plains,
    being an excellent master of defence, parried a musket-ball with a small
    sword, insomuch that he absolutely felt it whiz round the blade, and
    glance off at the hilt; in proof of which he was ready at any time to
    show the sword, with the hilt a little bent. There were several more
    that had been equally great in the field, not one of whom but was
    persuaded that he had a considerable hand in bringing the war to a happy
    termination.

    But all these were nothing to the tales of ghosts and apparitions that
    succeeded. The neighborhood is rich in legendary treasures of the
    kind. Local tales and superstitions thrive best in these sheltered,
    long-settled retreats; but are trampled under foot by the shifting
    throng that forms the population of most of our country places. Besides,
    there is no encouragement for ghosts in most of our villages, for they
    have scarcely had time to finish their first nap and turn themselves in
    their graves, before their surviving friends have travelled away from
    the neighborhood; so that when they turn out at night to walk their
    rounds, they have no acquaintance left to call upon. This is perhaps the
    reason why we so seldom hear of ghosts except in our long-established
    Dutch communities.

    The immediate cause, however, of the prevalence of supernatural stories
    in these parts, was doubtless owing to the vicinity of Sleepy Hollow.
    There was a contagion in the very air that blew from that haunted
    region; it breathed forth an atmosphere of dreams and fancies infecting
    all the land. Several of the Sleepy Hollow people were present at
    Van Tassel’s, and, as usual, were doling out their wild and wonderful
    legends. Many dismal tales were told about funeral trains, and mourning
    cries and wailings heard and seen about the great tree where the
    unfortunate Major André was taken, and which stood in the neighborhood.
    Some mention was made also of the woman in white, that haunted the
    dark glen at Raven Rock, and was often heard to shriek on winter nights
    before a storm, having perished there in the snow. The chief part of the
    stories, however, turned upon the favorite spectre of Sleepy Hollow, the
    Headless Horseman, who had been heard several times of late, patrolling
    the country; and, it was said, tethered his horse nightly among the
    graves in the churchyard.

    The sequestered situation of this church seems always to have made it a
    favorite haunt of troubled spirits. It stands on a knoll, surrounded by
    locust-trees and lofty elms, from among which its decent, whitewashed
    walls shine modestly forth, like Christian purity beaming through the
    shades of retirement. A gentle slope descends from it to a silver sheet
    of water, bordered by high trees, between which, peeps may be caught at
    the blue hills of the Hudson. To look upon its grass-grown yard, where
    the sunbeams seem to sleep so quietly, one would think that there at
    least the dead might rest in peace. On one side of the church extends a
    wide woody dell, along which raves a large brook among broken rocks and
    trunks of fallen trees. Over a deep black part of the stream, not far
    from the church, was formerly thrown a wooden bridge; the road that led
    to it, and the bridge itself, were thickly shaded by overhanging trees,
    which cast a gloom about it, even in the daytime; but occasioned a
    fearful darkness at night. Such was one of the favorite haunts of
    the Headless Horseman, and the place where he was most frequently
    encountered. The tale was told of old Brouwer, a most heretical
    disbeliever in ghosts, how he met the Horseman returning from his foray
    into Sleepy Hollow, and was obliged to get up behind him; how they
    galloped over bush and brake, over hill and swamp, until they reached
    the bridge; when the Horseman suddenly turned into a skeleton, threw old
    Brouwer into the brook, and sprang away over the tree-tops with a clap
    of thunder.

    This story was immediately matched by a thrice marvellous adventure of
    Brom Bones, who made light of the Galloping Hessian as an arrant jockey.
    He affirmed that on returning one night from the neighboring village of
    Sing Sing, he had been overtaken by this midnight trooper; that he had
    offered to race with him for a bowl of punch, and should have won it
    too, for Daredevil beat the goblin horse all hollow, but just as they
    came to the church bridge, the Hessian bolted, and vanished in a flash
    of fire.

    All these tales, told in that drowsy undertone with which men talk in
    the dark, the countenances of the listeners only now and then receiving
    a casual gleam from the glare of a pipe, sank deep in the mind of
    Ichabod. He repaid them in kind with large extracts from his invaluable
    author, Cotton Mather, and added many marvellous events that had taken
    place in his native State of Connecticut, and fearful sights which he
    had seen in his nightly walks about Sleepy Hollow.

    The revel now gradually broke up. The old farmers gathered together
    their families in their wagons, and were heard for some time rattling
    along the hollow roads, and over the distant hills. Some of the
    damsels mounted on pillions behind their favorite swains, and their
    light-hearted laughter, mingling with the clatter of hoofs, echoed along
    the silent woodlands, sounding fainter and fainter, until they gradually
    died away,–and the late scene of noise and frolic was all silent and
    deserted. Ichabod only lingered behind, according to the custom of
    country lovers, to have a tête-à-tête with the heiress; fully convinced
    that he was now on the high road to success. What passed at this
    interview I will not pretend to say, for in fact I do not know.
    Something, however, I fear me, must have gone wrong, for he certainly
    sallied forth, after no very great interval, with an air quite desolate
    and chapfallen. Oh, these women! these women! Could that girl have been
    playing off any of her coquettish tricks? Was her encouragement of the
    poor pedagogue all a mere sham to secure her conquest of his rival?
    Heaven only knows, not I! Let it suffice to say, Ichabod stole forth
    with the air of one who had been sacking a henroost, rather than a fair
    lady’s heart. Without looking to the right or left to notice the scene
    of rural wealth, on which he had so often gloated, he went straight to
    the stable, and with several hearty cuffs and kicks roused his steed
    most uncourteously from the comfortable quarters in which he was soundly
    sleeping, dreaming of mountains of corn and oats, and whole valleys of
    timothy and clover.

    It was the very witching time of night that Ichabod, heavy-hearted and
    crestfallen, pursued his travels homewards, along the sides of the
    lofty hills which rise above Tarry Town, and which he had traversed so
    cheerily in the afternoon. The hour was as dismal as himself. Far below
    him the Tappan Zee spread its dusky and indistinct waste of waters, with
    here and there the tall mast of a sloop, riding quietly at anchor under
    the land. In the dead hush of midnight, he could even hear the barking
    of the watchdog from the opposite shore of the Hudson; but it was
    so vague and faint as only to give an idea of his distance from this
    faithful companion of man. Now and then, too, the long-drawn crowing
    of a cock, accidentally awakened, would sound far, far off, from some
    farmhouse away among the hills–but it was like a dreaming sound in his
    ear. No signs of life occurred near him, but occasionally the melancholy
    chirp of a cricket, or perhaps the guttural twang of a bullfrog from a
    neighboring marsh, as if sleeping uncomfortably and turning suddenly in
    his bed.

    All the stories of ghosts and goblins that he had heard in the afternoon
    now came crowding upon his recollection. The night grew darker and
    darker; the stars seemed to sink deeper in the sky, and driving clouds
    occasionally hid them from his sight. He had never felt so lonely and
    dismal. He was, moreover, approaching the very place where many of the
    scenes of the ghost stories had been laid. In the centre of the road
    stood an enormous tulip-tree, which towered like a giant above all the
    other trees of the neighborhood, and formed a kind of landmark. Its
    limbs were gnarled and fantastic, large enough to form trunks for
    ordinary trees, twisting down almost to the earth, and rising again into
    the air. It was connected with the tragical story of the unfortunate
    André, who had been taken prisoner hard by; and was universally known
    by the name of Major André’s tree. The common people regarded it with a
    mixture of respect and superstition, partly out of sympathy for the
    fate of its ill-starred namesake, and partly from the tales of strange
    sights, and doleful lamentations, told concerning it.

    As Ichabod approached this fearful tree, he began to whistle; he thought
    his whistle was answered; it was but a blast sweeping sharply through
    the dry branches. As he approached a little nearer, he thought he saw
    something white, hanging in the midst of the tree: he paused and ceased
    whistling but, on looking more narrowly, perceived that it was a place
    where the tree had been scathed by lightning, and the white wood laid
    bare. Suddenly he heard a groan–his teeth chattered, and his knees
    smote against the saddle: it was but the rubbing of one huge bough upon
    another, as they were swayed about by the breeze. He passed the tree in
    safety, but new perils lay before him.

    About two hundred yards from the tree, a small brook crossed the road,
    and ran into a marshy and thickly-wooded glen, known by the name of
    Wiley’s Swamp. A few rough logs, laid side by side, served for a bridge
    over this stream. On that side of the road where the brook entered the
    wood, a group of oaks and chestnuts, matted thick with wild grape-vines,
    threw a cavernous gloom over it. To pass this bridge was the severest
    trial. It was at this identical spot that the unfortunate André was
    captured, and under the covert of those chestnuts and vines were the
    sturdy yeomen concealed who surprised him. This has ever since been
    considered a haunted stream, and fearful are the feelings of the
    schoolboy who has to pass it alone after dark.

    As he approached the stream, his heart began to thump; he summoned up,
    however, all his resolution, gave his horse half a score of kicks in the
    ribs, and attempted to dash briskly across the bridge; but instead of
    starting forward, the perverse old animal made a lateral movement, and
    ran broadside against the fence. Ichabod, whose fears increased with the
    delay, jerked the reins on the other side, and kicked lustily with the
    contrary foot: it was all in vain; his steed started, it is true, but
    it was only to plunge to the opposite side of the road into a thicket of
    brambles and alder bushes. The schoolmaster now bestowed both whip and
    heel upon the starveling ribs of old Gunpowder, who dashed forward,
    snuffling and snorting, but came to a stand just by the bridge, with a
    suddenness that had nearly sent his rider sprawling over his head.
    Just at this moment a plashy tramp by the side of the bridge caught the
    sensitive ear of Ichabod. In the dark shadow of the grove, on the margin
    of the brook, he beheld something huge, misshapen and towering. It
    stirred not, but seemed gathered up in the gloom, like some gigantic
    monster ready to spring upon the traveller.

    The hair of the affrighted pedagogue rose upon his head with terror.
    What was to be done? To turn and fly was now too late; and besides,
    what chance was there of escaping ghost or goblin, if such it was, which
    could ride upon the wings of the wind? Summoning up, therefore, a
    show of courage, he demanded in stammering accents, “Who are you?”
    He received no reply. He repeated his demand in a still more agitated
    voice. Still there was no answer. Once more he cudgelled the sides
    of the inflexible Gunpowder, and, shutting his eyes, broke forth with
    involuntary fervor into a psalm tune. Just then the shadowy object of
    alarm put itself in motion, and with a scramble and a bound stood at
    once in the middle of the road. Though the night was dark and dismal,
    yet the form of the unknown might now in some degree be ascertained. He
    appeared to be a horseman of large dimensions, and mounted on a black
    horse of powerful frame. He made no offer of molestation or sociability,
    but kept aloof on one side of the road, jogging along on the blind side
    of old Gunpowder, who had now got over his fright and waywardness.

    Ichabod, who had no relish for this strange midnight companion, and
    bethought himself of the adventure of Brom Bones with the Galloping
    Hessian, now quickened his steed in hopes of leaving him behind. The
    stranger, however, quickened his horse to an equal pace. Ichabod pulled
    up, and fell into a walk, thinking to lag behind,–the other did the
    same. His heart began to sink within him; he endeavored to resume his
    psalm tune, but his parched tongue clove to the roof of his mouth, and
    he could not utter a stave. There was something in the moody and
    dogged silence of this pertinacious companion that was mysterious and
    appalling. It was soon fearfully accounted for. On mounting a rising
    ground, which brought the figure of his fellow-traveller in relief
    against the sky, gigantic in height, and muffled in a cloak, Ichabod was
    horror-struck on perceiving that he was headless!–but his horror was
    still more increased on observing that the head, which should have
    rested on his shoulders, was carried before him on the pommel of his
    saddle! His terror rose to desperation; he rained a shower of kicks and
    blows upon Gunpowder, hoping by a sudden movement to give his companion
    the slip; but the spectre started full jump with him. Away, then, they
    dashed through thick and thin; stones flying and sparks flashing at
    every bound. Ichabod’s flimsy garments fluttered in the air, as
    he stretched his long lank body away over his horse’s head, in the
    eagerness of his flight.

    They had now reached the road which turns off to Sleepy Hollow; but
    Gunpowder, who seemed possessed with a demon, instead of keeping up it,
    made an opposite turn, and plunged headlong downhill to the left. This
    road leads through a sandy hollow shaded by trees for about a quarter
    of a mile, where it crosses the bridge famous in goblin story; and just
    beyond swells the green knoll on which stands the whitewashed church.

    As yet the panic of the steed had given his unskilful rider an apparent
    advantage in the chase, but just as he had got half way through the
    hollow, the girths of the saddle gave way, and he felt it slipping from
    under him. He seized it by the pommel, and endeavored to hold it firm,
    but in vain; and had just time to save himself by clasping old Gunpowder
    round the neck, when the saddle fell to the earth, and he heard it
    trampled under foot by his pursuer. For a moment the terror of Hans Van
    Ripper’s wrath passed across his mind,–for it was his Sunday saddle;
    but this was no time for petty fears; the goblin was hard on his
    haunches; and (unskilful rider that he was!) he had much ado to maintain
    his seat; sometimes slipping on one side, sometimes on another, and
    sometimes jolted on the high ridge of his horse’s backbone, with a
    violence that he verily feared would cleave him asunder.

    An opening in the trees now cheered him with the hopes that the church
    bridge was at hand. The wavering reflection of a silver star in the
    bosom of the brook told him that he was not mistaken. He saw the walls
    of the church dimly glaring under the trees beyond. He recollected the
    place where Brom Bones’s ghostly competitor had disappeared. “If I can
    but reach that bridge,” thought Ichabod, “I am safe.” Just then he heard
    the black steed panting and blowing close behind him; he even fancied
    that he felt his hot breath. Another convulsive kick in the ribs, and
    old Gunpowder sprang upon the bridge; he thundered over the resounding
    planks; he gained the opposite side; and now Ichabod cast a look behind
    to see if his pursuer should vanish, according to rule, in a flash of
    fire and brimstone. Just then he saw the goblin rising in his stirrups,
    and in the very act of hurling his head at him. Ichabod endeavored to
    dodge the horrible missile, but too late. It encountered his cranium
    with a tremendous crash,–he was tumbled headlong into the dust, and
    Gunpowder, the black steed, and the goblin rider, passed by like a
    whirlwind.

    The next morning the old horse was found without his saddle, and with
    the bridle under his feet, soberly cropping the grass at his master’s
    gate. Ichabod did not make his appearance at breakfast; dinner-hour
    came, but no Ichabod. The boys assembled at the schoolhouse, and
    strolled idly about the banks of the brook; but no schoolmaster. Hans
    Van Ripper now began to feel some uneasiness about the fate of poor
    Ichabod, and his saddle. An inquiry was set on foot, and after diligent
    investigation they came upon his traces. In one part of the road leading
    to the church was found the saddle trampled in the dirt; the tracks of
    horses’ hoofs deeply dented in the road, and evidently at furious speed,
    were traced to the bridge, beyond which, on the bank of a broad part of
    the brook, where the water ran deep and black, was found the hat of the
    unfortunate Ichabod, and close beside it a shattered pumpkin.

    The brook was searched, but the body of the schoolmaster was not to
    be discovered. Hans Van Ripper as executor of his estate, examined the
    bundle which contained all his worldly effects. They consisted of two
    shirts and a half; two stocks for the neck; a pair or two of worsted
    stockings; an old pair of corduroy small-clothes; a rusty razor; a book
    of psalm tunes full of dog’s-ears; and a broken pitch-pipe. As to the
    books and furniture of the schoolhouse, they belonged to the community,
    excepting Cotton Mather’s “History of Witchcraft,” a “New England
    Almanac,” and a book of dreams and fortune-telling; in which last was
    a sheet of foolscap much scribbled and blotted in several fruitless
    attempts to make a copy of verses in honor of the heiress of Van Tassel.
    These magic books and the poetic scrawl were forthwith consigned to the
    flames by Hans Van Ripper; who, from that time forward, determined to
    send his children no more to school, observing that he never knew
    any good come of this same reading and writing. Whatever money the
    schoolmaster possessed, and he had received his quarter’s pay but a
    day or two before, he must have had about his person at the time of his
    disappearance.

    The mysterious event caused much speculation at the church on the
    following Sunday. Knots of gazers and gossips were collected in the
    churchyard, at the bridge, and at the spot where the hat and pumpkin
    had been found. The stories of Brouwer, of Bones, and a whole budget of
    others were called to mind; and when they had diligently considered them
    all, and compared them with the symptoms of the present case, they shook
    their heads, and came to the conclusion that Ichabod had been carried
    off by the Galloping Hessian. As he was a bachelor, and in nobody’s
    debt, nobody troubled his head any more about him; the school was
    removed to a different quarter of the hollow, and another pedagogue
    reigned in his stead.

    It is true, an old farmer, who had been down to New York on a visit
    several years after, and from whom this account of the ghostly adventure
    was received, brought home the intelligence that Ichabod Crane was still
    alive; that he had left the neighborhood partly through fear of the
    goblin and Hans Van Ripper, and partly in mortification at having been
    suddenly dismissed by the heiress; that he had changed his quarters to a
    distant part of the country; had kept school and studied law at the same
    time; had been admitted to the bar; turned politician; electioneered;
    written for the newspapers; and finally had been made a justice of
    the Ten Pound Court. Brom Bones, too, who, shortly after his rival’s
    disappearance conducted the blooming Katrina in triumph to the altar,
    was observed to look exceedingly knowing whenever the story of Ichabod
    was related, and always burst into a hearty laugh at the mention of the
    pumpkin; which led some to suspect that he knew more about the matter
    than he chose to tell.

    The old country wives, however, who are the best judges of these
    matters, maintain to this day that Ichabod was spirited away by
    supernatural means; and it is a favorite story often told about the
    neighborhood round the winter evening fire. The bridge became more than
    ever an object of superstitious awe; and that may be the reason why the
    road has been altered of late years, so as to approach the church by
    the border of the millpond. The schoolhouse being deserted soon fell to
    decay, and was reported to be haunted by the ghost of the unfortunate
    pedagogue and the plowboy, loitering homeward of a still summer evening,
    has often fancied his voice at a distance, chanting a melancholy psalm
    tune among the tranquil solitudes of Sleepy Hollow.

    POSTSCRIPT.

    FOUND IN THE HANDWRITING OF MR. KNICKERBOCKER.

    The preceding tale is given almost in the precise words in which I
    heard it related at a Corporation meeting at the ancient city of
    Manhattoes, at which were present many of its sagest and most
    illustrious burghers. The narrator was a pleasant, shabby, gentlemanly
    old fellow, in pepper-and-salt clothes, with a sadly humourous face,
    and one whom I strongly suspected of being poor–he made such efforts
    to be entertaining. When his story was concluded, there was much
    laughter and approbation, particularly from two or three deputy
    aldermen, who had been asleep the greater part of the time. There was,
    however, one tall, dry-looking old gentleman, with beetling eyebrows,
    who maintained a grave and rather severe face throughout, now and then
    folding his arms, inclining his head, and looking down upon the floor,
    as if turning a doubt over in his mind. He was one of your wary men,
    who never laugh but upon good grounds–when they have reason and law on
    their side. When the mirth of the rest of the company had subsided, and
    silence was restored, he leaned one arm on the elbow of his chair, and
    sticking the other akimbo, demanded, with a slight, but exceedingly
    sage motion of the head, and contraction of the brow, what was the
    moral of the story, and what it went to prove?

    The story-teller, who was just putting a glass of wine to his lips, as
    a refreshment after his toils, paused for a moment, looked at his
    inquirer with an air of infinite deference, and, lowering the glass
    slowly to the table, observed that the story was intended most
    logically to prove–

    “That there is no situation in life but has its advantages and
    pleasures–provided we will but take a joke as we find it:

    “That, therefore, he that runs races with goblin troopers is likely to
    have rough riding of it.

    “Ergo, for a country schoolmaster to be refused the hand of a Dutch
    heiress is a certain step to high preferment in the state.”

    The cautious old gentleman knit his brows tenfold closer after this
    explanation, being sorely puzzled by the ratiocination of the
    syllogism, while, methought, the one in pepper-and-salt eyed him with
    something of a triumphant leer. At length he observed that all this was
    very well, but still he thought the story a little on the
    extravagant–there were one or two points on which he had his doubts.

    “Faith, sir,” replied the story-teller, “as to that matter, I don’t
    believe one-half of it myself.” D. K.

    THE END.

  • The King James Version of the Bible

    The King James Version of the Bible

    Aproximadamente 792.180 palavras.

    The Old Testament of the King James Version of the Bible
    The First Book of Moses: Called Genesis
    The Second Book of Moses: Called Exodus
    The Third Book of Moses: Called Leviticus
    The Fourth Book of Moses: Called Numbers
    The Fifth Book of Moses: Called Deuteronomy
    The Book of Joshua
    The Book of Judges
    The Book of Ruth
    The First Book of Samuel
    The Second Book of Samuel
    The First Book of the Kings
    The Second Book of the Kings
    The First Book of the Chronicles
    The Second Book of the Chronicles
    Ezra
    The Book of Nehemiah
    The Book of Esther
    The Book of Job
    The Book of Psalms
    The Proverbs
    Ecclesiastes
    The Song of Solomon
    The Book of the Prophet Isaiah
    The Book of the Prophet Jeremiah
    The Lamentations of Jeremiah
    The Book of the Prophet Ezekiel
    The Book of Daniel
    Hosea
    Joel
    Amos
    Obadiah
    Jonah
    Micah
    Nahum
    Habakkuk
    Zephaniah
    Haggai
    Zechariah
    Malachi

    The New Testament of the King James Bible
    The Gospel According to Saint Matthew
    The Gospel According to Saint Mark
    The Gospel According to Saint Luke
    The Gospel According to Saint John
    The Acts of the Apostles
    The Epistle of Paul the Apostle to the Romans
    The First Epistle of Paul the Apostle to the Corinthians
    The Second Epistle of Paul the Apostle to the Corinthians
    The Epistle of Paul the Apostle to the Galatians
    The Epistle of Paul the Apostle to the Ephesians
    The Epistle of Paul the Apostle to the Philippians
    The Epistle of Paul the Apostle to the Colossians
    The First Epistle of Paul the Apostle to the Thessalonians
    The Second Epistle of Paul the Apostle to the Thessalonians
    The First Epistle of Paul the Apostle to Timothy
    The Second Epistle of Paul the Apostle to Timothy
    The Epistle of Paul the Apostle to Titus
    The Epistle of Paul the Apostle to Philemon
    The Epistle of Paul the Apostle to the Hebrews
    The General Epistle of James
    The First Epistle General of Peter
    The Second General Epistle of Peter
    The First Epistle General of John
    The Second Epistle General of John
    The Third Epistle General of John
    The General Epistle of Jude
    The Revelation of Saint John the Divine

    The Old Testament of the King James Version of the Bible

    The First Book of Moses: Called Genesis

    1:1 In the beginning God created the heaven and the earth.

    1:2 And the earth was without form, and void; and darkness was upon
    the face of the deep. And the Spirit of God moved upon the face of the
    waters.

    1:3 And God said, Let there be light: and there was light.

    1:4 And God saw the light, that it was good: and God divided the light
    from the darkness.

    1:5 And God called the light Day, and the darkness he called Night.
    And the evening and the morning were the first day.

    1:6 And God said, Let there be a firmament in the midst of the waters,
    and let it divide the waters from the waters.

    1:7 And God made the firmament, and divided the waters which were
    under the firmament from the waters which were above the firmament:
    and it was so.

    1:8 And God called the firmament Heaven. And the evening and the
    morning were the second day.

    1:9 And God said, Let the waters under the heaven be gathered together
    unto one place, and let the dry land appear: and it was so.

    1:10 And God called the dry land Earth; and the gathering together of
    the waters called he Seas: and God saw that it was good.

    1:11 And God said, Let the earth bring forth grass, the herb yielding
    seed, and the fruit tree yielding fruit after his kind, whose seed is
    in itself, upon the earth: and it was so.

    1:12 And the earth brought forth grass, and herb yielding seed after
    his kind, and the tree yielding fruit, whose seed was in itself, after
    his kind: and God saw that it was good.

    1:13 And the evening and the morning were the third day.

    1:14 And God said, Let there be lights in the firmament of the heaven
    to divide the day from the night; and let them be for signs, and for
    seasons, and for days, and years: 1:15 And let them be for lights in
    the firmament of the heaven to give light upon the earth: and it was
    so.

    1:16 And God made two great lights; the greater light to rule the day,
    and the lesser light to rule the night: he made the stars also.

    1:17 And God set them in the firmament of the heaven to give light
    upon the earth, 1:18 And to rule over the day and over the night, and
    to divide the light from the darkness: and God saw that it was good.

    1:19 And the evening and the morning were the fourth day.

    1:20 And God said, Let the waters bring forth abundantly the moving
    creature that hath life, and fowl that may fly above the earth in the
    open firmament of heaven.

    1:21 And God created great whales, and every living creature that
    moveth, which the waters brought forth abundantly, after their kind,
    and every winged fowl after his kind: and God saw that it was good.

    1:22 And God blessed them, saying, Be fruitful, and multiply, and fill
    the waters in the seas, and let fowl multiply in the earth.

    1:23 And the evening and the morning were the fifth day.

    1:24 And God said, Let the earth bring forth the living creature after
    his kind, cattle, and creeping thing, and beast of the earth after his
    kind: and it was so.

    1:25 And God made the beast of the earth after his kind, and cattle
    after their kind, and every thing that creepeth upon the earth after
    his kind: and God saw that it was good.

    1:26 And God said, Let us make man in our image, after our likeness:
    and let them have dominion over the fish of the sea, and over the fowl
    of the air, and over the cattle, and over all the earth, and over
    every creeping thing that creepeth upon the earth.

    1:27 So God created man in his own image, in the image of God created
    he him; male and female created he them.

    1:28 And God blessed them, and God said unto them, Be fruitful, and
    multiply, and replenish the earth, and subdue it: and have dominion
    over the fish of the sea, and over the fowl of the air, and over every
    living thing that moveth upon the earth.

    1:29 And God said, Behold, I have given you every herb bearing seed,
    which is upon the face of all the earth, and every tree, in the which
    is the fruit of a tree yielding seed; to you it shall be for meat.

    1:30 And to every beast of the earth, and to every fowl of the air,
    and to every thing that creepeth upon the earth, wherein there is
    life, I have given every green herb for meat: and it was so.

    1:31 And God saw every thing that he had made, and, behold, it was
    very good. And the evening and the morning were the sixth day.

    2:1 Thus the heavens and the earth were finished, and all the host of
    them.

    2:2 And on the seventh day God ended his work which he had made; and
    he rested on the seventh day from all his work which he had made.

    2:3 And God blessed the seventh day, and sanctified it: because that
    in it he had rested from all his work which God created and made.

    2:4 These are the generations of the heavens and of the earth when
    they were created, in the day that the LORD God made the earth and the
    heavens, 2:5 And every plant of the field before it was in the earth,
    and every herb of the field before it grew: for the LORD God had not
    caused it to rain upon the earth, and there was not a man to till the
    ground.

    2:6 But there went up a mist from the earth, and watered the whole
    face of the ground.

    2:7 And the LORD God formed man of the dust of the ground, and
    breathed into his nostrils the breath of life; and man became a living
    soul.

    2:8 And the LORD God planted a garden eastward in Eden; and there he
    put the man whom he had formed.

    2:9 And out of the ground made the LORD God to grow every tree that is
    pleasant to the sight, and good for food; the tree of life also in the
    midst of the garden, and the tree of knowledge of good and evil.

    2:10 And a river went out of Eden to water the garden; and from thence
    it was parted, and became into four heads.

    2:11 The name of the first is Pison: that is it which compasseth the
    whole land of Havilah, where there is gold; 2:12 And the gold of that
    land is good: there is bdellium and the onyx stone.

    2:13 And the name of the second river is Gihon: the same is it that
    compasseth the whole land of Ethiopia.

    2:14 And the name of the third river is Hiddekel: that is it which
    goeth toward the east of Assyria. And the fourth river is Euphrates.

    2:15 And the LORD God took the man, and put him into the garden of
    Eden to dress it and to keep it.

    2:16 And the LORD God commanded the man, saying, Of every tree of the
    garden thou mayest freely eat: 2:17 But of the tree of the knowledge
    of good and evil, thou shalt not eat of it: for in the day that thou
    eatest thereof thou shalt surely die.

    2:18 And the LORD God said, It is not good that the man should be
    alone; I will make him an help meet for him.

    2:19 And out of the ground the LORD God formed every beast of the
    field, and every fowl of the air; and brought them unto Adam to see
    what he would call them: and whatsoever Adam called every living
    creature, that was the name thereof.

    2:20 And Adam gave names to all cattle, and to the fowl of the air,
    and to every beast of the field; but for Adam there was not found an
    help meet for him.

    2:21 And the LORD God caused a deep sleep to fall upon Adam, and he
    slept: and he took one of his ribs, and closed up the flesh instead
    thereof; 2:22 And the rib, which the LORD God had taken from man, made
    he a woman, and brought her unto the man.

    2:23 And Adam said, This is now bone of my bones, and flesh of my
    flesh: she shall be called Woman, because she was taken out of Man.

    2:24 Therefore shall a man leave his father and his mother, and shall
    cleave unto his wife: and they shall be one flesh.

    2:25 And they were both naked, the man and his wife, and were not
    ashamed.

    3:1 Now the serpent was more subtil than any beast of the field which
    the LORD God had made. And he said unto the woman, Yea, hath God said,
    Ye shall not eat of every tree of the garden? 3:2 And the woman said
    unto the serpent, We may eat of the fruit of the trees of the garden:
    3:3 But of the fruit of the tree which is in the midst of the garden,
    God hath said, Ye shall not eat of it, neither shall ye touch it, lest
    ye die.

    3:4 And the serpent said unto the woman, Ye shall not surely die: 3:5
    For God doth know that in the day ye eat thereof, then your eyes shall
    be opened, and ye shall be as gods, knowing good and evil.

    3:6 And when the woman saw that the tree was good for food, and that
    it was pleasant to the eyes, and a tree to be desired to make one
    wise, she took of the fruit thereof, and did eat, and gave also unto
    her husband with her; and he did eat.

    3:7 And the eyes of them both were opened, and they knew that they
    were naked; and they sewed fig leaves together, and made themselves
    aprons.

    3:8 And they heard the voice of the LORD God walking in the garden in
    the cool of the day: and Adam and his wife hid themselves from the
    presence of the LORD God amongst the trees of the garden.

    3:9 And the LORD God called unto Adam, and said unto him, Where art
    thou? 3:10 And he said, I heard thy voice in the garden, and I was
    afraid, because I was naked; and I hid myself.

    3:11 And he said, Who told thee that thou wast naked? Hast thou eaten
    of the tree, whereof I commanded thee that thou shouldest not eat?
    3:12 And the man said, The woman whom thou gavest to be with me, she
    gave me of the tree, and I did eat.

    3:13 And the LORD God said unto the woman, What is this that thou hast
    done? And the woman said, The serpent beguiled me, and I did eat.

    3:14 And the LORD God said unto the serpent, Because thou hast done
    this, thou art cursed above all cattle, and above every beast of the
    field; upon thy belly shalt thou go, and dust shalt thou eat all the
    days of thy life: 3:15 And I will put enmity between thee and the
    woman, and between thy seed and her seed; it shall bruise thy head,
    and thou shalt bruise his heel.

    3:16 Unto the woman he said, I will greatly multiply thy sorrow and
    thy conception; in sorrow thou shalt bring forth children; and thy
    desire shall be to thy husband, and he shall rule over thee.

    3:17 And unto Adam he said, Because thou hast hearkened unto the voice
    of thy wife, and hast eaten of the tree, of which I commanded thee,
    saying, Thou shalt not eat of it: cursed is the ground for thy sake;
    in sorrow shalt thou eat of it all the days of thy life; 3:18 Thorns
    also and thistles shall it bring forth to thee; and thou shalt eat the
    herb of the field; 3:19 In the sweat of thy face shalt thou eat bread,
    till thou return unto the ground; for out of it wast thou taken: for
    dust thou art, and unto dust shalt thou return.

    3:20 And Adam called his wife’s name Eve; because she was the mother
    of all living.

    3:21 Unto Adam also and to his wife did the LORD God make coats of
    skins, and clothed them.

    3:22 And the LORD God said, Behold, the man is become as one of us, to
    know good and evil: and now, lest he put forth his hand, and take also
    of the tree of life, and eat, and live for ever: 3:23 Therefore the
    LORD God sent him forth from the garden of Eden, to till the ground
    from whence he was taken.

    3:24 So he drove out the man; and he placed at the east of the garden
    of Eden Cherubims, and a flaming sword which turned every way, to keep
    the way of the tree of life.

    4:1 And Adam knew Eve his wife; and she conceived, and bare Cain, and
    said, I have gotten a man from the LORD.

    4:2 And she again bare his brother Abel. And Abel was a keeper of
    sheep, but Cain was a tiller of the ground.

    4:3 And in process of time it came to pass, that Cain brought of the
    fruit of the ground an offering unto the LORD.

    4:4 And Abel, he also brought of the firstlings of his flock and of
    the fat thereof. And the LORD had respect unto Abel and to his
    offering: 4:5 But unto Cain and to his offering he had not respect.
    And Cain was very wroth, and his countenance fell.

    4:6 And the LORD said unto Cain, Why art thou wroth? and why is thy
    countenance fallen? 4:7 If thou doest well, shalt thou not be
    accepted? and if thou doest not well, sin lieth at the door. And unto
    thee shall be his desire, and thou shalt rule over him.

    4:8 And Cain talked with Abel his brother: and it came to pass, when
    they were in the field, that Cain rose up against Abel his brother,
    and slew him.

    4:9 And the LORD said unto Cain, Where is Abel thy brother? And he
    said, I know not: Am I my brother’s keeper? 4:10 And he said, What
    hast thou done? the voice of thy brother’s blood crieth unto me from
    the ground.

    4:11 And now art thou cursed from the earth, which hath opened her
    mouth to receive thy brother’s blood from thy hand; 4:12 When thou
    tillest the ground, it shall not henceforth yield unto thee her
    strength; a fugitive and a vagabond shalt thou be in the earth.

    4:13 And Cain said unto the LORD, My punishment is greater than I can
    bear.

    4:14 Behold, thou hast driven me out this day from the face of the
    earth; and from thy face shall I be hid; and I shall be a fugitive and
    a vagabond in the earth; and it shall come to pass, that every one
    that findeth me shall slay me.

    4:15 And the LORD said unto him, Therefore whosoever slayeth Cain,
    vengeance shall be taken on him sevenfold. And the LORD set a mark
    upon Cain, lest any finding him should kill him.

    4:16 And Cain went out from the presence of the LORD, and dwelt in the
    land of Nod, on the east of Eden.

    4:17 And Cain knew his wife; and she conceived, and bare Enoch: and he
    builded a city, and called the name of the city, after the name of his
    son, Enoch.

    4:18 And unto Enoch was born Irad: and Irad begat Mehujael: and
    Mehujael begat Methusael: and Methusael begat Lamech.

    4:19 And Lamech took unto him two wives: the name of the one was Adah,
    and the name of the other Zillah.

    4:20 And Adah bare Jabal: he was the father of such as dwell in tents,
    and of such as have cattle.

    4:21 And his brother’s name was Jubal: he was the father of all such
    as handle the harp and organ.

    4:22 And Zillah, she also bare Tubalcain, an instructer of every
    artificer in brass and iron: and the sister of Tubalcain was Naamah.

    4:23 And Lamech said unto his wives, Adah and Zillah, Hear my voice;
    ye wives of Lamech, hearken unto my speech: for I have slain a man to
    my wounding, and a young man to my hurt.

    4:24 If Cain shall be avenged sevenfold, truly Lamech seventy and
    sevenfold.

    4:25 And Adam knew his wife again; and she bare a son, and called his
    name Seth: For God, said she, hath appointed me another seed instead
    of Abel, whom Cain slew.

    4:26 And to Seth, to him also there was born a son; and he called his
    name Enos: then began men to call upon the name of the LORD.

    5:1 This is the book of the generations of Adam. In the day that God
    created man, in the likeness of God made he him; 5:2 Male and female
    created he them; and blessed them, and called their name Adam, in the
    day when they were created.

    5:3 And Adam lived an hundred and thirty years, and begat a son in his
    own likeness, and after his image; and called his name Seth: 5:4 And
    the days of Adam after he had begotten Seth were eight hundred years:
    and he begat sons and daughters: 5:5 And all the days that Adam lived
    were nine hundred and thirty years: and he died.

    5:6 And Seth lived an hundred and five years, and begat Enos: 5:7 And
    Seth lived after he begat Enos eight hundred and seven years, and
    begat sons and daughters: 5:8 And all the days of Seth were nine
    hundred and twelve years: and he died.

    5:9 And Enos lived ninety years, and begat Cainan: 5:10 And Enos lived
    after he begat Cainan eight hundred and fifteen years, and begat sons
    and daughters: 5:11 And all the days of Enos were nine hundred and
    five years: and he died.

    5:12 And Cainan lived seventy years and begat Mahalaleel: 5:13 And
    Cainan lived after he begat Mahalaleel eight hundred and forty years,
    and begat sons and daughters: 5:14 And all the days of Cainan were
    nine hundred and ten years: and he died.

    5:15 And Mahalaleel lived sixty and five years, and begat Jared: 5:16
    And Mahalaleel lived after he begat Jared eight hundred and thirty
    years, and begat sons and daughters: 5:17 And all the days of
    Mahalaleel were eight hundred ninety and five years: and he died.

    5:18 And Jared lived an hundred sixty and two years, and he begat
    Enoch: 5:19 And Jared lived after he begat Enoch eight hundred years,
    and begat sons and daughters: 5:20 And all the days of Jared were nine
    hundred sixty and two years: and he died.

    5:21 And Enoch lived sixty and five years, and begat Methuselah: 5:22
    And Enoch walked with God after he begat Methuselah three hundred
    years, and begat sons and daughters: 5:23 And all the days of Enoch
    were three hundred sixty and five years: 5:24 And Enoch walked with
    God: and he was not; for God took him.

    5:25 And Methuselah lived an hundred eighty and seven years, and begat
    Lamech.

    5:26 And Methuselah lived after he begat Lamech seven hundred eighty
    and two years, and begat sons and daughters: 5:27 And all the days of
    Methuselah were nine hundred sixty and nine years: and he died.

    5:28 And Lamech lived an hundred eighty and two years, and begat a
    son: 5:29 And he called his name Noah, saying, This same shall comfort
    us concerning our work and toil of our hands, because of the ground
    which the LORD hath cursed.

    5:30 And Lamech lived after he begat Noah five hundred ninety and five
    years, and begat sons and daughters: 5:31 And all the days of Lamech
    were seven hundred seventy and seven years: and he died.

    5:32 And Noah was five hundred years old: and Noah begat Shem, Ham,
    and Japheth.

    6:1 And it came to pass, when men began to multiply on the face of the
    earth, and daughters were born unto them, 6:2 That the sons of God saw
    the daughters of men that they were fair; and they took them wives of
    all which they chose.

    6:3 And the LORD said, My spirit shall not always strive with man, for
    that he also is flesh: yet his days shall be an hundred and twenty
    years.

    6:4 There were giants in the earth in those days; and also after that,
    when the sons of God came in unto the daughters of men, and they bare
    children to them, the same became mighty men which were of old, men of
    renown.

    6:5 And God saw that the wickedness of man was great in the earth, and
    that every imagination of the thoughts of his heart was only evil
    continually.

    6:6 And it repented the LORD that he had made man on the earth, and it
    grieved him at his heart.

    6:7 And the LORD said, I will destroy man whom I have created from the
    face of the earth; both man, and beast, and the creeping thing, and
    the fowls of the air; for it repenteth me that I have made them.

    6:8 But Noah found grace in the eyes of the LORD.

    6:9 These are the generations of Noah: Noah was a just man and perfect
    in his generations, and Noah walked with God.

    6:10 And Noah begat three sons, Shem, Ham, and Japheth.

    6:11 The earth also was corrupt before God, and the earth was filled
    with violence.

    6:12 And God looked upon the earth, and, behold, it was corrupt; for
    all flesh had corrupted his way upon the earth.

    6:13 And God said unto Noah, The end of all flesh is come before me;
    for the earth is filled with violence through them; and, behold, I
    will destroy them with the earth.

    6:14 Make thee an ark of gopher wood; rooms shalt thou make in the
    ark, and shalt pitch it within and without with pitch.

    6:15 And this is the fashion which thou shalt make it of: The length
    of the ark shall be three hundred cubits, the breadth of it fifty
    cubits, and the height of it thirty cubits.

    6:16 A window shalt thou make to the ark, and in a cubit shalt thou
    finish it above; and the door of the ark shalt thou set in the side
    thereof; with lower, second, and third stories shalt thou make it.

    6:17 And, behold, I, even I, do bring a flood of waters upon the
    earth, to destroy all flesh, wherein is the breath of life, from under
    heaven; and every thing that is in the earth shall die.

    6:18 But with thee will I establish my covenant; and thou shalt come
    into the ark, thou, and thy sons, and thy wife, and thy sons’ wives
    with thee.

    6:19 And of every living thing of all flesh, two of every sort shalt
    thou bring into the ark, to keep them alive with thee; they shall be
    male and female.

    6:20 Of fowls after their kind, and of cattle after their kind, of
    every creeping thing of the earth after his kind, two of every sort
    shall come unto thee, to keep them alive.

    6:21 And take thou unto thee of all food that is eaten, and thou shalt
    gather it to thee; and it shall be for food for thee, and for them.

    6:22 Thus did Noah; according to all that God commanded him, so did
    he.

    7:1 And the LORD said unto Noah, Come thou and all thy house into the
    ark; for thee have I seen righteous before me in this generation.

    7:2 Of every clean beast thou shalt take to thee by sevens, the male
    and his female: and of beasts that are not clean by two, the male and
    his female.

    7:3 Of fowls also of the air by sevens, the male and the female; to
    keep seed alive upon the face of all the earth.

    7:4 For yet seven days, and I will cause it to rain upon the earth
    forty days and forty nights; and every living substance that I have
    made will I destroy from off the face of the earth.

    7:5 And Noah did according unto all that the LORD commanded him.

    7:6 And Noah was six hundred years old when the flood of waters was
    upon the earth.

    7:7 And Noah went in, and his sons, and his wife, and his sons’ wives
    with him, into the ark, because of the waters of the flood.

    7:8 Of clean beasts, and of beasts that are not clean, and of fowls,
    and of every thing that creepeth upon the earth, 7:9 There went in two
    and two unto Noah into the ark, the male and the female, as God had
    commanded Noah.

    7:10 And it came to pass after seven days, that the waters of the
    flood were upon the earth.

    7:11 In the six hundredth year of Noah’s life, in the second month,
    the seventeenth day of the month, the same day were all the fountains
    of the great deep broken up, and the windows of heaven were opened.

    7:12 And the rain was upon the earth forty days and forty nights.

    7:13 In the selfsame day entered Noah, and Shem, and Ham, and Japheth,
    the sons of Noah, and Noah’s wife, and the three wives of his sons
    with them, into the ark; 7:14 They, and every beast after his kind,
    and all the cattle after their kind, and every creeping thing that
    creepeth upon the earth after his kind, and every fowl after his kind,
    every bird of every sort.

    7:15 And they went in unto Noah into the ark, two and two of all
    flesh, wherein is the breath of life.

    7:16 And they that went in, went in male and female of all flesh, as
    God had commanded him: and the LORD shut him in.

    7:17 And the flood was forty days upon the earth; and the waters
    increased, and bare up the ark, and it was lift up above the earth.

    7:18 And the waters prevailed, and were increased greatly upon the
    earth; and the ark went upon the face of the waters.

    7:19 And the waters prevailed exceedingly upon the earth; and all the
    high hills, that were under the whole heaven, were covered.

    7:20 Fifteen cubits upward did the waters prevail; and the mountains
    were covered.

    7:21 And all flesh died that moved upon the earth, both of fowl, and
    of cattle, and of beast, and of every creeping thing that creepeth
    upon the earth, and every man: 7:22 All in whose nostrils was the
    breath of life, of all that was in the dry land, died.

    7:23 And every living substance was destroyed which was upon the face
    of the ground, both man, and cattle, and the creeping things, and the
    fowl of the heaven; and they were destroyed from the earth: and Noah
    only remained alive, and they that were with him in the ark.

    7:24 And the waters prevailed upon the earth an hundred and fifty
    days.

    8:1 And God remembered Noah, and every living thing, and all the
    cattle that was with him in the ark: and God made a wind to pass over
    the earth, and the waters asswaged; 8:2 The fountains also of the deep
    and the windows of heaven were stopped, and the rain from heaven was
    restrained; 8:3 And the waters returned from off the earth
    continually: and after the end of the hundred and fifty days the
    waters were abated.

    8:4 And the ark rested in the seventh month, on the seventeenth day of
    the month, upon the mountains of Ararat.

    8:5 And the waters decreased continually until the tenth month: in the
    tenth month, on the first day of the month, were the tops of the
    mountains seen.

    8:6 And it came to pass at the end of forty days, that Noah opened the
    window of the ark which he had made: 8:7 And he sent forth a raven,
    which went forth to and fro, until the waters were dried up from off
    the earth.

    8:8 Also he sent forth a dove from him, to see if the waters were
    abated from off the face of the ground; 8:9 But the dove found no rest
    for the sole of her foot, and she returned unto him into the ark, for
    the waters were on the face of the whole earth: then he put forth his
    hand, and took her, and pulled her in unto him into the ark.

    8:10 And he stayed yet other seven days; and again he sent forth the
    dove out of the ark; 8:11 And the dove came in to him in the evening;
    and, lo, in her mouth was an olive leaf pluckt off: so Noah knew that
    the waters were abated from off the earth.

    8:12 And he stayed yet other seven days; and sent forth the dove;
    which returned not again unto him any more.

    8:13 And it came to pass in the six hundredth and first year, in the
    first month, the first day of the month, the waters were dried up from
    off the earth: and Noah removed the covering of the ark, and looked,
    and, behold, the face of the ground was dry.

    8:14 And in the second month, on the seven and twentieth day of the
    month, was the earth dried.

    8:15 And God spake unto Noah, saying, 8:16 Go forth of the ark, thou,
    and thy wife, and thy sons, and thy sons’ wives with thee.

    8:17 Bring forth with thee every living thing that is with thee, of
    all flesh, both of fowl, and of cattle, and of every creeping thing
    that creepeth upon the earth; that they may breed abundantly in the
    earth, and be fruitful, and multiply upon the earth.

    8:18 And Noah went forth, and his sons, and his wife, and his sons’
    wives with him: 8:19 Every beast, every creeping thing, and every
    fowl, and whatsoever creepeth upon the earth, after their kinds, went
    forth out of the ark.

    8:20 And Noah builded an altar unto the LORD; and took of every clean
    beast, and of every clean fowl, and offered burnt offerings on the
    altar.

    8:21 And the LORD smelled a sweet savour; and the LORD said in his
    heart, I will not again curse the ground any more for man’s sake; for
    the imagination of man’s heart is evil from his youth; neither will I
    again smite any more every thing living, as I have done.

    8:22 While the earth remaineth, seedtime and harvest, and cold and
    heat, and summer and winter, and day and night shall not cease.

    9:1 And God blessed Noah and his sons, and said unto them, Be
    fruitful, and multiply, and replenish the earth.

    9:2 And the fear of you and the dread of you shall be upon every beast
    of the earth, and upon every fowl of the air, upon all that moveth
    upon the earth, and upon all the fishes of the sea; into your hand are
    they delivered.

    9:3 Every moving thing that liveth shall be meat for you; even as the
    green herb have I given you all things.

    9:4 But flesh with the life thereof, which is the blood thereof, shall
    ye not eat.

    9:5 And surely your blood of your lives will I require; at the hand of
    every beast will I require it, and at the hand of man; at the hand of
    every man’s brother will I require the life of man.

    9:6 Whoso sheddeth man’s blood, by man shall his blood be shed: for in
    the image of God made he man.

    9:7 And you, be ye fruitful, and multiply; bring forth abundantly in
    the earth, and multiply therein.

    9:8 And God spake unto Noah, and to his sons with him, saying, 9:9 And
    I, behold, I establish my covenant with you, and with your seed after
    you; 9:10 And with every living creature that is with you, of the
    fowl, of the cattle, and of every beast of the earth with you; from
    all that go out of the ark, to every beast of the earth.

    9:11 And I will establish my covenant with you, neither shall all
    flesh be cut off any more by the waters of a flood; neither shall
    there any more be a flood to destroy the earth.

    9:12 And God said, This is the token of the covenant which I make
    between me and you and every living creature that is with you, for
    perpetual generations: 9:13 I do set my bow in the cloud, and it shall
    be for a token of a covenant between me and the earth.

    9:14 And it shall come to pass, when I bring a cloud over the earth,
    that the bow shall be seen in the cloud: 9:15 And I will remember my
    covenant, which is between me and you and every living creature of all
    flesh; and the waters shall no more become a flood to destroy all
    flesh.

    9:16 And the bow shall be in the cloud; and I will look upon it, that
    I may remember the everlasting covenant between God and every living
    creature of all flesh that is upon the earth.

    9:17 And God said unto Noah, This is the token of the covenant, which
    I have established between me and all flesh that is upon the earth.

    9:18 And the sons of Noah, that went forth of the ark, were Shem, and
    Ham, and Japheth: and Ham is the father of Canaan.

    9:19 These are the three sons of Noah: and of them was the whole earth
    overspread.

    9:20 And Noah began to be an husbandman, and he planted a vineyard:
    9:21 And he drank of the wine, and was drunken; and he was uncovered
    within his tent.

    9:22 And Ham, the father of Canaan, saw the nakedness of his father,
    and told his two brethren without.

    9:23 And Shem and Japheth took a garment, and laid it upon both their
    shoulders, and went backward, and covered the nakedness of their
    father; and their faces were backward, and they saw not their father’s
    nakedness.

    9:24 And Noah awoke from his wine, and knew what his younger son had
    done unto him.

    9:25 And he said, Cursed be Canaan; a servant of servants shall he be
    unto his brethren.

    9:26 And he said, Blessed be the LORD God of Shem; and Canaan shall be
    his servant.

    9:27 God shall enlarge Japheth, and he shall dwell in the tents of
    Shem; and Canaan shall be his servant.

    9:28 And Noah lived after the flood three hundred and fifty years.

    9:29 And all the days of Noah were nine hundred and fifty years: and
    he died.

    10:1 Now these are the generations of the sons of Noah, Shem, Ham, and
    Japheth: and unto them were sons born after the flood.

    10:2 The sons of Japheth; Gomer, and Magog, and Madai, and Javan, and
    Tubal, and Meshech, and Tiras.

    10:3 And the sons of Gomer; Ashkenaz, and Riphath, and Togarmah.

    10:4 And the sons of Javan; Elishah, and Tarshish, Kittim, and
    Dodanim.

    10:5 By these were the isles of the Gentiles divided in their lands;
    every one after his tongue, after their families, in their nations.

    10:6 And the sons of Ham; Cush, and Mizraim, and Phut, and Canaan.

    10:7 And the sons of Cush; Seba, and Havilah, and Sabtah, and Raamah,
    and Sabtechah: and the sons of Raamah; Sheba, and Dedan.

    10:8 And Cush begat Nimrod: he began to be a mighty one in the earth.

    10:9 He was a mighty hunter before the LORD: wherefore it is said,
    Even as Nimrod the mighty hunter before the LORD.

    10:10 And the beginning of his kingdom was Babel, and Erech, and
    Accad, and Calneh, in the land of Shinar.

    10:11 Out of that land went forth Asshur, and builded Nineveh, and the
    city Rehoboth, and Calah, 10:12 And Resen between Nineveh and Calah:
    the same is a great city.

    10:13 And Mizraim begat Ludim, and Anamim, and Lehabim, and Naphtuhim,
    10:14 And Pathrusim, and Casluhim, (out of whom came Philistim,) and
    Caphtorim.

    10:15 And Canaan begat Sidon his first born, and Heth, 10:16 And the
    Jebusite, and the Amorite, and the Girgasite, 10:17 And the Hivite,
    and the Arkite, and the Sinite, 10:18 And the Arvadite, and the
    Zemarite, and the Hamathite: and afterward were the families of the
    Canaanites spread abroad.

    10:19 And the border of the Canaanites was from Sidon, as thou comest
    to Gerar, unto Gaza; as thou goest, unto Sodom, and Gomorrah, and
    Admah, and Zeboim, even unto Lasha.

    10:20 These are the sons of Ham, after their families, after their
    tongues, in their countries, and in their nations.

    10:21 Unto Shem also, the father of all the children of Eber, the
    brother of Japheth the elder, even to him were children born.

    10:22 The children of Shem; Elam, and Asshur, and Arphaxad, and Lud,
    and Aram.

    10:23 And the children of Aram; Uz, and Hul, and Gether, and Mash.

    10:24 And Arphaxad begat Salah; and Salah begat Eber.

    10:25 And unto Eber were born two sons: the name of one was Peleg; for
    in his days was the earth divided; and his brother’s name was Joktan.

    10:26 And Joktan begat Almodad, and Sheleph, and Hazarmaveth, and
    Jerah, 10:27 And Hadoram, and Uzal, and Diklah, 10:28 And Obal, and
    Abimael, and Sheba, 10:29 And Ophir, and Havilah, and Jobab: all these
    were the sons of Joktan.

    10:30 And their dwelling was from Mesha, as thou goest unto Sephar a
    mount of the east.

    10:31 These are the sons of Shem, after their families, after their
    tongues, in their lands, after their nations.

    10:32 These are the families of the sons of Noah, after their
    generations, in their nations: and by these were the nations divided
    in the earth after the flood.

    11:1 And the whole earth was of one language, and of one speech.

    11:2 And it came to pass, as they journeyed from the east, that they
    found a plain in the land of Shinar; and they dwelt there.

    11:3 And they said one to another, Go to, let us make brick, and burn
    them thoroughly. And they had brick for stone, and slime had they for
    morter.

    11:4 And they said, Go to, let us build us a city and a tower, whose
    top may reach unto heaven; and let us make us a name, lest we be
    scattered abroad upon the face of the whole earth.

    11:5 And the LORD came down to see the city and the tower, which the
    children of men builded.

    11:6 And the LORD said, Behold, the people is one, and they have all
    one language; and this they begin to do: and now nothing will be
    restrained from them, which they have imagined to do.

    11:7 Go to, let us go down, and there confound their language, that
    they may not understand one another’s speech.

    11:8 So the LORD scattered them abroad from thence upon the face of
    all the earth: and they left off to build the city.

    11:9 Therefore is the name of it called Babel; because the LORD did
    there confound the language of all the earth: and from thence did the
    LORD scatter them abroad upon the face of all the earth.

    11:10 These are the generations of Shem: Shem was an hundred years
    old, and begat Arphaxad two years after the flood: 11:11 And Shem
    lived after he begat Arphaxad five hundred years, and begat sons and
    daughters.

    11:12 And Arphaxad lived five and thirty years, and begat Salah: 11:13
    And Arphaxad lived after he begat Salah four hundred and three years,
    and begat sons and daughters.

    11:14 And Salah lived thirty years, and begat Eber: 11:15 And Salah
    lived after he begat Eber four hundred and three years, and begat sons
    and daughters.

    11:16 And Eber lived four and thirty years, and begat Peleg: 11:17 And
    Eber lived after he begat Peleg four hundred and thirty years, and
    begat sons and daughters.

    11:18 And Peleg lived thirty years, and begat Reu: 11:19 And Peleg
    lived after he begat Reu two hundred and nine years, and begat sons
    and daughters.

    11:20 And Reu lived two and thirty years, and begat Serug: 11:21 And
    Reu lived after he begat Serug two hundred and seven years, and begat
    sons and daughters.

    11:22 And Serug lived thirty years, and begat Nahor: 11:23 And Serug
    lived after he begat Nahor two hundred years, and begat sons and
    daughters.

    11:24 And Nahor lived nine and twenty years, and begat Terah: 11:25
    And Nahor lived after he begat Terah an hundred and nineteen years,
    and begat sons and daughters.

    11:26 And Terah lived seventy years, and begat Abram, Nahor, and
    Haran.

    11:27 Now these are the generations of Terah: Terah begat Abram,
    Nahor, and Haran; and Haran begat Lot.

    11:28 And Haran died before his father Terah in the land of his
    nativity, in Ur of the Chaldees.

    11:29 And Abram and Nahor took them wives: the name of Abram’s wife
    was Sarai; and the name of Nahor’s wife, Milcah, the daughter of
    Haran, the father of Milcah, and the father of Iscah.

    11:30 But Sarai was barren; she had no child.

    11:31 And Terah took Abram his son, and Lot the son of Haran his son’s
    son, and Sarai his daughter in law, his son Abram’s wife; and they
    went forth with them from Ur of the Chaldees, to go into the land of
    Canaan; and they came unto Haran, and dwelt there.

    11:32 And the days of Terah were two hundred and five years: and Terah
    died in Haran.

    12:1 Now the LORD had said unto Abram, Get thee out of thy country,
    and from thy kindred, and from thy father’s house, unto a land that I
    will shew thee: 12:2 And I will make of thee a great nation, and I
    will bless thee, and make thy name great; and thou shalt be a
    blessing: 12:3 And I will bless them that bless thee, and curse him
    that curseth thee: and in thee shall all families of the earth be
    blessed.

    12:4 So Abram departed, as the LORD had spoken unto him; and Lot went
    with him: and Abram was seventy and five years old when he departed
    out of Haran.

    12:5 And Abram took Sarai his wife, and Lot his brother’s son, and all
    their substance that they had gathered, and the souls that they had
    gotten in Haran; and they went forth to go into the land of Canaan;
    and into the land of Canaan they came.

    12:6 And Abram passed through the land unto the place of Sichem, unto
    the plain of Moreh. And the Canaanite was then in the land.

    12:7 And the LORD appeared unto Abram, and said, Unto thy seed will I
    give this land: and there builded he an altar unto the LORD, who
    appeared unto him.

    12:8 And he removed from thence unto a mountain on the east of Bethel,
    and pitched his tent, having Bethel on the west, and Hai on the east:
    and there he builded an altar unto the LORD, and called upon the name
    of the LORD.

    12:9 And Abram journeyed, going on still toward the south.

    12:10 And there was a famine in the land: and Abram went down into
    Egypt to sojourn there; for the famine was grievous in the land.

    12:11 And it came to pass, when he was come near to enter into Egypt,
    that he said unto Sarai his wife, Behold now, I know that thou art a
    fair woman to look upon: 12:12 Therefore it shall come to pass, when
    the Egyptians shall see thee, that they shall say, This is his wife:
    and they will kill me, but they will save thee alive.

    12:13 Say, I pray thee, thou art my sister: that it may be well with
    me for thy sake; and my soul shall live because of thee.

    12:14 And it came to pass, that, when Abram was come into Egypt, the
    Egyptians beheld the woman that she was very fair.

    12:15 The princes also of Pharaoh saw her, and commended her before
    Pharaoh: and the woman was taken into Pharaoh’s house.

    12:16 And he entreated Abram well for her sake: and he had sheep, and
    oxen, and he asses, and menservants, and maidservants, and she asses,
    and camels.

    12:17 And the LORD plagued Pharaoh and his house with great plagues
    because of Sarai Abram’s wife.

    12:18 And Pharaoh called Abram and said, What is this that thou hast
    done unto me? why didst thou not tell me that she was thy wife? 12:19
    Why saidst thou, She is my sister? so I might have taken her to me to
    wife: now therefore behold thy wife, take her, and go thy way.

    12:20 And Pharaoh commanded his men concerning him: and they sent him
    away, and his wife, and all that he had.

    13:1 And Abram went up out of Egypt, he, and his wife, and all that he
    had, and Lot with him, into the south.

    13:2 And Abram was very rich in cattle, in silver, and in gold.

    13:3 And he went on his journeys from the south even to Bethel, unto
    the place where his tent had been at the beginning, between Bethel and
    Hai; 13:4 Unto the place of the altar, which he had made there at the
    first: and there Abram called on the name of the LORD.

    13:5 And Lot also, which went with Abram, had flocks, and herds, and
    tents.

    13:6 And the land was not able to bear them, that they might dwell
    together: for their substance was great, so that they could not dwell
    together.

    13:7 And there was a strife between the herdmen of Abram’s cattle and
    the herdmen of Lot’s cattle: and the Canaanite and the Perizzite
    dwelled then in the land.

    13:8 And Abram said unto Lot, Let there be no strife, I pray thee,
    between me and thee, and between my herdmen and thy herdmen; for we be
    brethren.

    13:9 Is not the whole land before thee? separate thyself, I pray thee,
    from me: if thou wilt take the left hand, then I will go to the right;
    or if thou depart to the right hand, then I will go to the left.

    13:10 And Lot lifted up his eyes, and beheld all the plain of Jordan,
    that it was well watered every where, before the LORD destroyed Sodom
    and Gomorrah, even as the garden of the LORD, like the land of Egypt,
    as thou comest unto Zoar.

    13:11 Then Lot chose him all the plain of Jordan; and Lot journeyed
    east: and they separated themselves the one from the other.

    13:12 Abram dwelled in the land of Canaan, and Lot dwelled in the
    cities of the plain, and pitched his tent toward Sodom.

    13:13 But the men of Sodom were wicked and sinners before the LORD
    exceedingly.

    13:14 And the LORD said unto Abram, after that Lot was separated from
    him, Lift up now thine eyes, and look from the place where thou art
    northward, and southward, and eastward, and westward: 13:15 For all
    the land which thou seest, to thee will I give it, and to thy seed for
    ever.

    13:16 And I will make thy seed as the dust of the earth: so that if a
    man can number the dust of the earth, then shall thy seed also be
    numbered.

    13:17 Arise, walk through the land in the length of it and in the
    breadth of it; for I will give it unto thee.

    13:18 Then Abram removed his tent, and came and dwelt in the plain of
    Mamre, which is in Hebron, and built there an altar unto the LORD.

    14:1 And it came to pass in the days of Amraphel king of Shinar,
    Arioch king of Ellasar, Chedorlaomer king of Elam, and Tidal king of
    nations; 14:2 That these made war with Bera king of Sodom, and with
    Birsha king of Gomorrah, Shinab king of Admah, and Shemeber king of
    Zeboiim, and the king of Bela, which is Zoar.

    14:3 All these were joined together in the vale of Siddim, which is
    the salt sea.

    14:4 Twelve years they served Chedorlaomer, and in the thirteenth year
    they rebelled.

    14:5 And in the fourteenth year came Chedorlaomer, and the kings that
    were with him, and smote the Rephaims in Ashteroth Karnaim, and the
    Zuzims in Ham, and the Emins in Shaveh Kiriathaim, 14:6 And the
    Horites in their mount Seir, unto Elparan, which is by the wilderness.

    14:7 And they returned, and came to Enmishpat, which is Kadesh, and
    smote all the country of the Amalekites, and also the Amorites, that
    dwelt in Hazezontamar.

    14:8 And there went out the king of Sodom, and the king of Gomorrah,
    and the king of Admah, and the king of Zeboiim, and the king of Bela
    (the same is Zoar;) and they joined battle with them in the vale of
    Siddim; 14:9 With Chedorlaomer the king of Elam, and with Tidal king
    of nations, and Amraphel king of Shinar, and Arioch king of Ellasar;
    four kings with five.

    14:10 And the vale of Siddim was full of slimepits; and the kings of
    Sodom and Gomorrah fled, and fell there; and they that remained fled
    to the mountain.

    14:11 And they took all the goods of Sodom and Gomorrah, and all their
    victuals, and went their way.

    14:12 And they took Lot, Abram’s brother’s son, who dwelt in Sodom,
    and his goods, and departed.

    14:13 And there came one that had escaped, and told Abram the Hebrew;
    for he dwelt in the plain of Mamre the Amorite, brother of Eshcol, and
    brother of Aner: and these were confederate with Abram.

    14:14 And when Abram heard that his brother was taken captive, he
    armed his trained servants, born in his own house, three hundred and
    eighteen, and pursued them unto Dan.

    14:15 And he divided himself against them, he and his servants, by
    night, and smote them, and pursued them unto Hobah, which is on the
    left hand of Damascus.

    14:16 And he brought back all the goods, and also brought again his
    brother Lot, and his goods, and the women also, and the people.

    14:17 And the king of Sodom went out to meet him after his return from
    the slaughter of Chedorlaomer, and of the kings that were with him, at
    the valley of Shaveh, which is the king’s dale.

    14:18 And Melchizedek king of Salem brought forth bread and wine: and
    he was the priest of the most high God.

    14:19 And he blessed him, and said, Blessed be Abram of the most high
    God, possessor of heaven and earth: 14:20 And blessed be the most high
    God, which hath delivered thine enemies into thy hand. And he gave him
    tithes of all.

    14:21 And the king of Sodom said unto Abram, Give me the persons, and
    take the goods to thyself.

    14:22 And Abram said to the king of Sodom, I have lift up mine hand
    unto the LORD, the most high God, the possessor of heaven and earth,
    14:23 That I will not take from a thread even to a shoelatchet, and
    that I will not take any thing that is thine, lest thou shouldest say,
    I have made Abram rich: 14:24 Save only that which the young men have
    eaten, and the portion of the men which went with me, Aner, Eshcol,
    and Mamre; let them take their portion.

    15:1 After these things the word of the LORD came unto Abram in a
    vision, saying, Fear not, Abram: I am thy shield, and thy exceeding
    great reward.

    15:2 And Abram said, LORD God, what wilt thou give me, seeing I go
    childless, and the steward of my house is this Eliezer of Damascus?
    15:3 And Abram said, Behold, to me thou hast given no seed: and, lo,
    one born in my house is mine heir.

    15:4 And, behold, the word of the LORD came unto him, saying, This
    shall not be thine heir; but he that shall come forth out of thine own
    bowels shall be thine heir.

    15:5 And he brought him forth abroad, and said, Look now toward
    heaven, and tell the stars, if thou be able to number them: and he
    said unto him, So shall thy seed be.

    15:6 And he believed in the LORD; and he counted it to him for
    righteousness.

    15:7 And he said unto him, I am the LORD that brought thee out of Ur
    of the Chaldees, to give thee this land to inherit it.

    15:8 And he said, LORD God, whereby shall I know that I shall inherit
    it? 15:9 And he said unto him, Take me an heifer of three years old,
    and a she goat of three years old, and a ram of three years old, and a
    turtledove, and a young pigeon.

    15:10 And he took unto him all these, and divided them in the midst,
    and laid each piece one against another: but the birds divided he not.

    15:11 And when the fowls came down upon the carcases, Abram drove them
    away.

    15:12 And when the sun was going down, a deep sleep fell upon Abram;
    and, lo, an horror of great darkness fell upon him.

    15:13 And he said unto Abram, Know of a surety that thy seed shall be
    a stranger in a land that is not theirs, and shall serve them; and
    they shall afflict them four hundred years; 15:14 And also that
    nation, whom they shall serve, will I judge: and afterward shall they
    come out with great substance.

    15:15 And thou shalt go to thy fathers in peace; thou shalt be buried
    in a good old age.

    15:16 But in the fourth generation they shall come hither again: for
    the iniquity of the Amorites is not yet full.

    15:17 And it came to pass, that, when the sun went down, and it was
    dark, behold a smoking furnace, and a burning lamp that passed between
    those pieces.

    15:18 In the same day the LORD made a covenant with Abram, saying,
    Unto thy seed have I given this land, from the river of Egypt unto the
    great river, the river Euphrates: 15:19 The Kenites, and the
    Kenizzites, and the Kadmonites, 15:20 And the Hittites, and the
    Perizzites, and the Rephaims, 15:21 And the Amorites, and the
    Canaanites, and the Girgashites, and the Jebusites.

    16:1 Now Sarai Abram’s wife bare him no children: and she had an
    handmaid, an Egyptian, whose name was Hagar.

    16:2 And Sarai said unto Abram, Behold now, the LORD hath restrained
    me from bearing: I pray thee, go in unto my maid; it may be that I may
    obtain children by her. And Abram hearkened to the voice of Sarai.

    16:3 And Sarai Abram’s wife took Hagar her maid the Egyptian, after
    Abram had dwelt ten years in the land of Canaan, and gave her to her
    husband Abram to be his wife.

    16:4 And he went in unto Hagar, and she conceived: and when she saw
    that she had conceived, her mistress was despised in her eyes.

    16:5 And Sarai said unto Abram, My wrong be upon thee: I have given my
    maid into thy bosom; and when she saw that she had conceived, I was
    despised in her eyes: the LORD judge between me and thee.

    16:6 But Abram said unto Sarai, Behold, thy maid is in thine hand; do
    to her as it pleaseth thee. And when Sarai dealt hardly with her, she
    fled from her face.

    16:7 And the angel of the LORD found her by a fountain of water in the
    wilderness, by the fountain in the way to Shur.

    16:8 And he said, Hagar, Sarai’s maid, whence camest thou? and whither
    wilt thou go? And she said, I flee from the face of my mistress Sarai.

    16:9 And the angel of the LORD said unto her, Return to thy mistress,
    and submit thyself under her hands.

    16:10 And the angel of the LORD said unto her, I will multiply thy
    seed exceedingly, that it shall not be numbered for multitude.

    16:11 And the angel of the LORD said unto her, Behold, thou art with
    child and shalt bear a son, and shalt call his name Ishmael; because
    the LORD hath heard thy affliction.

    16:12 And he will be a wild man; his hand will be against every man,
    and every man’s hand against him; and he shall dwell in the presence
    of all his brethren.

    16:13 And she called the name of the LORD that spake unto her, Thou
    God seest me: for she said, Have I also here looked after him that
    seeth me? 16:14 Wherefore the well was called Beerlahairoi; behold,
    it is between Kadesh and Bered.

    16:15 And Hagar bare Abram a son: and Abram called his son’s name,
    which Hagar bare, Ishmael.

    16:16 And Abram was fourscore and six years old, when Hagar bare
    Ishmael to Abram.

    17:1 And when Abram was ninety years old and nine, the LORD appeared
    to Abram, and said unto him, I am the Almighty God; walk before me,
    and be thou perfect.

    17:2 And I will make my covenant between me and thee, and will
    multiply thee exceedingly.

    17:3 And Abram fell on his face: and God talked with him, saying, 17:4
    As for me, behold, my covenant is with thee, and thou shalt be a
    father of many nations.

    17:5 Neither shall thy name any more be called Abram, but thy name
    shall be Abraham; for a father of many nations have I made thee.

    17:6 And I will make thee exceeding fruitful, and I will make nations
    of thee, and kings shall come out of thee.

    17:7 And I will establish my covenant between me and thee and thy seed
    after thee in their generations for an everlasting covenant, to be a
    God unto thee, and to thy seed after thee.

    17:8 And I will give unto thee, and to thy seed after thee, the land
    wherein thou art a stranger, all the land of Canaan, for an
    everlasting possession; and I will be their God.

    17:9 And God said unto Abraham, Thou shalt keep my covenant therefore,
    thou, and thy seed after thee in their generations.

    17:10 This is my covenant, which ye shall keep, between me and you and
    thy seed after thee; Every man child among you shall be circumcised.

    17:11 And ye shall circumcise the flesh of your foreskin; and it shall
    be a token of the covenant betwixt me and you.

    17:12 And he that is eight days old shall be circumcised among you,
    every man child in your generations, he that is born in the house, or
    bought with money of any stranger, which is not of thy seed.

    17:13 He that is born in thy house, and he that is bought with thy
    money, must needs be circumcised: and my covenant shall be in your
    flesh for an everlasting covenant.

    17:14 And the uncircumcised man child whose flesh of his foreskin is
    not circumcised, that soul shall be cut off from his people; he hath
    broken my covenant.

    17:15 And God said unto Abraham, As for Sarai thy wife, thou shalt not
    call her name Sarai, but Sarah shall her name be.

    17:16 And I will bless her, and give thee a son also of her: yea, I
    will bless her, and she shall be a mother of nations; kings of people
    shall be of her.

    17:17 Then Abraham fell upon his face, and laughed, and said in his
    heart, Shall a child be born unto him that is an hundred years old?
    and shall Sarah, that is ninety years old, bear? 17:18 And Abraham
    said unto God, O that Ishmael might live before thee! 17:19 And God
    said, Sarah thy wife shall bear thee a son indeed; and thou shalt call
    his name Isaac: and I will establish my covenant with him for an
    everlasting covenant, and with his seed after him.

    17:20 And as for Ishmael, I have heard thee: Behold, I have blessed
    him, and will make him fruitful, and will multiply him exceedingly;
    twelve princes shall he beget, and I will make him a great nation.

    17:21 But my covenant will I establish with Isaac, which Sarah shall
    bear unto thee at this set time in the next year.

    17:22 And he left off talking with him, and God went up from Abraham.

    17:23 And Abraham took Ishmael his son, and all that were born in his
    house, and all that were bought with his money, every male among the
    men of Abraham’s house; and circumcised the flesh of their foreskin in
    the selfsame day, as God had said unto him.

    17:24 And Abraham was ninety years old and nine, when he was
    circumcised in the flesh of his foreskin.

    17:25 And Ishmael his son was thirteen years old, when he was
    circumcised in the flesh of his foreskin.

    17:26 In the selfsame day was Abraham circumcised, and Ishmael his
    son.

    17:27 And all the men of his house, born in the house, and bought with
    money of the stranger, were circumcised with him.

    18:1 And the LORD appeared unto him in the plains of Mamre: and he sat
    in the tent door in the heat of the day; 18:2 And he lift up his eyes
    and looked, and, lo, three men stood by him: and when he saw them, he
    ran to meet them from the tent door, and bowed himself toward the
    ground, 18:3 And said, My LORD, if now I have found favour in thy
    sight, pass not away, I pray thee, from thy servant: 18:4 Let a little
    water, I pray you, be fetched, and wash your feet, and rest yourselves
    under the tree: 18:5 And I will fetch a morsel of bread, and comfort
    ye your hearts; after that ye shall pass on: for therefore are ye come
    to your servant. And they said, So do, as thou hast said.

    18:6 And Abraham hastened into the tent unto Sarah, and said, Make
    ready quickly three measures of fine meal, knead it, and make cakes
    upon the hearth.

    18:7 And Abraham ran unto the herd, and fetcht a calf tender and good,
    and gave it unto a young man; and he hasted to dress it.

    18:8 And he took butter, and milk, and the calf which he had dressed,
    and set it before them; and he stood by them under the tree, and they
    did eat.

    18:9 And they said unto him, Where is Sarah thy wife? And he said,
    Behold, in the tent.

    18:10 And he said, I will certainly return unto thee according to the
    time of life; and, lo, Sarah thy wife shall have a son. And Sarah
    heard it in the tent door, which was behind him.

    18:11 Now Abraham and Sarah were old and well stricken in age; and it
    ceased to be with Sarah after the manner of women.

    18:12 Therefore Sarah laughed within herself, saying, After I am waxed
    old shall I have pleasure, my lord being old also? 18:13 And the LORD
    said unto Abraham, Wherefore did Sarah laugh, saying, Shall I of a
    surety bear a child, which am old? 18:14 Is any thing too hard for
    the LORD? At the time appointed I will return unto thee, according to
    the time of life, and Sarah shall have a son.

    18:15 Then Sarah denied, saying, I laughed not; for she was afraid.
    And he said, Nay; but thou didst laugh.

    18:16 And the men rose up from thence, and looked toward Sodom: and
    Abraham went with them to bring them on the way.

    18:17 And the LORD said, Shall I hide from Abraham that thing which I
    do; 18:18 Seeing that Abraham shall surely become a great and mighty
    nation, and all the nations of the earth shall be blessed in him?
    18:19 For I know him, that he will command his children and his
    household after him, and they shall keep the way of the LORD, to do
    justice and judgment; that the LORD may bring upon Abraham that which
    he hath spoken of him.

    18:20 And the LORD said, Because the cry of Sodom and Gomorrah is
    great, and because their sin is very grievous; 18:21 I will go down
    now, and see whether they have done altogether according to the cry of
    it, which is come unto me; and if not, I will know.

    18:22 And the men turned their faces from thence, and went toward
    Sodom: but Abraham stood yet before the LORD.

    18:23 And Abraham drew near, and said, Wilt thou also destroy the
    righteous with the wicked? 18:24 Peradventure there be fifty
    righteous within the city: wilt thou also destroy and not spare the
    place for the fifty righteous that are therein? 18:25 That be far
    from thee to do after this manner, to slay the righteous with the
    wicked: and that the righteous should be as the wicked, that be far
    from thee: Shall not the Judge of all the earth do right? 18:26 And
    the LORD said, If I find in Sodom fifty righteous within the city,
    then I will spare all the place for their sakes.

    18:27 And Abraham answered and said, Behold now, I have taken upon me
    to speak unto the LORD, which am but dust and ashes: 18:28
    Peradventure there shall lack five of the fifty righteous: wilt thou
    destroy all the city for lack of five? And he said, If I find there
    forty and five, I will not destroy it.

    18:29 And he spake unto him yet again, and said, Peradventure there
    shall be forty found there. And he said, I will not do it for forty’s
    sake.

    18:30 And he said unto him, Oh let not the LORD be angry, and I will
    speak: Peradventure there shall thirty be found there. And he said, I
    will not do it, if I find thirty there.

    18:31 And he said, Behold now, I have taken upon me to speak unto the
    LORD: Peradventure there shall be twenty found there. And he said, I
    will not destroy it for twenty’s sake.

    18:32 And he said, Oh let not the LORD be angry, and I will speak yet
    but this once: Peradventure ten shall be found there. And he said, I
    will not destroy it for ten’s sake.

    18:33 And the LORD went his way, as soon as he had left communing with
    Abraham: and Abraham returned unto his place.

    19:1 And there came two angels to Sodom at even; and Lot sat in the
    gate of Sodom: and Lot seeing them rose up to meet them; and he bowed
    himself with his face toward the ground; 19:2 And he said, Behold now,
    my lords, turn in, I pray you, into your servant’s house, and tarry
    all night, and wash your feet, and ye shall rise up early, and go on
    your ways. And they said, Nay; but we will abide in the street all
    night.

    19:3 And he pressed upon them greatly; and they turned in unto him,
    and entered into his house; and he made them a feast, and did bake
    unleavened bread, and they did eat.

    19:4 But before they lay down, the men of the city, even the men of
    Sodom, compassed the house round, both old and young, all the people
    from every quarter: 19:5 And they called unto Lot, and said unto him,
    Where are the men which came in to thee this night? bring them out
    unto us, that we may know them.

    19:6 And Lot went out at the door unto them, and shut the door after
    him, 19:7 And said, I pray you, brethren, do not so wickedly.

    19:8 Behold now, I have two daughters which have not known man; let
    me, I pray you, bring them out unto you, and do ye to them as is good
    in your eyes: only unto these men do nothing; for therefore came they
    under the shadow of my roof.

    19:9 And they said, Stand back. And they said again, This one fellow
    came in to sojourn, and he will needs be a judge: now will we deal
    worse with thee, than with them. And they pressed sore upon the man,
    even Lot, and came near to break the door.

    19:10 But the men put forth their hand, and pulled Lot into the house
    to them, and shut to the door.

    19:11 And they smote the men that were at the door of the house with
    blindness, both small and great: so that they wearied themselves to
    find the door.

    19:12 And the men said unto Lot, Hast thou here any besides? son in
    law, and thy sons, and thy daughters, and whatsoever thou hast in the
    city, bring them out of this place: 19:13 For we will destroy this
    place, because the cry of them is waxen great before the face of the
    LORD; and the LORD hath sent us to destroy it.

    19:14 And Lot went out, and spake unto his sons in law, which married
    his daughters, and said, Up, get you out of this place; for the LORD
    will destroy this city. But he seemed as one that mocked unto his sons
    in law.

    19:15 And when the morning arose, then the angels hastened Lot,
    saying, Arise, take thy wife, and thy two daughters, which are here;
    lest thou be consumed in the iniquity of the city.

    19:16 And while he lingered, the men laid hold upon his hand, and upon
    the hand of his wife, and upon the hand of his two daughters; the LORD
    being merciful unto him: and they brought him forth, and set him
    without the city.

    19:17 And it came to pass, when they had brought them forth abroad,
    that he said, Escape for thy life; look not behind thee, neither stay
    thou in all the plain; escape to the mountain, lest thou be consumed.

    19:18 And Lot said unto them, Oh, not so, my LORD: 19:19 Behold now,
    thy servant hath found grace in thy sight, and thou hast magnified thy
    mercy, which thou hast shewed unto me in saving my life; and I cannot
    escape to the mountain, lest some evil take me, and I die: 19:20
    Behold now, this city is near to flee unto, and it is a little one:
    Oh, let me escape thither, (is it not a little one?) and my soul shall
    live.

    19:21 And he said unto him, See, I have accepted thee concerning this
    thing also, that I will not overthrow this city, for the which thou
    hast spoken.

    19:22 Haste thee, escape thither; for I cannot do anything till thou
    be come thither. Therefore the name of the city was called Zoar.

    19:23 The sun was risen upon the earth when Lot entered into Zoar.

    19:24 Then the LORD rained upon Sodom and upon Gomorrah brimstone and
    fire from the LORD out of heaven; 19:25 And he overthrew those cities,
    and all the plain, and all the inhabitants of the cities, and that
    which grew upon the ground.

    19:26 But his wife looked back from behind him, and she became a
    pillar of salt.

    19:27 And Abraham gat up early in the morning to the place where he
    stood before the LORD: 19:28 And he looked toward Sodom and Gomorrah,
    and toward all the land of the plain, and beheld, and, lo, the smoke
    of the country went up as the smoke of a furnace.

    19:29 And it came to pass, when God destroyed the cities of the plain,
    that God remembered Abraham, and sent Lot out of the midst of the
    overthrow, when he overthrew the cities in the which Lot dwelt.

    19:30 And Lot went up out of Zoar, and dwelt in the mountain, and his
    two daughters with him; for he feared to dwell in Zoar: and he dwelt
    in a cave, he and his two daughters.

    19:31 And the firstborn said unto the younger, Our father is old, and
    there is not a man in the earth to come in unto us after the manner of
    all the earth: 19:32 Come, let us make our father drink wine, and we
    will lie with him, that we may preserve seed of our father.

    19:33 And they made their father drink wine that night: and the
    firstborn went in, and lay with her father; and he perceived not when
    she lay down, nor when she arose.

    19:34 And it came to pass on the morrow, that the firstborn said unto
    the younger, Behold, I lay yesternight with my father: let us make him
    drink wine this night also; and go thou in, and lie with him, that we
    may preserve seed of our father.

    19:35 And they made their father drink wine that night also: and the
    younger arose, and lay with him; and he perceived not when she lay
    down, nor when she arose.

    19:36 Thus were both the daughters of Lot with child by their father.

    19:37 And the first born bare a son, and called his name Moab: the
    same is the father of the Moabites unto this day.

    19:38 And the younger, she also bare a son, and called his name
    Benammi: the same is the father of the children of Ammon unto this
    day.

    20:1 And Abraham journeyed from thence toward the south country, and
    dwelled between Kadesh and Shur, and sojourned in Gerar.

    20:2 And Abraham said of Sarah his wife, She is my sister: and
    Abimelech king of Gerar sent, and took Sarah.

    20:3 But God came to Abimelech in a dream by night, and said to him,
    Behold, thou art but a dead man, for the woman which thou hast taken;
    for she is a man’s wife.

    20:4 But Abimelech had not come near her: and he said, LORD, wilt thou
    slay also a righteous nation? 20:5 Said he not unto me, She is my
    sister? and she, even she herself said, He is my brother: in the
    integrity of my heart and innocency of my hands have I done this.

    20:6 And God said unto him in a dream, Yea, I know that thou didst
    this in the integrity of thy heart; for I also withheld thee from
    sinning against me: therefore suffered I thee not to touch her.

    20:7 Now therefore restore the man his wife; for he is a prophet, and
    he shall pray for thee, and thou shalt live: and if thou restore her
    not, know thou that thou shalt surely die, thou, and all that are
    thine.

    20:8 Therefore Abimelech rose early in the morning, and called all his
    servants, and told all these things in their ears: and the men were
    sore afraid.

    20:9 Then Abimelech called Abraham, and said unto him, What hast thou
    done unto us? and what have I offended thee, that thou hast brought on
    me and on my kingdom a great sin? thou hast done deeds unto me that
    ought not to be done.

    20:10 And Abimelech said unto Abraham, What sawest thou, that thou
    hast done this thing? 20:11 And Abraham said, Because I thought,
    Surely the fear of God is not in this place; and they will slay me for
    my wife’s sake.

    20:12 And yet indeed she is my sister; she is the daughter of my
    father, but not the daughter of my mother; and she became my wife.

    20:13 And it came to pass, when God caused me to wander from my
    father’s house, that I said unto her, This is thy kindness which thou
    shalt shew unto me; at every place whither we shall come, say of me,
    He is my brother.

    20:14 And Abimelech took sheep, and oxen, and menservants, and
    womenservants, and gave them unto Abraham, and restored him Sarah his
    wife.

    20:15 And Abimelech said, Behold, my land is before thee: dwell where
    it pleaseth thee.

    20:16 And unto Sarah he said, Behold, I have given thy brother a
    thousand pieces of silver: behold, he is to thee a covering of the
    eyes, unto all that are with thee, and with all other: thus she was
    reproved.

    20:17 So Abraham prayed unto God: and God healed Abimelech, and his
    wife, and his maidservants; and they bare children.

    20:18 For the LORD had fast closed up all the wombs of the house of
    Abimelech, because of Sarah Abraham’s wife.

    21:1 And the LORD visited Sarah as he had said, and the LORD did unto
    Sarah as he had spoken.

    21:2 For Sarah conceived, and bare Abraham a son in his old age, at
    the set time of which God had spoken to him.

    21:3 And Abraham called the name of his son that was born unto him,
    whom Sarah bare to him, Isaac.

    21:4 And Abraham circumcised his son Isaac being eight days old, as
    God had commanded him.

    21:5 And Abraham was an hundred years old, when his son Isaac was born
    unto him.

    21:6 And Sarah said, God hath made me to laugh, so that all that hear
    will laugh with me.

    21:7 And she said, Who would have said unto Abraham, that Sarah should
    have given children suck? for I have born him a son in his old age.

    21:8 And the child grew, and was weaned: and Abraham made a great
    feast the same day that Isaac was weaned.

    21:9 And Sarah saw the son of Hagar the Egyptian, which she had born
    unto Abraham, mocking.

    21:10 Wherefore she said unto Abraham, Cast out this bondwoman and her
    son: for the son of this bondwoman shall not be heir with my son, even
    with Isaac.

    21:11 And the thing was very grievous in Abraham’s sight because of
    his son.

    21:12 And God said unto Abraham, Let it not be grievous in thy sight
    because of the lad, and because of thy bondwoman; in all that Sarah
    hath said unto thee, hearken unto her voice; for in Isaac shall thy
    seed be called.

    21:13 And also of the son of the bondwoman will I make a nation,
    because he is thy seed.

    21:14 And Abraham rose up early in the morning, and took bread, and a
    bottle of water, and gave it unto Hagar, putting it on her shoulder,
    and the child, and sent her away: and she departed, and wandered in
    the wilderness of Beersheba.

    21:15 And the water was spent in the bottle, and she cast the child
    under one of the shrubs.

    21:16 And she went, and sat her down over against him a good way off,
    as it were a bow shot: for she said, Let me not see the death of the
    child. And she sat over against him, and lift up her voice, and wept.

    21:17 And God heard the voice of the lad; and the angel of God called
    to Hagar out of heaven, and said unto her, What aileth thee, Hagar?
    fear not; for God hath heard the voice of the lad where he is.

    21:18 Arise, lift up the lad, and hold him in thine hand; for I will
    make him a great nation.

    21:19 And God opened her eyes, and she saw a well of water; and she
    went, and filled the bottle with water, and gave the lad drink.

    21:20 And God was with the lad; and he grew, and dwelt in the
    wilderness, and became an archer.

    21:21 And he dwelt in the wilderness of Paran: and his mother took him
    a wife out of the land of Egypt.

    21:22 And it came to pass at that time, that Abimelech and Phichol the
    chief captain of his host spake unto Abraham, saying, God is with thee
    in all that thou doest: 21:23 Now therefore swear unto me here by God
    that thou wilt not deal falsely with me, nor with my son, nor with my
    son’s son: but according to the kindness that I have done unto thee,
    thou shalt do unto me, and to the land wherein thou hast sojourned.

    21:24 And Abraham said, I will swear.

    21:25 And Abraham reproved Abimelech because of a well of water, which
    Abimelech’s servants had violently taken away.

    21:26 And Abimelech said, I wot not who hath done this thing; neither
    didst thou tell me, neither yet heard I of it, but to day.

    21:27 And Abraham took sheep and oxen, and gave them unto Abimelech;
    and both of them made a covenant.

    21:28 And Abraham set seven ewe lambs of the flock by themselves.

    21:29 And Abimelech said unto Abraham, What mean these seven ewe lambs
    which thou hast set by themselves? 21:30 And he said, For these seven
    ewe lambs shalt thou take of my hand, that they may be a witness unto
    me, that I have digged this well.

    21:31 Wherefore he called that place Beersheba; because there they
    sware both of them.

    21:32 Thus they made a covenant at Beersheba: then Abimelech rose up,
    and Phichol the chief captain of his host, and they returned into the
    land of the Philistines.

    21:33 And Abraham planted a grove in Beersheba, and called there on
    the name of the LORD, the everlasting God.

    21:34 And Abraham sojourned in the Philistines’ land many days.

    22:1 And it came to pass after these things, that God did tempt
    Abraham, and said unto him, Abraham: and he said, Behold, here I am.

    22:2 And he said, Take now thy son, thine only son Isaac, whom thou
    lovest, and get thee into the land of Moriah; and offer him there for
    a burnt offering upon one of the mountains which I will tell thee of.

    22:3 And Abraham rose up early in the morning, and saddled his ass,
    and took two of his young men with him, and Isaac his son, and clave
    the wood for the burnt offering, and rose up, and went unto the place
    of which God had told him.

    22:4 Then on the third day Abraham lifted up his eyes, and saw the
    place afar off.

    22:5 And Abraham said unto his young men, Abide ye here with the ass;
    and I and the lad will go yonder and worship, and come again to you.

    22:6 And Abraham took the wood of the burnt offering, and laid it upon
    Isaac his son; and he took the fire in his hand, and a knife; and they
    went both of them together.

    22:7 And Isaac spake unto Abraham his father, and said, My father: and
    he said, Here am I, my son. And he said, Behold the fire and the wood:
    but where is the lamb for a burnt offering? 22:8 And Abraham said, My
    son, God will provide himself a lamb for a burnt offering: so they
    went both of them together.

    22:9 And they came to the place which God had told him of; and Abraham
    built an altar there, and laid the wood in order, and bound Isaac his
    son, and laid him on the altar upon the wood.

    22:10 And Abraham stretched forth his hand, and took the knife to slay
    his son.

    22:11 And the angel of the LORD called unto him out of heaven, and
    said, Abraham, Abraham: and he said, Here am I.

    22:12 And he said, Lay not thine hand upon the lad, neither do thou
    any thing unto him: for now I know that thou fearest God, seeing thou
    hast not withheld thy son, thine only son from me.

    22:13 And Abraham lifted up his eyes, and looked, and behold behind
    him a ram caught in a thicket by his horns: and Abraham went and took
    the ram, and offered him up for a burnt offering in the stead of his
    son.

    22:14 And Abraham called the name of that place Jehovahjireh: as it is
    said to this day, In the mount of the LORD it shall be seen.

    22:15 And the angel of the LORD called unto Abraham out of heaven the
    second time, 22:16 And said, By myself have I sworn, saith the LORD,
    for because thou hast done this thing, and hast not withheld thy son,
    thine only son: 22:17 That in blessing I will bless thee, and in
    multiplying I will multiply thy seed as the stars of the heaven, and
    as the sand which is upon the sea shore; and thy seed shall possess
    the gate of his enemies; 22:18 And in thy seed shall all the nations
    of the earth be blessed; because thou hast obeyed my voice.

    22:19 So Abraham returned unto his young men, and they rose up and
    went together to Beersheba; and Abraham dwelt at Beersheba.

    22:20 And it came to pass after these things, that it was told
    Abraham, saying, Behold, Milcah, she hath also born children unto thy
    brother Nahor; 22:21 Huz his firstborn, and Buz his brother, and
    Kemuel the father of Aram, 22:22 And Chesed, and Hazo, and Pildash,
    and Jidlaph, and Bethuel.

    22:23 And Bethuel begat Rebekah: these eight Milcah did bear to Nahor,
    Abraham’s brother.

    22:24 And his concubine, whose name was Reumah, she bare also Tebah,
    and Gaham, and Thahash, and Maachah.

    23:1 And Sarah was an hundred and seven and twenty years old: these
    were the years of the life of Sarah.

    23:2 And Sarah died in Kirjatharba; the same is Hebron in the land of
    Canaan: and Abraham came to mourn for Sarah, and to weep for her.

    23:3 And Abraham stood up from before his dead, and spake unto the
    sons of Heth, saying, 23:4 I am a stranger and a sojourner with you:
    give me a possession of a buryingplace with you, that I may bury my
    dead out of my sight.

    23:5 And the children of Heth answered Abraham, saying unto him, 23:6
    Hear us, my lord: thou art a mighty prince among us: in the choice of
    our sepulchres bury thy dead; none of us shall withhold from thee his
    sepulchre, but that thou mayest bury thy dead.

    23:7 And Abraham stood up, and bowed himself to the people of the
    land, even to the children of Heth.

    23:8 And he communed with them, saying, If it be your mind that I
    should bury my dead out of my sight; hear me, and intreat for me to
    Ephron the son of Zohar, 23:9 That he may give me the cave of
    Machpelah, which he hath, which is in the end of his field; for as
    much money as it is worth he shall give it me for a possession of a
    buryingplace amongst you.

    23:10 And Ephron dwelt among the children of Heth: and Ephron the
    Hittite answered Abraham in the audience of the children of Heth, even
    of all that went in at the gate of his city, saying, 23:11 Nay, my
    lord, hear me: the field give I thee, and the cave that is therein, I
    give it thee; in the presence of the sons of my people give I it thee:
    bury thy dead.

    23:12 And Abraham bowed down himself before the people of the land.

    23:13 And he spake unto Ephron in the audience of the people of the
    land, saying, But if thou wilt give it, I pray thee, hear me: I will
    give thee money for the field; take it of me, and I will bury my dead
    there.

    23:14 And Ephron answered Abraham, saying unto him, 23:15 My lord,
    hearken unto me: the land is worth four hundred shekels of silver;
    what is that betwixt me and thee? bury therefore thy dead.

    23:16 And Abraham hearkened unto Ephron; and Abraham weighed to Ephron
    the silver, which he had named in the audience of the sons of Heth,
    four hundred shekels of silver, current money with the merchant.

    23:17 And the field of Ephron which was in Machpelah, which was before
    Mamre, the field, and the cave which was therein, and all the trees
    that were in the field, that were in all the borders round about, were
    made sure 23:18 Unto Abraham for a possession in the presence of the
    children of Heth, before all that went in at the gate of his city.

    23:19 And after this, Abraham buried Sarah his wife in the cave of the
    field of Machpelah before Mamre: the same is Hebron in the land of
    Canaan.

    23:20 And the field, and the cave that is therein, were made sure unto
    Abraham for a possession of a buryingplace by the sons of Heth.

    24:1 And Abraham was old, and well stricken in age: and the LORD had
    blessed Abraham in all things.

    24:2 And Abraham said unto his eldest servant of his house, that ruled
    over all that he had, Put, I pray thee, thy hand under my thigh: 24:3
    And I will make thee swear by the LORD, the God of heaven, and the God
    of the earth, that thou shalt not take a wife unto my son of the
    daughters of the Canaanites, among whom I dwell: 24:4 But thou shalt
    go unto my country, and to my kindred, and take a wife unto my son
    Isaac.

    24:5 And the servant said unto him, Peradventure the woman will not be
    willing to follow me unto this land: must I needs bring thy son again
    unto the land from whence thou camest? 24:6 And Abraham said unto
    him, Beware thou that thou bring not my son thither again.

    24:7 The LORD God of heaven, which took me from my father’s house, and
    from the land of my kindred, and which spake unto me, and that sware
    unto me, saying, Unto thy seed will I give this land; he shall send
    his angel before thee, and thou shalt take a wife unto my son from
    thence.

    24:8 And if the woman will not be willing to follow thee, then thou
    shalt be clear from this my oath: only bring not my son thither again.

    24:9 And the servant put his hand under the thigh of Abraham his
    master, and sware to him concerning that matter.

    24:10 And the servant took ten camels of the camels of his master, and
    departed; for all the goods of his master were in his hand: and he
    arose, and went to Mesopotamia, unto the city of Nahor.

    24:11 And he made his camels to kneel down without the city by a well
    of water at the time of the evening, even the time that women go out
    to draw water.

    24:12 And he said O LORD God of my master Abraham, I pray thee, send
    me good speed this day, and shew kindness unto my master Abraham.

    24:13 Behold, I stand here by the well of water; and the daughters of
    the men of the city come out to draw water: 24:14 And let it come to
    pass, that the damsel to whom I shall say, Let down thy pitcher, I
    pray thee, that I may drink; and she shall say, Drink, and I will give
    thy camels drink also: let the same be she that thou hast appointed
    for thy servant Isaac; and thereby shall I know that thou hast shewed
    kindness unto my master.

    24:15 And it came to pass, before he had done speaking, that, behold,
    Rebekah came out, who was born to Bethuel, son of Milcah, the wife of
    Nahor, Abraham’s brother, with her pitcher upon her shoulder.

    24:16 And the damsel was very fair to look upon, a virgin, neither had
    any man known her: and she went down to the well, and filled her
    pitcher, and came up.

    24:17 And the servant ran to meet her, and said, Let me, I pray thee,
    drink a little water of thy pitcher.

    24:18 And she said, Drink, my lord: and she hasted, and let down her
    pitcher upon her hand, and gave him drink.

    24:19 And when she had done giving him drink, she said, I will draw
    water for thy camels also, until they have done drinking.

    24:20 And she hasted, and emptied her pitcher into the trough, and ran
    again unto the well to draw water, and drew for all his camels.

    24:21 And the man wondering at her held his peace, to wit whether the
    LORD had made his journey prosperous or not.

    24:22 And it came to pass, as the camels had done drinking, that the
    man took a golden earring of half a shekel weight, and two bracelets
    for her hands of ten shekels weight of gold; 24:23 And said, Whose
    daughter art thou? tell me, I pray thee: is there room in thy father’s
    house for us to lodge in? 24:24 And she said unto him, I am the
    daughter of Bethuel the son of Milcah, which she bare unto Nahor.

    24:25 She said moreover unto him, We have both straw and provender
    enough, and room to lodge in.

    24:26 And the man bowed down his head, and worshipped the LORD.

    24:27 And he said, Blessed be the LORD God of my master Abraham, who
    hath not left destitute my master of his mercy and his truth: I being
    in the way, the LORD led me to the house of my master’s brethren.

    24:28 And the damsel ran, and told them of her mother’s house these
    things.

    24:29 And Rebekah had a brother, and his name was Laban: and Laban ran
    out unto the man, unto the well.

    24:30 And it came to pass, when he saw the earring and bracelets upon
    his sister’s hands, and when he heard the words of Rebekah his sister,
    saying, Thus spake the man unto me; that he came unto the man; and,
    behold, he stood by the camels at the well.

    24:31 And he said, Come in, thou blessed of the LORD; wherefore
    standest thou without? for I have prepared the house, and room for the
    camels.

    24:32 And the man came into the house: and he ungirded his camels, and
    gave straw and provender for the camels, and water to wash his feet,
    and the men’s feet that were with him.

    24:33 And there was set meat before him to eat: but he said, I will
    not eat, until I have told mine errand. And he said, Speak on.

    24:34 And he said, I am Abraham’s servant.

    24:35 And the LORD hath blessed my master greatly; and he is become
    great: and he hath given him flocks, and herds, and silver, and gold,
    and menservants, and maidservants, and camels, and asses.

    24:36 And Sarah my master’s wife bare a son to my master when she was
    old: and unto him hath he given all that he hath.

    24:37 And my master made me swear, saying, Thou shalt not take a wife
    to my son of the daughters of the Canaanites, in whose land I dwell:
    24:38 But thou shalt go unto my father’s house, and to my kindred, and
    take a wife unto my son.

    24:39 And I said unto my master, Peradventure the woman will not
    follow me.

    24:40 And he said unto me, The LORD, before whom I walk, will send his
    angel with thee, and prosper thy way; and thou shalt take a wife for
    my son of my kindred, and of my father’s house: 24:41 Then shalt thou
    be clear from this my oath, when thou comest to my kindred; and if
    they give not thee one, thou shalt be clear from my oath.

    24:42 And I came this day unto the well, and said, O LORD God of my
    master Abraham, if now thou do prosper my way which I go: 24:43
    Behold, I stand by the well of water; and it shall come to pass, that
    when the virgin cometh forth to draw water, and I say to her, Give me,
    I pray thee, a little water of thy pitcher to drink; 24:44 And she say
    to me, Both drink thou, and I will also draw for thy camels: let the
    same be the woman whom the LORD hath appointed out for my master’s
    son.

    24:45 And before I had done speaking in mine heart, behold, Rebekah
    came forth with her pitcher on her shoulder; and she went down unto
    the well, and drew water: and I said unto her, Let me drink, I pray
    thee.

    24:46 And she made haste, and let down her pitcher from her shoulder,
    and said, Drink, and I will give thy camels drink also: so I drank,
    and she made the camels drink also.

    24:47 And I asked her, and said, Whose daughter art thou? And she
    said, the daughter of Bethuel, Nahor’s son, whom Milcah bare unto him:
    and I put the earring upon her face, and the bracelets upon her hands.

    24:48 And I bowed down my head, and worshipped the LORD, and blessed
    the LORD God of my master Abraham, which had led me in the right way
    to take my master’s brother’s daughter unto his son.

    24:49 And now if ye will deal kindly and truly with my master, tell
    me: and if not, tell me; that I may turn to the right hand, or to the
    left.

    24:50 Then Laban and Bethuel answered and said, The thing proceedeth
    from the LORD: we cannot speak unto thee bad or good.

    24:51 Behold, Rebekah is before thee, take her, and go, and let her be
    thy master’s son’s wife, as the LORD hath spoken.

    24:52 And it came to pass, that, when Abraham’s servant heard their
    words, he worshipped the LORD, bowing himself to the earth.

    24:53 And the servant brought forth jewels of silver, and jewels of
    gold, and raiment, and gave them to Rebekah: he gave also to her
    brother and to her mother precious things.

    24:54 And they did eat and drink, he and the men that were with him,
    and tarried all night; and they rose up in the morning, and he said,
    Send me away unto my master.

    24:55 And her brother and her mother said, Let the damsel abide with
    us a few days, at the least ten; after that she shall go.

    24:56 And he said unto them, Hinder me not, seeing the LORD hath
    prospered my way; send me away that I may go to my master.

    24:57 And they said, We will call the damsel, and enquire at her
    mouth.

    24:58 And they called Rebekah, and said unto her, Wilt thou go with
    this man? And she said, I will go.

    24:59 And they sent away Rebekah their sister, and her nurse, and
    Abraham’s servant, and his men.

    24:60 And they blessed Rebekah, and said unto her, Thou art our
    sister, be thou the mother of thousands of millions, and let thy seed
    possess the gate of those which hate them.

    24:61 And Rebekah arose, and her damsels, and they rode upon the
    camels, and followed the man: and the servant took Rebekah, and went
    his way.

    24:62 And Isaac came from the way of the well Lahairoi; for he dwelt
    in the south country.

    24:63 And Isaac went out to meditate in the field at the eventide: and
    he lifted up his eyes, and saw, and, behold, the camels were coming.

    24:64 And Rebekah lifted up her eyes, and when she saw Isaac, she
    lighted off the camel.

    24:65 For she had said unto the servant, What man is this that walketh
    in the field to meet us? And the servant had said, It is my master:
    therefore she took a vail, and covered herself.

    24:66 And the servant told Isaac all things that he had done.

    24:67 And Isaac brought her into his mother Sarah’s tent, and took
    Rebekah, and she became his wife; and he loved her: and Isaac was
    comforted after his mother’s death.

    25:1 Then again Abraham took a wife, and her name was Keturah.

    25:2 And she bare him Zimran, and Jokshan, and Medan, and Midian, and
    Ishbak, and Shuah.

    25:3 And Jokshan begat Sheba, and Dedan. And the sons of Dedan were
    Asshurim, and Letushim, and Leummim.

    25:4 And the sons of Midian; Ephah, and Epher, and Hanoch, and Abidah,
    and Eldaah. All these were the children of Keturah.

    25:5 And Abraham gave all that he had unto Isaac.

    25:6 But unto the sons of the concubines, which Abraham had, Abraham
    gave gifts, and sent them away from Isaac his son, while he yet lived,
    eastward, unto the east country.

    25:7 And these are the days of the years of Abraham’s life which he
    lived, an hundred threescore and fifteen years.

    25:8 Then Abraham gave up the ghost, and died in a good old age, an
    old man, and full of years; and was gathered to his people.

    25:9 And his sons Isaac and Ishmael buried him in the cave of
    Machpelah, in the field of Ephron the son of Zohar the Hittite, which
    is before Mamre; 25:10 The field which Abraham purchased of the sons
    of Heth: there was Abraham buried, and Sarah his wife.

    25:11 And it came to pass after the death of Abraham, that God blessed
    his son Isaac; and Isaac dwelt by the well Lahairoi.

    25:12 Now these are the generations of Ishmael, Abraham’s son, whom
    Hagar the Egyptian, Sarah’s handmaid, bare unto Abraham: 25:13 And
    these are the names of the sons of Ishmael, by their names, according
    to their generations: the firstborn of Ishmael, Nebajoth; and Kedar,
    and Adbeel, and Mibsam, 25:14 And Mishma, and Dumah, and Massa, 25:15
    Hadar, and Tema, Jetur, Naphish, and Kedemah: 25:16 These are the sons
    of Ishmael, and these are their names, by their towns, and by their
    castles; twelve princes according to their nations.

    25:17 And these are the years of the life of Ishmael, an hundred and
    thirty and seven years: and he gave up the ghost and died; and was
    gathered unto his people.

    25:18 And they dwelt from Havilah unto Shur, that is before Egypt, as
    thou goest toward Assyria: and he died in the presence of all his
    brethren.

    25:19 And these are the generations of Isaac, Abraham’s son: Abraham
    begat Isaac: 25:20 And Isaac was forty years old when he took Rebekah
    to wife, the daughter of Bethuel the Syrian of Padanaram, the sister
    to Laban the Syrian.

    25:21 And Isaac intreated the LORD for his wife, because she was
    barren: and the LORD was intreated of him, and Rebekah his wife
    conceived.

    25:22 And the children struggled together within her; and she said, If
    it be so, why am I thus? And she went to enquire of the LORD.

    25:23 And the LORD said unto her, Two nations are in thy womb, and two
    manner of people shall be separated from thy bowels; and the one
    people shall be stronger than the other people; and the elder shall
    serve the younger.

    25:24 And when her days to be delivered were fulfilled, behold, there
    were twins in her womb.

    25:25 And the first came out red, all over like an hairy garment; and
    they called his name Esau.

    25:26 And after that came his brother out, and his hand took hold on
    Esau’s heel; and his name was called Jacob: and Isaac was threescore
    years old when she bare them.

    25:27 And the boys grew: and Esau was a cunning hunter, a man of the
    field; and Jacob was a plain man, dwelling in tents.

    25:28 And Isaac loved Esau, because he did eat of his venison: but
    Rebekah loved Jacob.

    25:29 And Jacob sod pottage: and Esau came from the field, and he was
    faint: 25:30 And Esau said to Jacob, Feed me, I pray thee, with that
    same red pottage; for I am faint: therefore was his name called Edom.

    25:31 And Jacob said, Sell me this day thy birthright.

    25:32 And Esau said, Behold, I am at the point to die: and what profit
    shall this birthright do to me? 25:33 And Jacob said, Swear to me
    this day; and he sware unto him: and he sold his birthright unto
    Jacob.

    25:34 Then Jacob gave Esau bread and pottage of lentiles; and he did
    eat and drink, and rose up, and went his way: thus Esau despised his
    birthright.

    26:1 And there was a famine in the land, beside the first famine that
    was in the days of Abraham. And Isaac went unto Abimelech king of the
    Philistines unto Gerar.

    26:2 And the LORD appeared unto him, and said, Go not down into Egypt;
    dwell in the land which I shall tell thee of: 26:3 Sojourn in this
    land, and I will be with thee, and will bless thee; for unto thee, and
    unto thy seed, I will give all these countries, and I will perform the
    oath which I sware unto Abraham thy father; 26:4 And I will make thy
    seed to multiply as the stars of heaven, and will give unto thy seed
    all these countries; and in thy seed shall all the nations of the
    earth be blessed; 26:5 Because that Abraham obeyed my voice, and kept
    my charge, my commandments, my statutes, and my laws.

    26:6 And Isaac dwelt in Gerar: 26:7 And the men of the place asked him
    of his wife; and he said, She is my sister: for he feared to say, She
    is my wife; lest, said he, the men of the place should kill me for
    Rebekah; because she was fair to look upon.

    26:8 And it came to pass, when he had been there a long time, that
    Abimelech king of the Philistines looked out at a window, and saw,
    and, behold, Isaac was sporting with Rebekah his wife.

    26:9 And Abimelech called Isaac, and said, Behold, of a surety she is
    thy wife; and how saidst thou, She is my sister? And Isaac said unto
    him, Because I said, Lest I die for her.

    26:10 And Abimelech said, What is this thou hast done unto us? one of
    the people might lightly have lien with thy wife, and thou shouldest
    have brought guiltiness upon us.

    26:11 And Abimelech charged all his people, saying, He that toucheth
    this man or his wife shall surely be put to death.

    26:12 Then Isaac sowed in that land, and received in the same year an
    hundredfold: and the LORD blessed him.

    26:13 And the man waxed great, and went forward, and grew until he
    became very great: 26:14 For he had possession of flocks, and
    possession of herds, and great store of servants: and the Philistines
    envied him.

    26:15 For all the wells which his father’s servants had digged in the
    days of Abraham his father, the Philistines had stopped them, and
    filled them with earth.

    26:16 And Abimelech said unto Isaac, Go from us; for thou art much
    mightier than we.

    26:17 And Isaac departed thence, and pitched his tent in the valley of
    Gerar, and dwelt there.

    26:18 And Isaac digged again the wells of water, which they had digged
    in the days of Abraham his father; for the Philistines had stopped
    them after the death of Abraham: and he called their names after the
    names by which his father had called them.

    26:19 And Isaac’s servants digged in the valley, and found there a
    well of springing water.

    26:20 And the herdmen of Gerar did strive with Isaac’s herdmen,
    saying, The water is ours: and he called the name of the well Esek;
    because they strove with him.

    26:21 And they digged another well, and strove for that also: and he
    called the name of it Sitnah.

    26:22 And he removed from thence, and digged another well; and for
    that they strove not: and he called the name of it Rehoboth; and he
    said, For now the LORD hath made room for us, and we shall be fruitful
    in the land.

    26:23 And he went up from thence to Beersheba.

    26:24 And the LORD appeared unto him the same night, and said, I am
    the God of Abraham thy father: fear not, for I am with thee, and will
    bless thee, and multiply thy seed for my servant Abraham’s sake.

    26:25 And he builded an altar there, and called upon the name of the
    LORD, and pitched his tent there: and there Isaac’s servants digged a
    well.

    26:26 Then Abimelech went to him from Gerar, and Ahuzzath one of his
    friends, and Phichol the chief captain of his army.

    26:27 And Isaac said unto them, Wherefore come ye to me, seeing ye
    hate me, and have sent me away from you? 26:28 And they said, We saw
    certainly that the LORD was with thee: and we said, Let there be now
    an oath betwixt us, even betwixt us and thee, and let us make a
    covenant with thee; 26:29 That thou wilt do us no hurt, as we have not
    touched thee, and as we have done unto thee nothing but good, and have
    sent thee away in peace: thou art now the blessed of the LORD.

    26:30 And he made them a feast, and they did eat and drink.

    26:31 And they rose up betimes in the morning, and sware one to
    another: and Isaac sent them away, and they departed from him in
    peace.

    26:32 And it came to pass the same day, that Isaac’s servants came,
    and told him concerning the well which they had digged, and said unto
    him, We have found water.

    26:33 And he called it Shebah: therefore the name of the city is
    Beersheba unto this day.

    26:34 And Esau was forty years old when he took to wife Judith the
    daughter of Beeri the Hittite, and Bashemath the daughter of Elon the
    Hittite: 26:35 Which were a grief of mind unto Isaac and to Rebekah.

    27:1 And it came to pass, that when Isaac was old, and his eyes were
    dim, so that he could not see, he called Esau his eldest son, and said
    unto him, My son: and he said unto him, Behold, here am I.

    27:2 And he said, Behold now, I am old, I know not the day of my
    death: 27:3 Now therefore take, I pray thee, thy weapons, thy quiver
    and thy bow, and go out to the field, and take me some venison; 27:4
    And make me savoury meat, such as I love, and bring it to me, that I
    may eat; that my soul may bless thee before I die.

    27:5 And Rebekah heard when Isaac spake to Esau his son. And Esau went
    to the field to hunt for venison, and to bring it.

    27:6 And Rebekah spake unto Jacob her son, saying, Behold, I heard thy
    father speak unto Esau thy brother, saying, 27:7 Bring me venison, and
    make me savoury meat, that I may eat, and bless thee before the LORD
    before my death.

    27:8 Now therefore, my son, obey my voice according to that which I
    command thee.

    27:9 Go now to the flock, and fetch me from thence two good kids of
    the goats; and I will make them savoury meat for thy father, such as
    he loveth: 27:10 And thou shalt bring it to thy father, that he may
    eat, and that he may bless thee before his death.

    27:11 And Jacob said to Rebekah his mother, Behold, Esau my brother is
    a hairy man, and I am a smooth man: 27:12 My father peradventure will
    feel me, and I shall seem to him as a deceiver; and I shall bring a
    curse upon me, and not a blessing.

    27:13 And his mother said unto him, Upon me be thy curse, my son: only
    obey my voice, and go fetch me them.

    27:14 And he went, and fetched, and brought them to his mother: and
    his mother made savoury meat, such as his father loved.

    27:15 And Rebekah took goodly raiment of her eldest son Esau, which
    were with her in the house, and put them upon Jacob her younger son:
    27:16 And she put the skins of the kids of the goats upon his hands,
    and upon the smooth of his neck: 27:17 And she gave the savoury meat
    and the bread, which she had prepared, into the hand of her son Jacob.

    27:18 And he came unto his father, and said, My father: and he said,
    Here am I; who art thou, my son? 27:19 And Jacob said unto his
    father, I am Esau thy first born; I have done according as thou badest
    me: arise, I pray thee, sit and eat of my venison, that thy soul may
    bless me.

    27:20 And Isaac said unto his son, How is it that thou hast found it
    so quickly, my son? And he said, Because the LORD thy God brought it
    to me.

    27:21 And Isaac said unto Jacob, Come near, I pray thee, that I may
    feel thee, my son, whether thou be my very son Esau or not.

    27:22 And Jacob went near unto Isaac his father; and he felt him, and
    said, The voice is Jacob’s voice, but the hands are the hands of Esau.

    27:23 And he discerned him not, because his hands were hairy, as his
    brother Esau’s hands: so he blessed him.

    27:24 And he said, Art thou my very son Esau? And he said, I am.

    27:25 And he said, Bring it near to me, and I will eat of my son’s
    venison, that my soul may bless thee. And he brought it near to him,
    and he did eat: and he brought him wine and he drank.

    27:26 And his father Isaac said unto him, Come near now, and kiss me,
    my son.

    27:27 And he came near, and kissed him: and he smelled the smell of
    his raiment, and blessed him, and said, See, the smell of my son is as
    the smell of a field which the LORD hath blessed: 27:28 Therefore God
    give thee of the dew of heaven, and the fatness of the earth, and
    plenty of corn and wine: 27:29 Let people serve thee, and nations bow
    down to thee: be lord over thy brethren, and let thy mother’s sons bow
    down to thee: cursed be every one that curseth thee, and blessed be he
    that blesseth thee.

    27:30 And it came to pass, as soon as Isaac had made an end of
    blessing Jacob, and Jacob was yet scarce gone out from the presence of
    Isaac his father, that Esau his brother came in from his hunting.

    27:31 And he also had made savoury meat, and brought it unto his
    father, and said unto his father, Let my father arise, and eat of his
    son’s venison, that thy soul may bless me.

    27:32 And Isaac his father said unto him, Who art thou? And he said, I
    am thy son, thy firstborn Esau.

    27:33 And Isaac trembled very exceedingly, and said, Who? where is he
    that hath taken venison, and brought it me, and I have eaten of all
    before thou camest, and have blessed him? yea, and he shall be
    blessed.

    27:34 And when Esau heard the words of his father, he cried with a
    great and exceeding bitter cry, and said unto his father, Bless me,
    even me also, O my father.

    27:35 And he said, Thy brother came with subtilty, and hath taken away
    thy blessing.

    27:36 And he said, Is not he rightly named Jacob? for he hath
    supplanted me these two times: he took away my birthright; and,
    behold, now he hath taken away my blessing. And he said, Hast thou not
    reserved a blessing for me? 27:37 And Isaac answered and said unto
    Esau, Behold, I have made him thy lord, and all his brethren have I
    given to him for servants; and with corn and wine have I sustained
    him: and what shall I do now unto thee, my son? 27:38 And Esau said
    unto his father, Hast thou but one blessing, my father? bless me, even
    me also, O my father. And Esau lifted up his voice, and wept.

    27:39 And Isaac his father answered and said unto him, Behold, thy
    dwelling shall be the fatness of the earth, and of the dew of heaven
    from above; 27:40 And by thy sword shalt thou live, and shalt serve
    thy brother; and it shall come to pass when thou shalt have the
    dominion, that thou shalt break his yoke from off thy neck.

    27:41 And Esau hated Jacob because of the blessing wherewith his
    father blessed him: and Esau said in his heart, The days of mourning
    for my father are at hand; then will I slay my brother Jacob.

    27:42 And these words of Esau her elder son were told to Rebekah: and
    she sent and called Jacob her younger son, and said unto him, Behold,
    thy brother Esau, as touching thee, doth comfort himself, purposing to
    kill thee.

    27:43 Now therefore, my son, obey my voice; arise, flee thou to Laban
    my brother to Haran; 27:44 And tarry with him a few days, until thy
    brother’s fury turn away; 27:45 Until thy brother’s anger turn away
    from thee, and he forget that which thou hast done to him: then I will
    send, and fetch thee from thence: why should I be deprived also of you
    both in one day? 27:46 And Rebekah said to Isaac, I am weary of my
    life because of the daughters of Heth: if Jacob take a wife of the
    daughters of Heth, such as these which are of the daughters of the
    land, what good shall my life do me? 28:1 And Isaac called Jacob, and
    blessed him, and charged him, and said unto him, Thou shalt not take a
    wife of the daughters of Canaan.

    28:2 Arise, go to Padanaram, to the house of Bethuel thy mother’s
    father; and take thee a wife from thence of the daughters of Laban thy
    mother’s brother.

    28:3 And God Almighty bless thee, and make thee fruitful, and multiply
    thee, that thou mayest be a multitude of people; 28:4 And give thee
    the blessing of Abraham, to thee, and to thy seed with thee; that thou
    mayest inherit the land wherein thou art a stranger, which God gave
    unto Abraham.

    28:5 And Isaac sent away Jacob: and he went to Padanaram unto Laban,
    son of Bethuel the Syrian, the brother of Rebekah, Jacob’s and Esau’s
    mother.

    28:6 When Esau saw that Isaac had blessed Jacob, and sent him away to
    Padanaram, to take him a wife from thence; and that as he blessed him
    he gave him a charge, saying, Thou shalt not take a wife of the
    daughters of Canaan; 28:7 And that Jacob obeyed his father and his
    mother, and was gone to Padanaram; 28:8 And Esau seeing that the
    daughters of Canaan pleased not Isaac his father; 28:9 Then went Esau
    unto Ishmael, and took unto the wives which he had Mahalath the
    daughter of Ishmael Abraham’s son, the sister of Nebajoth, to be his
    wife.

    28:10 And Jacob went out from Beersheba, and went toward Haran.

    28:11 And he lighted upon a certain place, and tarried there all
    night, because the sun was set; and he took of the stones of that
    place, and put them for his pillows, and lay down in that place to
    sleep.

    28:12 And he dreamed, and behold a ladder set up on the earth, and the
    top of it reached to heaven: and behold the angels of God ascending
    and descending on it.

    28:13 And, behold, the LORD stood above it, and said, I am the LORD
    God of Abraham thy father, and the God of Isaac: the land whereon thou
    liest, to thee will I give it, and to thy seed; 28:14 And thy seed
    shall be as the dust of the earth, and thou shalt spread abroad to the
    west, and to the east, and to the north, and to the south: and in thee
    and in thy seed shall all the families of the earth be blessed.

    28:15 And, behold, I am with thee, and will keep thee in all places
    whither thou goest, and will bring thee again into this land; for I
    will not leave thee, until I have done that which I have spoken to
    thee of.

    28:16 And Jacob awaked out of his sleep, and he said, Surely the LORD
    is in this place; and I knew it not.

    28:17 And he was afraid, and said, How dreadful is this place! this is
    none other but the house of God, and this is the gate of heaven.

    28:18 And Jacob rose up early in the morning, and took the stone that
    he had put for his pillows, and set it up for a pillar, and poured oil
    upon the top of it.

    28:19 And he called the name of that place Bethel: but the name of
    that city was called Luz at the first.

    28:20 And Jacob vowed a vow, saying, If God will be with me, and will
    keep me in this way that I go, and will give me bread to eat, and
    raiment to put on, 28:21 So that I come again to my father’s house in
    peace; then shall the LORD be my God: 28:22 And this stone, which I
    have set for a pillar, shall be God’s house: and of all that thou
    shalt give me I will surely give the tenth unto thee.

    29:1 Then Jacob went on his journey, and came into the land of the
    people of the east.

    29:2 And he looked, and behold a well in the field, and, lo, there
    were three flocks of sheep lying by it; for out of that well they
    watered the flocks: and a great stone was upon the well’s mouth.

    29:3 And thither were all the flocks gathered: and they rolled the
    stone from the well’s mouth, and watered the sheep, and put the stone
    again upon the well’s mouth in his place.

    29:4 And Jacob said unto them, My brethren, whence be ye? And they
    said, Of Haran are we.

    29:5 And he said unto them, Know ye Laban the son of Nahor? And they
    said, We know him.

    29:6 And he said unto them, Is he well? And they said, He is well:
    and, behold, Rachel his daughter cometh with the sheep.

  • The Jargon File, Version 2.9.10, 01 Jul 1992

    The Jargon File, Version 2.9.10, 01 Jul 1992

    Aproximadamente 174.353 palavras.

    This is the Jargon File, a comprehensive compendium of hacker slang
    illuminating many aspects of hackish tradition, folklore, and humor.

    This document (the Jargon File) is in the public domain, to be freely
    used, shared, and modified. There are (by intention) no legal
    restraints on what you can do with it, but there are traditions about
    its proper use to which many hackers are quite strongly attached.
    Please extend the courtesy of proper citation when you quote the File,
    ideally with a version number, as it will change and grow over time.
    (Examples of appropriate citation form: "Jargon File 2.9.10" or
    "The on-line hacker Jargon File, version 2.9.10, 01 JUL 1992".)

    The Jargon File is a common heritage of the hacker culture.
    Over the years a number of individuals have volunteered considerable
    time to maintaining the File and been recognized by the net at large
    as editors of it. Editorial responsibilities include: to collate
    contributions and suggestions from others; to seek out corroborating
    information; to cross-reference related entries; to keep the file in a
    consistent format; and to announce and distribute updated versions
    periodically. Current volunteer editors include:

    Eric Raymond eric@snark.thyrsus.com (215)-296-5718

    Although there is no requirement that you do so, it is considered good
    form to check with an editor before quoting the File in a published work
    or commercial product. We may have additional information that would be
    helpful to you and can assist you in framing your quote to reflect
    not only the letter of the File but its spirit as well.

    All contributions and suggestions about this file sent to a volunteer
    editor are gratefully received and will be regarded, unless otherwise
    labelled, as freely given donations for possible use as part of this
    public-domain file.

    From time to time a snapshot of this file has been polished, edited,
    and formatted for commercial publication with the cooperation of the
    volunteer editors and the hacker community at large. If you wish to
    have a bound paper copy of this file, you may find it convenient to
    purchase one of these. They often contain additional material not
    found in on-line versions. The two `authorized' editions so far are
    described in the Revision History section; there may be more in the
    future.

    :Introduction:
    **************

    :About This File:
    =================

    This document is a collection of slang terms used by various subcultures
    of computer hackers. Though some technical material is included for
    background and flavor, it is not a technical dictionary; what we
    describe here is the language hackers use among themselves for fun,
    social communication, and technical debate.

    The `hacker culture' is actually a loosely networked collection of
    subcultures that is nevertheless conscious of some important shared
    experiences, shared roots, and shared values. It has its own myths,
    heroes, villains, folk epics, in-jokes, taboos, and dreams. Because
    hackers as a group are particularly creative people who define
    themselves partly by rejection of `normal' values and working habits, it
    has unusually rich and conscious traditions for an intentional culture
    less than 35 years old.

    As usual with slang, the special vocabulary of hackers helps hold their
    culture together — it helps hackers recognize each other's places in
    the community and expresses shared values and experiences. Also as
    usual, *not* knowing the slang (or using it inappropriately) defines one
    as an outsider, a mundane, or (worst of all in hackish vocabulary)
    possibly even a {suit}. All human cultures use slang in this threefold
    way — as a tool of communication, and of inclusion, and of exclusion.

    Among hackers, though, slang has a subtler aspect, paralleled perhaps in
    the slang of jazz musicians and some kinds of fine artists but hard to
    detect in most technical or scientific cultures; parts of it are code
    for shared states of *consciousness*. There is a whole range of altered
    states and problem-solving mental stances basic to high-level hacking
    which don't fit into conventional linguistic reality any better than a
    Coltrane solo or one of Maurits Escher's `trompe l'oeil' compositions
    (Escher is a favorite of hackers), and hacker slang encodes these
    subtleties in many unobvious ways. As a simple example, take the
    distinction between a {kluge} and an {elegant} solution, and the
    differing connotations attached to each. The distinction is not only of
    engineering significance; it reaches right back into the nature of the
    generative processes in program design and asserts something important
    about two different kinds of relationship between the hacker and the
    hack. Hacker slang is unusually rich in implications of this kind, of
    overtones and undertones that illuminate the hackish psyche.

    But there is more. Hackers, as a rule, love wordplay and are very
    conscious and inventive in their use of language. These traits seem to
    be common in young children, but the conformity-enforcing machine we are
    pleased to call an educational system bludgeons them out of most of us
    before adolescence. Thus, linguistic invention in most subcultures of
    the modern West is a halting and largely unconscious process. Hackers,
    by contrast, regard slang formation and use as a game to be played for
    conscious pleasure. Their inventions thus display an almost unique
    combination of the neotenous enjoyment of language-play with the
    discrimination of educated and powerful intelligence. Further, the
    electronic media which knit them together are fluid, `hot' connections,
    well adapted to both the dissemination of new slang and the ruthless
    culling of weak and superannuated specimens. The results of this
    process give us perhaps a uniquely intense and accelerated view of
    linguistic evolution in action.

    Hackish slang also challenges some common linguistic and
    anthropological assumptions. For example, it has recently become
    fashionable to speak of `low-context' versus `high-context'
    communication, and to classify cultures by the preferred context level
    of their languages and art forms. It is usually claimed that
    low-context communication (characterized by precision, clarity, and
    completeness of self-contained utterances) is typical in cultures
    which value logic, objectivity, individualism, and competition; by
    contrast, high-context communication (elliptical, emotive,
    nuance-filled, multi-modal, heavily coded) is associated with cultures
    which value subjectivity, consensus, cooperation, and tradition. What
    then are we to make of hackerdom, which is themed around extremely
    low-context interaction with computers and exhibits primarily
    "low-context" values, but cultivates an almost absurdly high-context
    slang style?

    The intensity and consciousness of hackish invention make a compilation
    of hacker slang a particularly effective window into the surrounding
    culture — and, in fact, this one is the latest version of an evolving
    compilation called the `Jargon File', maintained by hackers themselves
    for over 15 years. This one (like its ancestors) is primarily a
    lexicon, but also includes `topic entries' which collect background or
    sidelight information on hacker culture that would be awkward to try to
    subsume under individual entries.

    Though the format is that of a reference volume, it is intended that the
    material be enjoyable to browse. Even a complete outsider should find
    at least a chuckle on nearly every page, and much that is amusingly
    thought-provoking. But it is also true that hackers use humorous
    wordplay to make strong, sometimes combative statements about what they
    feel. Some of these entries reflect the views of opposing sides in
    disputes that have been genuinely passionate; this is deliberate. We
    have not tried to moderate or pretty up these disputes; rather we have
    attempted to ensure that *everyone's* sacred cows get gored,
    impartially. Compromise is not particularly a hackish virtue, but the
    honest presentation of divergent viewpoints is.

    The reader with minimal computer background who finds some references
    incomprehensibly technical can safely ignore them. We have not felt it
    either necessary or desirable to eliminate all such; they, too,
    contribute flavor, and one of this document's major intended audiences
    — fledgling hackers already partway inside the culture — will
    benefit from them.

    A selection of longer items of hacker folklore and humor is included in
    {appendix A}. The `outside' reader's attention is particularly directed
    to {appendix B}, "A Portrait of J. Random Hacker". {Appendix C} is a
    bibliography of non-technical works which have either influenced or
    described the hacker culture.

    Because hackerdom is an intentional culture (one each individual must
    choose by action to join), one should not be surprised that the line
    between description and influence can become more than a little blurred.
    Earlier versions of the Jargon File have played a central role in
    spreading hacker language and the culture that goes with it to
    successively larger populations, and we hope and expect that this one
    will do likewise.

    :Of Slang, Jargon, and Techspeak:
    =================================

    Linguists usually refer to informal language as `slang' and reserve the
    term `jargon' for the technical vocabularies of various occupations.
    However, the ancestor of this collection was called the `Jargon File',
    and hackish slang is traditionally `the jargon'. When talking about the
    jargon there is therefore no convenient way to distinguish what a
    *linguist* would call hackers' jargon — the formal vocabulary they
    learn from textbooks, technical papers, and manuals.

    To make a confused situation worse, the line between hackish slang and
    the vocabulary of technical programming and computer science is fuzzy,
    and shifts over time. Further, this vocabulary is shared with a wider
    technical culture of programmers, many of whom are not hackers and do
    not speak or recognize hackish slang.

    Accordingly, this lexicon will try to be as precise as the facts of
    usage permit about the distinctions among three categories:
    *`slang': informal language from mainstream English or non-technicalsubcultures (bikers, rock fans, surfers, etc).
    *`jargon': without qualifier, denotes informal `slangy' languagepeculiar to hackers — the subject of this lexicon.
    *`techspeak': the formal technical vocabulary of programming, computerscience, electronics, and other fields connected to hacking.

    This terminology will be consistently used throughout the remainder of
    this lexicon.

    The jargon/techspeak distinction is the delicate one. A lot of
    techspeak originated as jargon, and there is a steady continuing uptake
    of jargon into techspeak. On the other hand, a lot of jargon arises
    from overgeneralization of techspeak terms (there is more about this in
    the "Jargon Construction" section below).

    In general, we have considered techspeak any term that communicates
    primarily by a denotation well established in textbooks, technical
    dictionaries, or standards documents.

    A few obviously techspeak terms (names of operating systems, languages,
    or documents) are listed when they are tied to hacker folklore that
    isn't covered in formal sources, or sometimes to convey critical
    historical background necessary to understand other entries to which
    they are cross-referenced. Some other techspeak senses of jargon words
    are listed in order to make the jargon senses clear; where the text does
    not specify that a straight technical sense is under discussion, these
    are marked with `[techspeak]' as an etymology. Some entries have a
    primary sense marked this way, with subsequent jargon meanings explained
    in terms of it.

    We have also tried to indicate (where known) the apparent origins of
    terms. The results are probably the least reliable information in the
    lexicon, for several reasons. For one thing, it is well known that many
    hackish usages have been independently reinvented multiple times, even
    among the more obscure and intricate neologisms. It often seems that
    the generative processes underlying hackish jargon formation have an
    internal logic so powerful as to create substantial parallelism across
    separate cultures and even in different languages! For another, the
    networks tend to propagate innovations so quickly that `first use' is
    often impossible to pin down. And, finally, compendia like this one
    alter what they observe by implicitly stamping cultural approval on
    terms and widening their use.

    :Revision History:
    ==================

    The original Jargon File was a collection of hacker jargon from
    technical cultures including the MIT AI Lab, the Stanford AI lab (SAIL),
    and others of the old ARPANET AI/LISP/PDP-10 communities including Bolt,
    Beranek and Newman (BBN), Carnegie-Mellon University (CMU), and
    Worcester Polytechnic Institute (WPI).

    The Jargon File (hereafter referred to as `jargon-1' or `the File') was
    begun by Raphael Finkel at Stanford in 1975. From this time until the
    plug was finally pulled on the SAIL computer in 1991, the File was named
    AIWORD.RF[UP,DOC] there. Some terms in it date back considerably
    earlier ({frob} and some senses of {moby}, for instance, go back to the
    Tech Model Railroad Club at MIT and are believed to date at least back
    to the early 1960s). The revisions of jargon-1 were all unnumbered and
    may be collectively considered `Version 1'.

    In 1976, Mark Crispin, having seen an announcement about the File on the
    SAIL computer, {FTP}ed a copy of the File to MIT. He noticed that it
    was hardly restricted to `AI words' and so stored the file on his
    directory as AI:MRC;SAIL JARGON.

    The file was quickly renamed JARGON > (the `>' means numbered with a
    version number) as a flurry of enhancements were made by Mark Crispin
    and Guy L. Steele Jr. Unfortunately, amidst all this activity, nobody
    thought of correcting the term `jargon' to `slang' until the compendium
    had already become widely known as the Jargon File.

    Raphael Finkel dropped out of active participation shortly thereafter
    and Don Woods became the SAIL contact for the File (which was
    subsequently kept in duplicate at SAIL and MIT, with periodic
    resynchronizations).

    The File expanded by fits and starts until about 1983; Richard Stallman
    was prominent among the contributors, adding many MIT and ITS-related
    coinages.

    In Spring 1981, a hacker named Charles Spurgeon got a large chunk of the
    File published in Russell Brand's `CoEvolution Quarterly' (pages 26-35)
    with illustrations by Phil Wadler and Guy Steele (including a couple of
    the Crunchly cartoons). This appears to have been the File's first
    paper publication.

    A late version of jargon-1, expanded with commentary for the mass
    market, was edited by Guy Steele into a book published in 1983 as `The
    Hacker's Dictionary' (Harper & Row CN 1082, ISBN 0-06-091082-8). The
    other jargon-1 editors (Raphael Finkel, Don Woods, and Mark Crispin)
    contributed to this revision, as did Richard M. Stallman and Geoff
    Goodfellow. This book (now out of print) is hereafter referred to as
    `Steele-1983' and those six as the Steele-1983 coauthors.

    Shortly after the publication of Steele-1983, the File effectively
    stopped growing and changing. Originally, this was due to a desire to
    freeze the file temporarily to facilitate the production of Steele-1983,
    but external conditions caused the `temporary' freeze to become
    permanent.

    The AI Lab culture had been hit hard in the late 1970s by funding cuts
    and the resulting administrative decision to use vendor-supported
    hardware and software instead of homebrew whenever possible. At MIT,
    most AI work had turned to dedicated LISP Machines. At the same time,
    the commercialization of AI technology lured some of the AI Lab's best
    and brightest away to startups along the Route 128 strip in
    Massachusetts and out West in Silicon Valley. The startups built LISP
    machines for MIT; the central MIT-AI computer became a {TWENEX} system
    rather than a host for the AI hackers' beloved {ITS}.

    The Stanford AI Lab had effectively ceased to exist by 1980, although
    the SAIL computer continued as a Computer Science Department resource
    until 1991. Stanford became a major {TWENEX} site, at one point
    operating more than a dozen TOPS-20 systems; but by the mid-1980s most
    of the interesting software work was being done on the emerging BSD UNIX
    standard.

    In April 1983, the PDP-10-centered cultures that had nourished the File
    were dealt a death-blow by the cancellation of the Jupiter project at
    Digital Equipment Corporation. The File's compilers, already dispersed,
    moved on to other things. Steele-1983 was partly a monument to what its
    authors thought was a dying tradition; no one involved realized at the
    time just how wide its influence was to be.

    By the mid-1980s the File's content was dated, but the legend that had
    grown up around it never quite died out. The book, and softcopies
    obtained off the ARPANET, circulated even in cultures far removed from
    MIT and Stanford; the content exerted a strong and continuing influence
    on hackish language and humor. Even as the advent of the microcomputer
    and other trends fueled a tremendous expansion of hackerdom, the File
    (and related materials such as the AI Koans in Appendix A) came to be
    seen as a sort of sacred epic, a hacker-culture Matter of Britain
    chronicling the heroic exploits of the Knights of the Lab. The pace of
    change in hackerdom at large accelerated tremendously — but the Jargon
    File, having passed from living document to icon, remained essentially
    untouched for seven years.

    This revision contains nearly the entire text of a late version of
    jargon-1 (a few obsolete PDP-10-related entries were dropped after
    careful consultation with the editors of Steele-1983). It merges in
    about 80% of the Steele-1983 text, omitting some framing material and a
    very few entries introduced in Steele-1983 that are now also obsolete.

    This new version casts a wider net than the old Jargon File; its aim is
    to cover not just AI or PDP-10 hacker culture but all the technical
    computing cultures wherein the true hacker-nature is manifested. More
    than half of the entries now derive from {USENET} and represent jargon
    now current in the C and UNIX communities, but special efforts have been
    made to collect jargon from other cultures including IBM PC programmers,
    Amiga fans, Mac enthusiasts, and even the IBM mainframe world.

    Eric S. Raymond <eric@snark.thyrsus.com> maintains the new File with
    assistance from Guy L. Steele Jr. <gls@think.com>; these are the persons
    primarily reflected in the File's editorial `we', though we take
    pleasure in acknowledging the special contribution of the other
    coauthors of Steele-1983. Please email all additions, corrections, and
    correspondence relating to the Jargon File to jargon@thyrsus.com
    (UUCP-only sites without connections to an autorouting smart site can
    use …!uunet!snark!jargon).

    (Warning: other email addresses appear in this file *but are not
    guaranteed to be correct* later than the revision date on the first
    line. *Don't* email us if an attempt to reach your idol bounces — we
    have no magic way of checking addresses or looking up people.)

    The 2.9.6 version became the main text of `The New Hacker's Dictionary',
    by Eric Raymond (ed.), MIT Press 1991, ISBN 0-262-68069-6. The
    maintainers are committed to updating the on-line version of the Jargon
    File through and beyond paper publication, and will continue to make it
    available to archives and public-access sites as a trust of the hacker
    community.

    Here is a chronology of the high points in the recent on-line revisions:

    Version 2.1.1, Jun 12 1990: the Jargon File comes alive again after a
    seven-year hiatus. Reorganization and massive additions were by Eric S.
    Raymond, approved by Guy Steele. Many items of UNIX, C, USENET, and
    microcomputer-based jargon were added at that time (as well as The
    Untimely Demise of Mabel The Monkey).

    Version 2.9.6, Aug 16 1991: corresponds to reproduction copy for book.
    This version had 18952 lines, 148629 words, 975551 characters, and 1702
    entries.

    Version 2.9.8, Jan 01 1992: first public release since the book,
    including over fifty new entries and numerous corrections/additions to
    old ones. Packaged with version 1.1 of vh(1) hypertext reader. This
    version had 19509 lines, 153108 words, 1006023 characters, and 1760
    entries.

    Version 2.9.9, Apr 01 1992: folded in XEROX PARC lexicon. This version
    had 20298 lines, 159651 words, 1048909 characters, and 1821 entries.

    Version 2.9.10, Jul 01 1992: lots of new historical material. This
    version had 21349 lines, 168330 words, 1106991 characters, and 1891
    entries.

    Version numbering: Version numbers should be read as
    major.minor.revision. Major version 1 is reserved for the `old' (ITS)
    Jargon File, jargon-1. Major version 2 encompasses revisions by ESR
    (Eric S. Raymond) with assistance from GLS (Guy L. Steele, Jr.).
    Someday, the next maintainer will take over and spawn `version 3'.
    Usually later versions will either completely supersede or incorporate
    earlier versions, so there is generally no point in keeping old versions
    around.

    Our thanks to the coauthors of Steele-1983 for oversight and assistance,
    and to the hundreds of USENETters (too many to name here) who
    contributed entries and encouragement. More thanks go to several of the
    old-timers on the USENET group alt.folklore.computers, who contributed
    much useful commentary and many corrections and valuable historical
    perspective: Joseph M. Newcomer <jn11+@andrew.cmu.edu>, Bernie Cosell
    <cosell@bbn.com>, Earl Boebert <boebert@SCTC.com>, and Joe Morris
    <jcmorris@mwunix.mitre.org>.

    We were fortunate enough to have the aid of some accomplished linguists.
    David Stampe <stampe@uhunix.uhcc.hawaii.edu> and Charles Hoequist
    <hoequist@bnr.ca> contributed valuable criticism; Joe Keane
    <jgk@osc.osc.com> helped us improve the pronunciation guides.

    A few bits of this text quote previous works. We are indebted to Brian
    A. LaMacchia <bal@zurich.ai.mit.edu> for obtaining permission for us to
    use material from the `TMRC Dictionary'; also, Don Libes
    <libes@cme.nist.gov> contributed some appropriate material from his
    excellent book `Life With UNIX'. We thank Per Lindberg <per@front.se>,
    author of the remarkable Swedish-language 'zine `Hackerbladet', for
    bringing `FOO!' comics to our attention and smuggling one of the IBM
    hacker underground's own baby jargon files out to us. Thanks also to
    Maarten Litmaath for generously allowing the inclusion of the ASCII
    pronunciation guide he formerly maintained. And our gratitude to Marc
    Weiser of XEROX PARC <Marc_Weiser.PARC@xerox.com> for securing us
    permission to quote from PARC's own jargon lexicon and shipping us a
    copy.

    It is a particular pleasure to acknowledge the major contributions of
    Mark Brader <msb@sq.com> to the final manuscript; he read and reread
    many drafts, checked facts, caught typos, submitted an amazing number of
    thoughtful comments, and did yeoman service in catching typos and minor
    usage bobbles. Mr. Brader's rare combination of enthusiasm,
    persistence, wide-ranging technical knowledge, and precisionism in
    matters of language made his help invaluable, and the sustained volume
    and quality of his input over many months only allowed him to escape
    co-editor credit by the slimmest of margins.

    Finally, George V. Reilly <gvr@cs.brown.edu> helped with TeX arcana and
    painstakingly proofread some 2.7 and 2.8 versions; Steve Summit
    <scs@adam.mit.edu> contributed a number of excellent new entries and
    many small improvements to 2.9.10; and Eric Tiedemann <est@thyrsus.com>
    contributed sage advice throughout on rhetoric, amphigory, and
    philosophunculism.

    :How Jargon Works:
    ******************

    :Jargon Construction:
    =====================

    There are some standard methods of jargonification that became
    established quite early (i.e., before 1970), spreading from such sources
    as the Tech Model Railroad Club, the PDP-1 SPACEWAR hackers, and John
    McCarthy's original crew of LISPers. These include the following:

    :Verb Doubling: ————— A standard construction in English is to
    double a verb and use it as an exclamation, such as "Bang, bang!" or
    "Quack, quack!". Most of these are names for noises. Hackers also
    double verbs as a concise, sometimes sarcastic comment on what the
    implied subject does. Also, a doubled verb is often used to terminate a
    conversation, in the process remarking on the current state of affairs
    or what the speaker intends to do next. Typical examples involve {win},
    {lose}, {hack}, {flame}, {barf}, {chomp}:

    "The disk heads just crashed." "Lose, lose."
    "Mostly he talked about his latest crock. Flame, flame."
    "Boy, what a bagbiter! Chomp, chomp!"

    Some verb-doubled constructions have special meanings not immediately
    obvious from the verb. These have their own listings in the lexicon.

    The USENET culture has one *tripling* convention unrelated to this; the
    names of `joke' topic groups often have a tripled last element. The
    first and paradigmatic example was alt.swedish.chef.bork.bork.bork (a
    "Muppet Show" reference); other classics include
    alt.french.captain.borg.borg.borg, alt.wesley.crusher.die.die.die,
    comp.unix.internals.system.calls.brk.brk.brk,
    sci.physics.edward.teller.boom.boom.boom, and
    alt.sadistic.dentists.drill.drill.drill.

    :Soundalike slang: —————— Hackers will often make rhymes or
    puns in order to convert an ordinary word or phrase into something more
    interesting. It is considered particularly {flavorful} if the phrase is
    bent so as to include some other jargon word; thus the computer hobbyist
    magazine `Dr. Dobb's Journal' is almost always referred to among hackers
    as `Dr. Frob's Journal' or simply `Dr. Frob's'. Terms of this kind that
    have been in fairly wide use include names for newspapers:

    Boston Herald => Horrid (or Harried)
    Boston Globe => Boston Glob
    Houston (or San Francisco) Chronicle
    => the Crocknicle (or the Comical)
    New York Times => New York Slime

    However, terms like these are often made up on the spur of the moment.
    Standard examples include:

    Data General => Dirty Genitals
    IBM 360 => IBM Three-Sickly
    Government Property — Do Not Duplicate (on keys)
    => Government Duplicity — Do Not Propagate
    for historical reasons => for hysterical raisins
    Margaret Jacks Hall (the CS building at Stanford)
    => Marginal Hacks Hall

    This is not really similar to the Cockney rhyming slang it has been
    compared to in the past, because Cockney substitutions are opaque
    whereas hacker punning jargon is intentionally transparent.

    :The `-P' convention: ——————— Turning a word into a
    question by appending the syllable `P'; from the LISP convention of
    appending the letter `P' to denote a predicate (a boolean-valued
    function). The question should expect a yes/no answer, though it
    needn't. (See {T} and {NIL}.)

    At dinnertime:
    Q: "Foodp?"
    A: "Yeah, I'm pretty hungry." or "T!"

    At any time:
    Q: "State-of-the-world-P?"
    A: (Straight) "I'm about to go home."
    A: (Humorous) "Yes, the world has a state."

    On the phone to Florida:
    Q: "State-p Florida?"
    A: "Been reading JARGON.TXT again, eh?"

    [One of the best of these is a {Gosperism}. Once, when we were at a
    Chinese restaurant, Bill Gosper wanted to know whether someone would
    like to share with him a two-person-sized bowl of soup. His inquiry
    was: "Split-p soup?" — GLS]

    :Overgeneralization: ——————– A very conspicuous feature of
    jargon is the frequency with which techspeak items such as names of
    program tools, command language primitives, and even assembler opcodes
    are applied to contexts outside of computing wherever hackers find
    amusing analogies to them. Thus (to cite one of the best-known
    examples) UNIX hackers often {grep} for things rather than searching for
    them. Many of the lexicon entries are generalizations of exactly this
    kind.

    Hackers enjoy overgeneralization on the grammatical level as well. Many
    hackers love to take various words and add the wrong endings to them to
    make nouns and verbs, often by extending a standard rule to nonuniform
    cases (or vice versa). For example, because

    porous => porosity
    generous => generosity

    hackers happily generalize:

    mysterious => mysteriosity
    ferrous => ferrosity
    obvious => obviosity
    dubious => dubiosity

    Also, note that all nouns can be verbed. E.g.: "All nouns can be
    verbed", "I'll mouse it up", "Hang on while I clipboard it over", "I'm
    grepping the files". English as a whole is already heading in this
    direction (towards pure-positional grammar like Chinese); hackers are
    simply a bit ahead of the curve.

    However, note that hackers avoid the unimaginative verb-making
    techniques characteristic of marketroids, bean-counters, and the
    Pentagon; a hacker would never, for example, `productize', `prioritize',
    or `securitize' things. Hackers have a strong aversion to bureaucratic
    bafflegab and regard those who use it with contempt.

    Similarly, all verbs can be nouned. This is only a slight
    overgeneralization in modern English; in hackish, however, it is good
    form to mark them in some standard nonstandard way. Thus:

    win => winnitude, winnage
    disgust => disgustitude
    hack => hackification

    Further, note the prevalence of certain kinds of nonstandard plural
    forms. Some of these go back quite a ways; the TMRC Dictionary noted
    that the defined plural of `caboose' is `cabeese', and includes an entry
    which implies that the plural of `mouse' is {meeces}. On a similarly
    Anglo-Saxon note, almost anything ending in `x' may form plurals in
    `-xen' (see {VAXen} and {boxen} in the main text). Even words ending in
    phonetic /k/ alone are sometimes treated this way; e.g., `soxen' for a
    bunch of socks. Other funny plurals are `frobbotzim' for the plural of
    `frobbozz' (see {frobnitz}) and `Unices' and `Twenices' (rather than
    `Unixes' and `Twenexes'; see {UNIX}, {TWENEX} in main text). But note
    that `Unixen' and `Twenexen' are never used; it has been suggested that
    this is because `-ix' and `-ex' are Latin singular endings that attract
    a Latinate plural. Finally, it has been suggested to general approval
    that the plural of `mongoose' ought to be `polygoose'.

    The pattern here, as with other hackish grammatical quirks, is
    generalization of an inflectional rule that in English is either an
    import or a fossil (such as the Hebrew plural ending `-im', or the
    Anglo-Saxon plural suffix `-en') to cases where it isn't normally
    considered to apply.

    This is not `poor grammar', as hackers are generally quite well aware of
    what they are doing when they distort the language. It is grammatical
    creativity, a form of playfulness. It is done not to impress but to
    amuse, and never at the expense of clarity.

    :Spoken inarticulations: ———————— Words such as
    `mumble', `sigh', and `groan' are spoken in places where their referent
    might more naturally be used. It has been suggested that this usage
    derives from the impossibility of representing such noises on a comm
    link or in electronic mail (interestingly, the same sorts of
    constructions have been showing up with increasing frequency in comic
    strips). Another expression sometimes heard is "Complain!", meaning "I
    have a complaint!"

    :Anthromorphization: ——————– Semantically, one rich source
    of jargon constructions is the hackish tendency to anthropomorphize
    hardware and software. This isn't done in a na"ive way; hackers don't
    personalize their stuff in the sense of feeling empathy with it, nor do
    they mystically believe that the things they work on every day are
    `alive'. What *is* common is to hear hardware or software talked about
    as though it has homunculi talking to each other inside it, with
    intentions and desires. Thus, one hears "The protocol handler got
    confused", or that programs "are trying" to do things, or one may say of
    a routine that "its goal in life is to X". One even hears explanations
    like "… and its poor little brain couldn't understand X, and it
    died." Sometimes modelling things this way actually seems to make them
    easier to understand, perhaps because it's instinctively natural to
    think of anything with a really complex behavioral repertoire as `like a
    person' rather than `like a thing'.

    Of the six listed constructions, verb doubling, peculiar noun
    formations, anthromorphization, and (especially) spoken inarticulations
    have become quite general; but punning jargon is still largely confined
    to MIT and other large universities, and the `-P' convention is found
    only where LISPers flourish.

    Finally, note that many words in hacker jargon have to be understood as
    members of sets of comparatives. This is especially true of the
    adjectives and nouns used to describe the beauty and functional quality
    of code. Here is an approximately correct spectrum:

    monstrosity brain-damage screw bug lose misfeature
    crock kluge hack win feature elegance perfection

    The last is spoken of as a mythical absolute, approximated but never
    actually attained. Another similar scale is used for describing the
    reliability of software:

    broken flaky dodgy fragile brittle
    solid robust bulletproof armor-plated

    Note, however, that `dodgy' is primarily Commonwealth hackish (it is
    rare in the U.S.) and may change places with `flaky' for some speakers.

    Coinages for describing {lossage} seem to call forth the very finest in
    hackish linguistic inventiveness; it has been truly said that hackers
    have even more words for equipment failures than Yiddish has for
    obnoxious people.

    :Hacker Writing Style:
    ======================

    We've already seen that hackers often coin jargon by overgeneralizing
    grammatical rules. This is one aspect of a more general fondness for
    form-versus-content language jokes that shows up particularly in hackish
    writing. One correspondent reports that he consistently misspells
    `wrong' as `worng'. Others have been known to criticize glitches in
    Jargon File drafts by observing (in the mode of Douglas Hofstadter)
    "This sentence no verb", or "Bad speling", or "Incorrectspa cing."
    Similarly, intentional spoonerisms are often made of phrases relating to
    confusion or things that are confusing; `dain bramage' for `brain
    damage' is perhaps the most common (similarly, a hacker would be likely
    to write "Excuse me, I'm cixelsyd today", rather than "I'm dyslexic
    today"). This sort of thing is quite common and is enjoyed by all
    concerned.

    Hackers tend to use quotes as balanced delimiters like parentheses, much
    to the dismay of American editors. Thus, if "Jim is going" is a phrase,
    and so are "Bill runs" and "Spock groks", then hackers generally prefer
    to write: "Jim is going", "Bill runs", and "Spock groks". This is
    incorrect according to standard American usage (which would put the
    continuation commas and the final period inside the string quotes);
    however, it is counter-intuitive to hackers to mutilate literal strings
    with characters that don't belong in them. Given the sorts of examples
    that can come up in discussions of programming, American-style quoting
    can even be grossly misleading. When communicating command lines or
    small pieces of code, extra characters can be a real pain in the neck.

    Consider, for example, a sentence in a {vi} tutorial that looks like this:

    Then delete a line from the file by typing "dd".

    Standard usage would make this

    Then delete a line from the file by typing "dd."

    but that would be very bad — because the reader would be prone to type
    the string d-d-dot, and it happens that in `vi(1)' dot repeats the last
    command accepted. The net result would be to delete *two* lines!

    The Jargon File follows hackish usage throughout.

    Interestingly, a similar style is now preferred practice in Great
    Britain, though the older style (which became established for
    typographical reasons having to do with the aesthetics of comma and
    quotes in typeset text) is still accepted there. `Hart's Rules' and the
    `Oxford Dictionary for Writers and Editors' call the hacker-like style
    `new' or `logical' quoting.

    Another hacker quirk is a tendency to distinguish between `scare' quotes
    and `speech' quotes; that is, to use British-style single quotes for
    marking and reserve American-style double quotes for actual reports of
    speech or text included from elsewhere. Interestingly, some authorities
    describe this as correct general usage, but mainstream American English
    has gone to using double-quotes indiscriminately enough that hacker
    usage appears marked [and, in fact, I thought this was a personal quirk
    of mine until I checked with USENET — ESR]. One further permutation
    that is definitely *not* standard is a hackish tendency to do marking
    quotes by using apostrophes (single quotes) in pairs; that is, 'like
    this'. This is modelled on string and character literal syntax in some
    programming languages (reinforced by the fact that many character-only
    terminals display the apostrophe in typewriter style, as a vertical
    single quote).

    One quirk that shows up frequently in the {email} style of UNIX hackers
    in particular is a tendency for some things that are normally
    all-lowercase (including usernames and the names of commands and C
    routines) to remain uncapitalized even when they occur at the beginning
    of sentences. It is clear that, for many hackers, the case of such
    identifiers becomes a part of their internal representation (the
    `spelling') and cannot be overridden without mental effort (an
    appropriate reflex because UNIX and C both distinguish cases and
    confusing them can lead to {lossage}). A way of escaping this dilemma
    is simply to avoid using these constructions at the beginning of
    sentences.

    There seems to be a meta-rule behind these nonstandard hackerisms to the
    effect that precision of expression is more important than conformance
    to traditional rules; where the latter create ambiguity or lose
    information they can be discarded without a second thought. It is
    notable in this respect that other hackish inventions (for example, in
    vocabulary) also tend to carry very precise shades of meaning even when
    constructed to appear slangy and loose. In fact, to a hacker, the
    contrast between `loose' form and `tight' content in jargon is a
    substantial part of its humor!

    Hackers have also developed a number of punctuation and emphasis
    conventions adapted to single-font all-ASCII communications links, and
    these are occasionally carried over into written documents even when
    normal means of font changes, underlining, and the like are available.

    One of these is that TEXT IN ALL CAPS IS INTERPRETED AS `LOUD', and this
    becomes such an ingrained synesthetic reflex that a person who goes to
    caps-lock while in {talk mode} may be asked to "stop shouting, please,
    you're hurting my ears!".

    Also, it is common to use bracketing with unusual characters to signify
    emphasis. The asterisk is most common, as in "What the *hell*?" even
    though this interferes with the common use of the asterisk suffix as a
    footnote mark. The underscore is also common, suggesting underlining
    (this is particularly common with book titles; for example, "It is often
    alleged that Joe Haldeman wrote _The_Forever_War_ as a rebuttal to
    Robert Heinlein's earlier novel of the future military,
    _Starship_Troopers_."). Other forms exemplified by "=hell=", "hell/",
    or "/hell/" are occasionally seen (it's claimed that in the last example
    the first slash pushes the letters over to the right to make them
    italic, and the second keeps them from falling over). Finally, words
    may also be emphasized L I K E T H I S, or by a series of carets (^)
    under them on the next line of the text.

    There is a semantic difference between *emphasis like this* (which
    emphasizes the phrase as a whole), and *emphasis* *like* *this* (which
    suggests the writer speaking very slowly and distinctly, as if to a
    very young child or a mentally impaired person). Bracketing a word with
    the `*' character may also indicate that the writer wishes readers to
    consider that an action is taking place or that a sound is being made.
    Examples: *bang*, *hic*, *ring*, *grin*, *kick*, *stomp*, *mumble*.

    There is also an accepted convention for `writing under erasure'; the
    text

    Be nice to this fool^H^H^H^Hgentleman, he's in from corporate HQ.

    would be read as "Be nice to this fool, I mean this gentleman…". This
    comes from the fact that the digraph ^H is often used as a print
    representation for a backspace. It parallels (and may have been
    influenced by) the ironic use of `slashouts' in science-fiction
    fanzines.

    In a formula, `*' signifies multiplication but two asterisks in a row
    are a shorthand for exponentiation (this derives from FORTRAN). Thus,
    one might write 2 ** 8 = 256.

    Another notation for exponentiation one sees more frequently uses the
    caret (^, ASCII 1011110); one might write instead `2^8 = 256'. This
    goes all the way back to Algol-60, which used the archaic ASCII
    `up-arrow' that later became the caret; this was picked up by Kemeny and
    Kurtz's original BASIC, which in turn influenced the design of the
    `bc(1)' and `dc(1)' UNIX tools, which have probably done most to
    reinforce the convention on USENET. The notation is mildly confusing to
    C programmers, because `^' means bitwise {XOR} in C. Despite this, it
    was favored 3:1 over ** in a late-1990 snapshot of USENET. It is used
    consistently in this text.

    In on-line exchanges, hackers tend to use decimal forms or improper
    fractions (`3.5' or `7/2') rather than `typewriter style' mixed
    fractions (`3-1/2'). The major motive here is probably that the former
    are more readable in a monospaced font, together with a desire to avoid
    the risk that the latter might be read as `three minus one-half'. The
    decimal form is definitely preferred for fractions with a terminating
    decimal representation; there may be some cultural influence here from
    the high status of scientific notation.

    Another on-line convention, used especially for very large or very small
    numbers, is taken from C (which derived it from FORTRAN). This is a
    form of `scientific notation' using `e' to replace `*10^'; for example,
    one year is about 3e7 seconds long.

    The tilde (~) is commonly used in a quantifying sense of
    `approximately'; that is, `~50' means `about fifty'.

    On USENET and in the {MUD} world, common C boolean, logical, and
    relational operators such as `|', `&', `||', `&&', `!', `==', `!=', `>',
    and `<', `>=', and `=<' are often combined with English. The Pascal
    not-equals, `<>', is also recognized, and occasionally one sees `/=' for
    not-equals (from Ada, Common Lisp, and Fortran 90). The use of prefix
    `!' as a loose synonym for `not-' or `no-' is particularly common; thus,
    `!clue' is read `no-clue' or `clueless'.

    A related practice borrows syntax from preferred programming languages
    to express ideas in a natural-language text. For example, one might
    see the following:

    I resently had occasion to field-test the Snafu
    Systems 2300E adaptive gonkulator. The price was
    right, and the racing stripe on the case looked kind
    of neat, but its performance left something to be
    desired.

    #ifdef FLAME
    Hasn't anyone told those idiots that you can't get
    decent bogon suppression with AFJ filters at today's
    net speeds?
    #endif /* FLAME */

    I guess they figured the price premium for true
    frame-based semantic analysis was too high.
    Unfortunately, it's also the only workable approach.
    I wouldn't recommend purchase of this product unless
    you're on a *very* tight budget.

    #include <disclaimer.h>
    —
    == Frank Foonly (Fubarco Systems)

    In the above, the `#ifdef'/`#endif' pair is a conditional
    compilation syntax from C; here, it implies that the text between
    (which is a {flame}) should be evaluated only if you have turned on
    (or defined on) the switch FLAME. The `#include' at the end is C
    for "include standard disclaimer here"; the `standard disclaimer' is
    understood to read, roughly, "These are my personal opinions and not
    to be construed as the official position of my employer."

    Another habit is that of using angle-bracket enclosure to genericize a
    term; this derives from conventions used in {BNF}. Uses like the
    following are common:

    So this <ethnic> walks into a bar one day, and…

    Hackers also mix letters and numbers more freely than in mainstream
    usage. In particular, it is good hackish style to write a digit
    sequence where you intend the reader to understand the text string that
    names that number in English. So, hackers prefer to write `1970s'
    rather than `nineteen-seventies' or `1970's' (the latter looks like a
    possessive).

    It should also be noted that hackers exhibit much less reluctance to use
    multiply nested parentheses than is normal in English. Part of this is
    almost certainly due to influence from LISP (which uses deeply nested
    parentheses (like this (see?)) in its syntax a lot), but it has also
    been suggested that a more basic hacker trait of enjoying playing with
    complexity and pushing systems to their limits is in operation.

    One area where hackish conventions for on-line writing are still in some
    flux is the marking of included material from earlier messages — what
    would be called `block quotations' in ordinary English. From the usual
    typographic convention employed for these (smaller font at an extra
    indent), there derived the notation of included text being indented by
    one ASCII TAB (0001001) character, which under UNIX and many other
    environments gives the appearance of an 8-space indent.

    Early mail and netnews readers had no facility for including messages
    this way, so people had to paste in copy manually. BSD `Mail(1)' was
    the first message agent to support inclusion, and early USENETters
    emulated its style. But the TAB character tended to push included text
    too far to the right (especially in multiply nested inclusions), leading
    to ugly wraparounds. After a brief period of confusion (during which an
    inclusion leader consisting of three or four spaces became established
    in EMACS and a few mailers), the use of leading `>' or `> ' became
    standard, perhaps owing to its use in `ed(1)' to display tabs
    (alternatively, it may derive from the `>' that some early UNIX mailers
    used to quote lines starting with "From" in text, so they wouldn't look
    like the beginnings of new message headers). Inclusions within
    inclusions keep their `>' leaders, so the `nesting level' of a quotation
    is visually apparent.

    A few other idiosyncratic quoting styles survive because they are
    automatically generated. One particularly ugly one looks like this:

    /* Written hh:mm pm Mmm dd, yyyy by user@site in <group> */
    /* ———- "Article subject, chopped to 35 ch" ———- */
    <quoted text>
    /* End of text from local:group */

    It is generated by an elderly, variant news-reading system called
    `notesfiles'. The overall trend, however, is definitely away from such
    verbosity.

    The practice of including text from the parent article when posting a
    followup helped solve what had been a major nuisance on USENET: the fact
    that articles do not arrive at different sites in the same order.
    Careless posters used to post articles that would begin with, or even
    consist entirely of, "No, that's wrong" or "I agree" or the like. It
    was hard to see who was responding to what. Consequently, around 1984,
    new news-posting software evolved a facility to automatically include
    the text of a previous article, marked with "> " or whatever the poster
    chose. The poster was expected to delete all but the relevant lines.
    The result has been that, now, careless posters post articles containing
    the *entire* text of a preceding article, *followed* only by "No, that's
    wrong" or "I agree".

    Many people feel that this cure is worse than the original disease, and
    there soon appeared newsreader software designed to let the reader skip
    over included text if desired. Today, some posting software rejects
    articles containing too high a proportion of lines beginning with `>' —
    but this too has led to undesirable workarounds, such as the deliberate
    inclusion of zero-content filler lines which aren't quoted and thus pull
    the message below the rejection threshold.

    Because the default mailers supplied with UNIX and other operating
    systems haven't evolved as quickly as human usage, the older conventions
    using a leading TAB or three or four spaces are still alive; however,
    >-inclusion is now clearly the prevalent form in both netnews and mail.

    In 1991 practice is still evolving, and disputes over the `correct'
    inclusion style occasionally lead to {holy wars}. One variant style
    reported uses the citation character `|' in place of `>' for extended
    quotations where original variations in indentation are being retained.
    One also sees different styles of quoting a number of authors in the
    same message: one (deprecated because it loses information) uses a
    leader of `> ' for everyone, another (the most common) is `> > > > ', `>
    > > ', etc. (or `>>>> ', `>>> ', etc., depending on line length and
    nesting depth) reflecting the original order of messages, and yet
    another is to use a different citation leader for each author, say `> ',
    `: ', `| ', `} ' (preserving nesting so that the inclusion order of
    messages is still apparent, or tagging the inclusions with authors'
    names). Yet *another* style is to use each poster's initials (or login
    name) as a citation leader for that poster. Occasionally one sees a `#
    ' leader used for quotations from authoritative sources such as
    standards documents; the intended allusion is to the root prompt (the
    special UNIX command prompt issued when one is running as the privileged
    super-user).

    Finally, it is worth mentioning that many studies of on-line
    communication have shown that electronic links have a de-inhibiting
    effect on people. Deprived of the body-language cues through which
    emotional state is expressed, people tend to forget everything about
    other parties except what is presented over that ASCII link. This has
    both good and bad effects. The good one is that it encourages honesty
    and tends to break down hierarchical authority relationships; the bad is
    that it may encourage depersonalization and gratuitous rudeness.
    Perhaps in response to this, experienced netters often display a sort of
    conscious formal politesse in their writing that has passed out of
    fashion in other spoken and written media (for example, the phrase "Well
    said, sir!" is not uncommon).

    Many introverted hackers who are next to inarticulate in person
    communicate with considerable fluency over the net, perhaps precisely
    because they can forget on an unconscious level that they are dealing
    with people and thus don't feel stressed and anxious as they would face
    to face.

    Though it is considered gauche to publicly criticize posters for poor
    spelling or grammar, the network places a premium on literacy and
    clarity of expression. It may well be that future historians of
    literature will see in it a revival of the great tradition of personal
    letters as art.

    :Hacker Speech Style:
    =====================

    Hackish speech generally features extremely precise diction, careful
    word choice, a relatively large working vocabulary, and relatively
    little use of contractions or street slang. Dry humor, irony, puns, and
    a mildly flippant attitude are highly valued — but an underlying
    seriousness and intelligence are essential. One should use just enough
    jargon to communicate precisely and identify oneself as a member of the
    culture; overuse of jargon or a breathless, excessively gung-ho attitude
    is considered tacky and the mark of a loser.

    This speech style is a variety of the precisionist English normally
    spoken by scientists, design engineers, and academics in technical
    fields. In contrast with the methods of jargon construction, it is
    fairly constant throughout hackerdom.

    It has been observed that many hackers are confused by negative
    questions — or, at least, that the people to whom they are talking are
    often confused by the sense of their answers. The problem is that they
    have done so much programming that distinguishes between

    if (going) {

    and

    if (!going) {

    that when they parse the question "Aren't you going?" it seems to be
    asking the opposite question from "Are you going?", and so merits an
    answer in the opposite sense. This confuses English-speaking
    non-hackers because they were taught to answer as though the negative
    part weren't there. In some other languages (including Russian,
    Chinese, and Japanese) the hackish interpretation is standard and the
    problem wouldn't arise. Hackers often find themselves wishing for a
    word like French `si' or German `doch' with which one could
    unambiguously answer `yes' to a negative question.

    For similar reasons, English-speaking hackers almost never use double
    negatives, even if they live in a region where colloquial usage allows
    them. The thought of uttering something that logically ought to be an
    affirmative knowing it will be misparsed as a negative tends to disturb
    them.

    Here's a related quirk. A non-hacker who is indelicate enough to ask
    a question like "So, are you working on finding that bug *now*
    or leaving it until later?" is likely to get the perfectly correct
    answer "Yes!" (that is, "Yes, I'm doing it either now or later, and
    you didn't ask which!").

    :International Style:
    =====================

    Although the Jargon File remains primarily a lexicon of hacker usage in
    American English, we have made some effort to get input from abroad.
    Though the hacker-speak of other languages often uses translations of
    jargon from English (often as transmitted to them by earlier Jargon File
    versions!), the local variations are interesting, and knowledge of them
    may be of some use to travelling hackers.

    There are some references herein to `Commonwealth English'. These are
    intended to describe some variations in hacker usage as reported in the
    English spoken in Great Britain and the Commonwealth (Canada, Australia,
    India, etc. — though Canada is heavily influenced by American usage).
    There is also an entry on {{Commonwealth Hackish}} reporting some
    general phonetic and vocabulary differences from U.S. hackish.

    Hackers in Western Europe and (especially) Scandinavia are reported to
    often use a mixture of English and their native languages for technical
    conversation. Occasionally they develop idioms in their English usage
    that are influenced by their native-language styles. Some of these are
    reported here.

    A few notes on hackish usages in Russian have been added where they are
    parallel with English idioms and thus comprehensible to
    English-speakers.

    :How to Use the Lexicon:
    ************************

    :Pronunciation Guide:
    =====================

    Pronunciation keys are provided in the jargon listings for all entries
    that are neither dictionary words pronounced as in standard English nor
    obvious compounds thereof. Slashes bracket phonetic pronunciations,
    which are to be interpreted using the following conventions:

    1. Syllables are hyphen-separated, except that an accent or back-accent
    follows each accented syllable (the back-accent marks a secondary
    accent in some words of four or more syllables).

    2. Consonants are pronounced as in American English. The letter `g' is
    always hard (as in "got" rather than "giant"); `ch' is soft
    ("church" rather than "chemist"). The letter `j' is the sound
    that occurs twice in "judge". The letter `s' is always as in
    "pass", never a z sound. The digraph `kh' is the guttural of
    "loch" or "l'chaim".

    3. Uppercase letters are pronounced as their English letter names; thus
    (for example) /H-L-L/ is equivalent to /aitch el el/. /Z/ may
    be pronounced /zee/ or /zed/ depending on your local dialect.

    4. Vowels are represented as follows:

    a
    back, that
    ar
    far, mark
    aw
    flaw, caught
    ay
    bake, rain
    e
    less, men
    ee
    easy, ski
    eir
    their, software
    i
    trip, hit
    i:
    life, sky
    o
    father, palm
    oh
    flow, sew
    oo
    loot, through
    or
    more, door
    ow
    out, how
    oy
    boy, coin
    uh
    but, some
    u
    put, foot
    y
    yet, young
    yoo
    few, chew
    [y]oo
    /oo/ with optional fronting as in `news' (/nooz/ or /nyooz/)

    A /*/ is used for the `schwa' sound of unstressed or occluded vowels
    (the one that is often written with an upside-down `e'). The schwa
    vowel is omitted in syllables containing vocalic r, l, m or n; that is,
    `kitten' and `color' would be rendered /kit'n/ and /kuhl'r/, not
    /kit'*n/ and /kuhl'*r/.

    Entries with a pronunciation of `//' are written-only usages. (No, UNIX
    weenies, this does *not* mean `pronounce like previous pronunciation'!)

    :Other Lexicon Conventions:
    ===========================

    Entries are sorted in case-blind ASCII collation order (rather than the
    letter-by-letter order ignoring interword spacing common in mainstream
    dictionaries), except that all entries beginning with nonalphabetic
    characters are sorted after Z. The case-blindness is a feature, not a
    bug.

    The beginning of each entry is marked by a colon (`:') at the
    left margin. This convention helps out tools like hypertext browsers
    that benefit from knowing where entry boundaries are, but aren't as
    context-sensitive as humans.

    In pure ASCII renderings of the Jargon File, you will see {} used to
    bracket words which themselves have entries in the File. This isn't
    done all the time for every such word, but it is done everywhere that a
    reminder seems useful that the term has a jargon meaning and one might
    wish to refer to its entry.

    In this all-ASCII version, headwords for topic entries are distinguished
    from those for ordinary entries by being followed by "::" rather than
    ":"; similarly, references are surrounded by "{{" and "}}" rather than
    "{" and "}".

    Defining instances of terms and phrases appear in `slanted type'. A
    defining instance is one which occurs near to or as part of an
    explanation of it.

    Prefix * is used as linguists do; to mark examples of incorrect usage.

    We follow the `logical' quoting convention described in the Writing
    Style section above. In addition, we reserve double quotes for actual
    excerpts of text or (sometimes invented) speech. Scare quotes (which
    mark a word being used in a nonstandard way), and philosopher's quotes
    (which turn an utterance into the string of letters or words that name
    it) are both rendered with single quotes.

    References such as `malloc(3)' and `patch(1)' are to UNIX facilities
    (some of which, such as `patch(1)', are actually freeware distributed
    over USENET). The UNIX manuals use `foo(n)' to refer to item foo in
    section (n) of the manual, where n=1 is utilities, n=2 is system calls,
    n=3 is C library routines, n=6 is games, and n=8 (where present) is
    system administration utilities. Sections 4, 5, and 7 of the manuals
    have changed roles frequently and in any case are not referred to in any
    of the entries.

    Various abbreviations used frequently in the lexicon are summarized here:

    abbrev.
    abbreviation
    adj.
    adjective
    adv.
    adverb
    alt.
    alternate
    cav.
    caveat
    esp.
    especially
    excl.
    exclamation
    imp.
    imperative
    interj.
    interjection
    n.
    noun
    obs.
    obsolete
    pl.
    plural
    poss.
    possibly
    pref.
    prefix
    prob.
    probably
    prov.
    proverbial
    quant.
    quantifier
    suff.
    suffix
    syn.
    synonym (or synonymous with)
    v.
    verb (may be transitive or intransitive)
    var.
    variant
    vi.
    intransitive verb
    vt.
    transitive verb

    Where alternate spellings or pronunciations are given, alt.
    separates two possibilities with nearly equal distribution, while
    var. prefixes one that is markedly less common than the primary.

    Where a term can be attributed to a particular subculture or is known
    to have originated there, we have tried to so indicate. Here is a
    list of abbreviations used in etymologies:

    Berkeley
    University of California at Berkeley
    Cambridge
    the university in England (*not* the city in Massachusetts where
    MIT happens to be located!)
    BBN
    Bolt, Beranek & Newman
    CMU
    Carnegie-Mellon University
    Commodore
    Commodore Business Machines
    DEC
    The Digital Equipment Corporation
    Fairchild
    The Fairchild Instruments Palo Alto development group
    Fidonet
    See the {Fidonet} entry
    IBM
    International Business Machines
    MIT
    Massachusetts Institute of Technology; esp. the legendary MIT AI Lab
    culture of roughly 1971 to 1983 and its feeder groups, including the
    Tech Model Railroad Club
    NRL
    Naval Research Laboratories
    NYU
    New York University
    OED
    The Oxford English Dictionary
    Purdue
    Purdue University
    SAIL
    Stanford Artificial Intelligence Laboratory (at Stanford
    University)
    SI
    From Syst`eme International, the name for the standard
    conventions of metric nomenclature used in the sciences
    Stanford
    Stanford University
    Sun
    Sun Microsystems
    TMRC
    Some MITisms go back as far as the Tech Model Railroad Club (TMRC) at
    MIT c. 1960. Material marked TMRC is from `An Abridged Dictionary
    of the TMRC Language', originally compiled by Pete Samson in 1959
    UCLA
    University of California at Los Angeles
    UK
    the United Kingdom (England, Wales, Scotland, Northern Ireland)
    USENET
    See the {USENET} entry
    WPI
    Worcester Polytechnic Institute, site of a very active community of
    PDP-10 hackers during the 1970s
    XEROX PARC
    XEROX's Palo Alto Research Center, site of much pioneering research in
    user interface design and networking
    Yale
    Yale University

    Some other etymology abbreviations such as {UNIX} and {PDP-10}
    refer to technical cultures surrounding specific operating systems,
    processors, or other environments. The fact that a term is labelled
    with any one of these abbreviations does not necessarily mean its use
    is confined to that culture. In particular, many terms labelled `MIT'
    and `Stanford' are in quite general use. We have tried to give some
    indication of the distribution of speakers in the usage notes;
    however, a number of factors mentioned in the introduction conspire to
    make these indications less definite than might be desirable.

    A few new definitions attached to entries are marked [proposed].
    These are usually generalizations suggested by editors or USENET
    respondents in the process of commenting on previous definitions of
    those entries. These are *not* represented as established
    jargon.

    :Format For New Entries:
    ========================

    All contributions and suggestions about the Jargon File will be
    considered donations to be placed in the public domain as part of this
    File, and may be used in subsequent paper editions. Submissions may
    be edited for accuracy, clarity and concision.

    Try to conform to the format already being used — head-words
    separated from text by a colon (double colon for topic entries),
    cross-references in curly brackets (doubled for topic entries),
    pronunciations in slashes, etymologies in square brackets,
    single-space after definition numbers and word classes, etc. Stick to
    the standard ASCII character set (7-bit printable, no high-half
    characters or [nt]roff/TeX/Scribe escapes), as one of the versions
    generated from the master file is an info document that has to be
    viewable on a character tty.

    We are looking to expand the file's range of technical specialties covered.
    There are doubtless rich veins of jargon yet untapped in the scientific
    computing, graphics, and networking hacker communities; also in numerical
    analysis, computer architectures and VLSI design, language design, and many
    other related fields. Send us your jargon!

    We are *not* interested in straight technical terms explained by
    textbooks or technical dictionaries unless an entry illuminates
    `underground' meanings or aspects not covered by official histories.
    We are also not interested in `joke' entries — there is a lot of
    humor in the file but it must flow naturally out of the explanations
    of what hackers do and how they think.

    It is OK to submit items of jargon you have originated if they have spread
    to the point of being used by people who are not personally acquainted with
    you. We prefer items to be attested by independent submission from two
    different sites.

    The Jargon File will be regularly maintained and re-posted from now on
    and will include a version number. Read it, pass it around,
    contribute — this is *your* monument!

    The Jargon Lexicon
    ******************

    = A =
    =====

    :abbrev: /*-breev'/, /*-brev'/ n. Common abbreviation for
    `abbreviation'.

    :ABEND: [ABnormal END] /ah'bend/, /*-bend'/ n. Abnormal
    termination (of software); {crash}; {lossage}. Derives from an
    error message on the IBM 360; used jokingly by hackers but
    seriously mainly by {code grinder}s. Usually capitalized, but may
    appear as `abend'. Hackers will try to persuade you that ABEND is
    called `abend' because it is what system operators do to the
    machine late on Friday when they want to call it a day, and hence
    is from the German `Abend' = `Evening'.

    :accumulator: n. 1. Archaic term for a register. On-line use of it
    as a synonym for `register' is a fairly reliable indication that
    the user has been around for quite a while and/or that the
    architecture under discussion is quite old. The term in full is
    almost never used of microprocessor registers, for example, though
    symbolic names for arithmetic registers beginning in `A' derive
    from historical use of the term `accumulator' (and not, actually,
    from `arithmetic'). Confusingly, though, an `A' register name
    prefix may also stand for `address', as for example on the
    Motorola 680×0 family. 2. A register being used for arithmetic or
    logic (as opposed to addressing or a loop index), especially one
    being used to accumulate a sum or count of many items. This use is
    in context of a particular routine or stretch of code. "The
    FOOBAZ routine uses A3 as an accumulator." 3. One's in-basket
    (esp. among old-timers who might use sense 1). "You want this
    reviewed? Sure, just put it in the accumulator." (See {stack}.)

    :ACK: /ak/ interj. 1. [from the ASCII mnemonic for 0000110]
    Acknowledge. Used to register one's presence (compare mainstream
    *Yo!*). An appropriate response to {ping} or {ENQ}.
    2. [from the comic strip "Bloom County"] An exclamation of
    surprised disgust, esp. in "Ack pffft!" Semi-humorous.
    Generally this sense is not spelled in caps (ACK) and is
    distinguished by a following exclamation point. 3. Used to
    politely interrupt someone to tell them you understand their point
    (see {NAK}). Thus, for example, you might cut off an overly
    long explanation with "Ack. Ack. Ack. I get it now".

    There is also a usage "ACK?" (from sense 1) meaning "Are you
    there?", often used in email when earlier mail has produced no
    reply, or during a lull in {talk mode} to see if the person has
    gone away (the standard humorous response is of course {NAK}
    (sense 2), i.e., "I'm not here").

    :ad-hockery: /ad-hok'*r-ee/ [Purdue] n. 1. Gratuitous assumptions
    made inside certain programs, esp. expert systems, which lead to
    the appearance of semi-intelligent behavior but are in fact
    entirely arbitrary. For example, fuzzy-matching input tokens that
    might be typing errors against a symbol table can make it look as
    though a program knows how to spell. 2. Special-case code to cope
    with some awkward input that would otherwise cause a program to
    {choke}, presuming normal inputs are dealt with in some cleaner
    and more regular way. Also called `ad-hackery', `ad-hocity'
    (/ad-hos'*-tee/), `ad-crockery'. See also {ELIZA effect}.

    :Ada:: n. A {{Pascal}}-descended language that has been made
    mandatory for Department of Defense software projects by the
    Pentagon. Hackers are nearly unanimous in observing that,
    technically, it is precisely what one might expect given that kind
    of endorsement by fiat; designed by committee, crockish, difficult
    to use, and overall a disastrous, multi-billion-dollar boondoggle
    (one common description is "The PL/I of the 1980s"). Hackers
    find Ada's exception-handling and inter-process communication
    features particularly hilarious. Ada Lovelace (the daughter of
    Lord Byron who became the world's first programmer while
    cooperating with Charles Babbage on the design of his mechanical
    computing engines in the mid-1800s) would almost certainly blanch
    at the use to which her name has latterly been put; the kindest
    thing that has been said about it is that there is probably a good
    small language screaming to get out from inside its vast,
    {elephantine} bulk.

    :adger: /aj'r/ [UCLA] vt. To make a bonehead move with consequences
    that could have been foreseen with a slight amount of mental
    effort. E.g., "He started removing files and promptly adgered the
    whole project". Compare {dumbass attack}.

    :admin: /ad-min'/ n. Short for `administrator'; very commonly
    used in speech or on-line to refer to the systems person in charge
    on a computer. Common constructions on this include `sysadmin'
    and `site admin' (emphasizing the administrator's role as a site
    contact for email and news) or `newsadmin' (focusing specifically
    on news). Compare {postmaster}, {sysop}, {system
    mangler}.

    :ADVENT: /ad'vent/ n. The prototypical computer adventure game, first
    implemented on the {PDP-10} by Will Crowther as an attempt at
    computer-refereed fantasy gaming, and expanded into a
    puzzle-oriented game by Don Woods. Now better known as Adventure,
    but the {{TOPS-10}} operating system permitted only 6-letter
    filenames. See also {vadding}.

    This game defined the terse, dryly humorous style now expected in
    text adventure games, and popularized several tag lines that have
    become fixtures of hacker-speak: "A huge green fierce snake bars
    the way!" "I see no X here" (for some noun X). "You are in a
    maze of twisty little passages, all alike." "You are in a little
    maze of twisty passages, all different." The `magic words'
    {xyzzy} and {plugh} also derive from this game.

    Crowther, by the way, participated in the exploration of the
    Mammoth & Flint Ridge cave system; it actually *has* a
    `Colossal Cave' and a `Bedquilt' as in the game, and the `Y2' that
    also turns up is cavers' jargon for a map reference to a secondary
    entrance.

    :AFJ: n. Written-only abbreviation for "April Fool's Joke".
    Elaborate April Fool's hoaxes are a hallowed tradition on USENET
    and Internet; see {kremvax} for an example. In fact, April
    Fool's Day is the *only* seasonal holiday marked by customary
    observances on the hacker networks.

    :AI-complete: /A-I k*m-pleet'/ [MIT, Stanford: by analogy with
    `NP-complete' (see {NP-})] adj. Used to describe problems or
    subproblems in AI, to indicate that the solution presupposes a
    solution to the `strong AI problem' (that is, the synthesis of a
    human-level intelligence). A problem that is AI-complete is, in
    other words, just too hard.

    Examples of AI-complete problems are `The Vision Problem'
    (building a system that can see as well as a human) and `The
    Natural Language Problem' (building a system that can understand
    and speak a natural language as well as a human). These may appear
    to be modular, but all attempts so far (1991) to solve them have
    foundered on the amount of context information and `intelligence'
    they seem to require. See also {gedanken}.

    :AI koans: /A-I koh'anz/ pl.n. A series of pastiches of Zen
    teaching riddles created by Danny Hillis at the MIT AI Lab around
    various major figures of the Lab's culture (several are included
    under "{A Selection of AI Koans}" in {appendix
    A}). See also {ha ha only serious}, {mu}, and {{Humor,
    Hacker}}.

    :AIDS: /aydz/ n. Short for A* Infected Disk Syndrome (`A*' is a
    {glob} pattern that matches, but is not limited to, Apple),
    this condition is quite often the result of practicing unsafe
    {SEX}. See {virus}, {worm}, {Trojan horse},
    {virgin}.

    :AIDX: n. /aydkz/ n. Derogatory term for IBM's perverted version
    of UNIX, AIX, especially for the AIX 3.? used in the IBM RS/6000
    series. A victim of the dreaded "hybridism" disease, this
    attempt to combine the two main currents of the UNIX stream
    ({BSD} and {USG UNIX}) became a {monstrosity} to haunt
    system administrators' dreams. For example, if new accounts are
    created while many users are logged on, the load average jumps
    quickly over 20 due to silly implementation of the user databases.
    For a quite similar disease, compare {HP-SUX}. Also, compare
    {terminak}, {Macintrash} {Nominal Semidestructor},
    {Open DeathTrap}, {ScumOS}, {sun-stools}.

    :airplane rule: n. "Complexity increases the possibility of
    failure; a twin-engine airplane has twice as many engine problems
    as a single-engine airplane." By analogy, in both software and
    electronics, the rule that simplicity increases robustness (see
    also {KISS Principle}). It is correspondingly argued that the
    right way to build reliable systems is to put all your eggs in one
    basket, after making sure that you've built a really *good*
    basket.

    :aliasing bug: n. A class of subtle programming errors that can
    arise in code that does dynamic allocation, esp. via
    `malloc(3)' or equivalent. If more than one pointer addresses
    (`aliases for') a given hunk of storage, it may happen that the
    storage is freed or reallocated (and thus moved) through one alias
    and then referenced through another, which may lead to subtle (and
    possibly intermittent) lossage depending on the state and the
    allocation history of the malloc {arena}. Avoidable by use of
    allocation strategies that never alias allocated core. Also
    avoidable by use of higher-level languages, such as {LISP},
    which employ a garbage collector (see {GC}). Also called a
    {stale pointer bug}. See also {precedence lossage},
    {smash the stack}, {fandango on core}, {memory leak},
    {memory smash}, {overrun screw}, {spam}.

    Historical note: Though this term is nowadays associated with
    C programming, it was already in use in a very similar sense in the
    Algol-60 and FORTRAN communities in the 1960s.

    :all-elbows: adj. Of a TSR (terminate-and-stay-resident) IBM PC
    program, such as the N pop-up calendar and calculator utilities
    that circulate on {BBS} systems: unsociable. Used to describe a
    program that rudely steals the resources that it needs without
    considering that other TSRs may also be resident. One particularly
    common form of rudeness is lock-up due to programs fighting over
    the keyboard interrupt. See {rude}, also {mess-dos}.

    :alpha particles: n. See {bit rot}.

    :alt: /awlt/ 1. n. The alt shift key on an IBM PC or {clone}.
    2. n. The `clover' or `Command' key on a Macintosh; use of this
    term usually reveals that the speaker hacked PCs before coming to
    the Mac (see also {feature key}). Some Mac hackers,
    confusingly, reserve `alt' for the Option key. 3. n.obs. [PDP-10;
    often capitalized to ALT] Alternate name for the ASCII
    ESC character (ASCII 0011011), after the keycap labeling on some
    older terminals. Also `altmode' (/awlt'mohd/). This character
    was almost never pronounced `escape' on an ITS system, in
    {TECO}, or under TOPS-10 — always alt, as in "Type alt alt to
    end a TECO command" or "alt-U onto the system" (for "log onto
    the [ITS] system"). This was probably because alt is more
    convenient to say than `escape', especially when followed by
    another alt or a character (or another alt *and* a character,
    for that matter).

    :alt bit: /awlt bit/ [from alternate] adj. See {meta bit}.

    :altmode: n. Syn. {alt} sense 3.

    :Aluminum Book: [MIT] n. `Common LISP: The Language', by
    Guy L. Steele Jr. (Digital Press, first edition 1984, second
    edition 1990). Note that due to a technical screwup some printings
    of the second edition are actually of a color the author describes
    succinctly as "yucky green". See also {{book titles}}.

    :amoeba: n. Humorous term for the Commodore Amiga personal computer.

    :amp off: [Purdue] vt. To run in {background}. From the UNIX shell `&'
    operator.

    :amper: n. Common abbreviation for the name of the ampersand (`&',
    ASCII 0100110) character. See {{ASCII}} for other synonyms.

    :angle brackets: n. Either of the characters `<' (ASCII
    0111100) and `>' (ASCII 0111110) (ASCII less-than or
    greater-than signs). The {Real World} angle brackets used by
    typographers are actually taller than a less-than or greater-than
    sign.
    See {broket}, {{ASCII}}.

    :angry fruit salad: n. A bad visual-interface design that uses too
    many colors. This derives, of course, from the bizarre day-glo
    colors found in canned fruit salad. Too often one sees similar
    effects from interface designers using color window systems such as
    {X}; there is a tendency to create displays that are flashy and
    attention-getting but uncomfortable for long-term use.

    :annoybot: /*-noy-bot/ [IRC] n. See {robot}.

    :AOS: 1. /aws/ (East Coast), /ay-os/ (West Coast) [based on a
    PDP-10 increment instruction] vt.,obs. To increase the amount of
    something. "AOS the campfire." Usage: considered silly, and now
    obsolete. Now largely supplanted by {bump}. See {SOS}. 2. A
    {{Multics}}-derived OS supported at one time by Data General. This
    was pronounced /A-O-S/ or /A-os/. A spoof of the standard
    AOS system administrator's manual (`How to Load and Generate
    your AOS System') was created, issued a part number, and circulated
    as photocopy folklore. It was called `How to Goad and
    Levitate your CHAOS System'. 3. Algebraic Operating System, in
    reference to those calculators which use infix instead of postfix
    (reverse Polish) notation.

    Historical note: AOS in sense 1 was the name of a {PDP-10}
    instruction that took any memory location in the computer and added
    1 to it; AOS meant `Add One and do not Skip'. Why, you may ask,
    does the `S' stand for `do not Skip' rather than for `Skip'? Ah,
    here was a beloved piece of PDP-10 folklore. There were eight such
    instructions: AOSE added 1 and then skipped the next instruction
    if the result was Equal to zero; AOSG added 1 and then skipped if
    the result was Greater than 0; AOSN added 1 and then skipped
    if the result was Not 0; AOSA added 1 and then skipped Always;
    and so on. Just plain AOS didn't say when to skip, so it never
    skipped.

    For similar reasons, AOJ meant `Add One and do not Jump'. Even
    more bizarre, SKIP meant `do not SKIP'! If you wanted to skip the
    next instruction, you had to say `SKIPA'. Likewise, JUMP meant
    `do not JUMP'; the unconditional form was JUMPA. However, hackers
    never did this. By some quirk of the 10's design, the {JRST}
    (Jump and ReSTore flag with no flag specified) was actually faster
    and so was invariably used. Such were the perverse mysteries of
    assembler programming.

    :app: /ap/ n. Short for `application program', as opposed to a
    systems program. What systems vendors are forever chasing
    developers to create for their environments so they can sell more
    boxes. Hackers tend not to think of the things they themselves run
    as apps; thus, in hacker parlance the term excludes compilers,
    program editors, games, and messaging systems, though a user would
    consider all those to be apps. Oppose {tool}, {operating
    system}.

    :arc: [primarily MSDOS] vt. To create a compressed {archive} from a
    group of files using SEA ARC, PKWare PKARC, or a compatible
    program. Rapidly becoming obsolete as the ARC compression method
    is falling into disuse, having been replaced by newer compression
    techniques. See {tar and feather}, {zip}.

    :arc wars: [primarily MSDOS] n. {holy wars} over which archiving
    program one should use. The first arc war was sparked when System
    Enhancement Associates (SEA) sued PKWare for copyright and
    trademark infringement on its ARC program. PKWare's PKARC
    outperformed ARC on both compression and speed while largely
    retaining compatibility (it introduced a new compression type that
    could be disabled for backward-compatibility). PKWare settled out
    of court to avoid enormous legal costs (both SEA and PKWare are
    small companies); as part of the settlement, the name of PKARC was
    changed to PKPAK. The public backlash against SEA for bringing
    suit helped to hasten the demise of ARC as a standard when PKWare
    and others introduced new, incompatible archivers with better
    compression algorithms.

    :archive: n. 1. A collection of several files bundled into one file
    by a program such as `ar(1)', `tar(1)', `cpio(1)',
    or {arc} for shipment or archiving (sense 2). See also {tar
    and feather}. 2. A collection of files or archives (sense 1) made
    available from an `archive site' via {FTP} or an email server.

    :arena: [UNIX] n. The area of memory attached to a process by
    `brk(2)' and `sbrk(2)' and used by `malloc(3)' as
    dynamic storage. So named from a semi-mythical `malloc:
    corrupt arena' message supposedly emitted when some early versions
    became terminally confused. See {overrun screw}, {aliasing
    bug}, {memory leak}, {memory smash}, {smash the stack}.

    :arg: /arg/ n. Abbreviation for `argument' (to a function),
    used so often as to have become a new word (like `piano' from
    `pianoforte'). "The sine function takes 1 arg, but the
    arc-tangent function can take either 1 or 2 args." Compare
    {param}, {parm}, {var}.

    :armor-plated: n. Syn. for {bulletproof}.

    :asbestos: adj. Used as a modifier to anything intended to protect
    one from {flame}s. Important cases of this include {asbestos
    longjohns} and {asbestos cork award}, but it is used more
    generally.

    :asbestos cork award: n. Once, long ago at MIT, there was a {flamer}
    so consistently obnoxious that another hacker designed, had made,
    and distributed posters announcing that said flamer had been
    nominated for the `asbestos cork award'. Persons in any doubt as
    to the intended application of the cork should consult the
    etymology under {flame}. Since then, it is agreed that only a
    select few have risen to the heights of bombast required to earn
    this dubious dignity — but there is no agreement on *which*
    few.

    :asbestos longjohns: n. Notional garments often donned by {USENET}
    posters just before emitting a remark they expect will elicit
    {flamage}. This is the most common of the {asbestos} coinages.
    Also `asbestos underwear', `asbestos overcoat', etc.

    :ASCII:: [American Standard Code for Information Interchange]
    /as'kee/ n. The predominant character set encoding of present-day
    computers. Uses 7 bits for each character, whereas most earlier
    codes (including an early version of ASCII) used fewer. This
    change allowed the inclusion of lowercase letters — a major
    {win} — but it did not provide for accented letters or any
    other letterforms not used in English (such as the German sharp-S
    and the ae-ligature
    which is a letter in, for example, Norwegian). It could be worse,
    though. It could be much worse. See {{EBCDIC}} to understand how.

    Computers are much pickier and less flexible about spelling than
    humans; thus, hackers need to be very precise when talking about
    characters, and have developed a considerable amount of verbal
    shorthand for them. Every character has one or more names — some
    formal, some concise, some silly. Common jargon names for ASCII
    characters are collected here. See also individual entries for
    {bang}, {excl}, {open}, {ques}, {semi}, {shriek},
    {splat}, {twiddle}, and {Yu-Shiang Whole Fish}.

    This list derives from revision 2.3 of the USENET ASCII
    pronunciation guide. Single characters are listed in ASCII order;
    character pairs are sorted in by first member. For each character,
    common names are given in rough order of popularity, followed by
    names that are reported but rarely seen; official ANSI/CCITT names
    are surrounded by brokets: <>. Square brackets mark the
    particularly silly names introduced by {INTERCAL}. Ordinary
    parentheticals provide some usage information.

    !
    Common: {bang}; pling; excl; shriek; <exclamation mark>.
    Rare: factorial; exclam; smash; cuss; boing; yell; wow; hey;
    wham; eureka; [spark-spot]; soldier.

    "
    Common: double quote; quote. Rare: literal mark;
    double-glitch; <quotation marks>; <dieresis>; dirk;
    [rabbit-ears]; double prime.

    #
    Common: <number sign>; pound; pound sign; hash; sharp;
    {crunch}; hex; [mesh]; octothorpe. Rare: flash; crosshatch;
    grid; pig-pen; tictactoe; scratchmark; thud; thump; {splat}.

    $
    Common: dollar; <dollar sign>. Rare: currency symbol; buck;
    cash; string (from BASIC); escape (when used as the echo of
    ASCII ESC); ding; cache; [big money].

    %
    Common: percent; <percent sign>; mod; grapes. Rare:
    [double-oh-seven].

    &
    Common: <ampersand>; amper; and. Rare: address (from C);
    reference (from C++); andpersand; bitand; background (from
    `sh(1)'); pretzel; amp. [INTERCAL called this `ampersand';
    what could be sillier?]

    '
    Common: single quote; quote; <apostrophe>. Rare: prime;
    glitch; tick; irk; pop; [spark]; <closing single quotation
    mark>; <acute accent>.

    ()
    Common: left/right paren; left/right parenthesis; left/right;
    paren/thesis; open/close paren; open/close; open/close
    parenthesis; left/right banana. Rare: so/al-ready;
    lparen/rparen; <opening/closing parenthesis>; open/close round
    bracket, parenthisey/unparenthisey; [wax/wane]; left/right
    ear.

    *
    Common: star; [{splat}]; <asterisk>. Rare: wildcard; gear;
    dingle; mult; spider; aster; times; twinkle; glob (see
    {glob}); {Nathan Hale}.

    +
    Common: <plus>; add. Rare: cross; [intersection].

    ,
    Common: <comma>. Rare: <cedilla>; [tail].

    –
    Common: dash; <hyphen>; <minus>. Rare: [worm]; option; dak;
    bithorpe.

    .
    Common: dot; point; <period>; <decimal point>. Rare: radix
    point; full stop; [spot].

    /
    Common: slash; stroke; <slant>; forward slash. Rare:
    diagonal; solidus; over; slak; virgule; [slat].

    :
    Common: <colon>. Rare: dots; [two-spot].

    ;
    Common: <semicolon>; semi. Rare: weenie; [hybrid],
    pit-thwong.

    <>
    Common: <less/greater than>; left/right angle bracket;
    bra/ket; left/right broket. Rare: from/{into, towards}; read
    from/write to; suck/blow; comes-from/gozinta; in/out;
    crunch/zap (all from UNIX); [angle/right angle].

    =
    Common: <equals>; gets; takes. Rare: quadrathorpe;
    [half-mesh].

    ?
    Common: query; <question mark>; {ques}. Rare: whatmark;
    [what]; wildchar; huh; hook; buttonhook; hunchback.

    @
    Common: at sign; at; strudel. Rare: each; vortex; whorl;
    [whirlpool]; cyclone; snail; ape; cat; rose; cabbage;
    <commercial at>.

    V
    Rare: [book].

    []
    Common: left/right square bracket; <opening/closing bracket>;
    bracket/unbracket; left/right bracket. Rare: square/unsquare;
    [U turn/U turn back].

    Common: backslash; escape (from C/UNIX); reverse slash; slosh;
    backslant; backwhack. Rare: bash; <reverse slant>; reversed
    virgule; [backslat].

    ^
    Common: hat; control; uparrow; caret; <circumflex>. Rare:
    chevron; [shark (or shark-fin)]; to the (`to the power of');
    fang; pointer (in Pascal).

    _
    Common: <underline>; underscore; underbar; under. Rare:
    score; backarrow; skid; [flatworm].

    `
    Common: backquote; left quote; left single quote; open quote;
    <grave accent>; grave. Rare: backprime; [backspark];
    unapostrophe; birk; blugle; back tick; back glitch; push;
    <opening single quotation mark>; quasiquote.

    {}
    Common: open/close brace; left/right brace; left/right
    squiggly; left/right squiggly bracket/brace; left/right curly
    bracket/brace; <opening/closing brace>. Rare: brace/unbrace;
    curly/uncurly; leftit/rytit; left/right squirrelly;
    [embrace/bracelet].

    |
    Common: bar; or; or-bar; v-bar; pipe; vertical bar. Rare:
    <vertical line>; gozinta; thru; pipesinta (last three from
    UNIX); [spike].

    ~
    Common: <tilde>; squiggle; {twiddle}; not. Rare: approx;
    wiggle; swung dash; enyay; [sqiggle (sic)].

    The pronunciation of `#' as `pound' is common in the U.S.
    but a bad idea; {{Commonwealth Hackish}} has its own, rather more
    apposite use of `pound sign' (confusingly, on British keyboards
    the pound graphic
    happens to replace `#'; thus Britishers sometimes
    call `#' on a U.S.-ASCII keyboard `pound', compounding the
    American error). The U.S. usage derives from an old-fashioned
    commercial practice of using a `#' suffix to tag pound weights
    on bills of lading. The character is usually pronounced `hash'
    outside the U.S.

    The `uparrow' name for circumflex and `leftarrow' name for
    underline are historical relics from archaic ASCII (the 1963
    version), which had these graphics in those character positions
    rather than the modern punctuation characters.

    The `swung dash' or `approximation' sign is not quite the same
    as tilde in typeset material
    but the ASCII tilde serves for both (compare {angle
    brackets}).

    Some other common usages cause odd overlaps. The `#',
    `$', `>', and `&' characters, for example, are all
    pronounced "hex" in different communities because various
    assemblers use them as a prefix tag for hexadecimal constants (in
    particular, `#' in many assembler-programming cultures,
    `$' in the 6502 world, `>' at Texas Instruments, and
    `&' on the BBC Micro, Sinclair, and some Z80 machines). See
    also {splat}.

    The inability of ASCII text to correctly represent any of the
    world's other major languages makes the designers' choice of 7 bits
    look more and more like a serious {misfeature} as the use of
    international networks continues to increase (see {software
    rot}). Hardware and software from the U.S. still tends to embody
    the assumption that ASCII is the universal character set; this is a
    a major irritant to people who want to use a character set suited
    to their own languages. Perversely, though, efforts to solve this
    problem by proliferating `national' character sets produce an
    evolutionary pressure to use a *smaller* subset common to all
    those in use.

    :ASCII art: n. The fine art of drawing diagrams using the ASCII
    character set (mainly `|', `-', `/', `', and
    `+'). Also known as `character graphics' or `ASCII
    graphics'; see also {boxology}. Here is a serious example:

    o—-)||(–+–|<—-+ +———o + D O
    L )||( | | | C U
    A I )||( +–>|-+ | +-//-+–o – T
    C N )||( | | | | P
    E )||( +–>|-+–)—+–)|–+-o U
    )||( | | | GND T
    o—-)||(–+–|<—-+———-+

    A power supply consisting of a full
    wave rectifier circuit feeding a
    capacitor input filter circuit

    Figure 1.

    And here are some very silly examples:

    |///| ____/| ___ |_/| ___
    | | o.O| ACK! / _ |` '| _/
    | | =(_)= THPHTH! / / /
    | (o)(o) U /
    C _) (__) /// _____ ////
    | ,___| (oo) / /
    | / /——- U (__)
    /____ || | /—V `v'- oo )
    / ||—W|| * * |–| || |`. |_/

    Figure 2.

    There is an important subgenre of humorous ASCII art that takes
    advantage of the names of the various characters to tell a
    pun-based joke.

    +——————————————————–+
    | ^^^^^^^^^^^^ |
    | ^^^^^^^^^^^ ^^^^^^^^^ |
    | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ |
    | ^^^^^^^ B ^^^^^^^^^ |
    | ^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^ |
    +——————————————————–+
    " A Bee in the Carrot Patch "

    Figure 3.

    Within humorous ASCII art, there is for some reason an entire
    flourishing subgenre of pictures of silly cows. Four of these are
    reproduced in Figure 2; here are three more:

    (__) (__) (__)
    (/) ($$) (**)
    /——-/ /——-/ /——-/
    / | 666 || / |=====|| / | ||
    * ||—-|| * ||—-|| * ||—-||
    ~~ ~~ ~~ ~~ ~~ ~~
    Satanic cow This cow is a Yuppie Cow in love

    Figure 4.

    :attoparsec: n. `atto-' is the standard SI prefix for
    multiplication by 10^(-18). A parsec (parallax-second) is
    3.26 light-years; an attoparsec is thus 3.26 * 10^(-18) light
    years, or about 3.1 cm (thus, 1 attoparsec/{microfortnight}
    equals about 1 inch/sec). This unit is reported to be in use
    (though probably not very seriously) among hackers in the U.K. See
    {micro-}.

    :autobogotiphobia: /aw'to-boh-got`*-foh'bee-*/ n. See {bogotify}.

    :automagically: /aw-toh-maj'i-klee/ or /aw-toh-maj'i-k*l-ee/ adv.
    Automatically, but in a way that, for some reason (typically
    because it is too complicated, or too ugly, or perhaps even too
    trivial), the speaker doesn't feel like explaining to you. See
    {magic}. "The C-INTERCAL compiler generates C, then automagically
    invokes `cc(1)' to produce an executable."

    :avatar: [CMU, Tektronix] n. Syn. {root}, {superuser}. There
    are quite a few UNIX machines on which the name of the superuser
    account is `avatar' rather than `root'. This quirk was
    originated by a CMU hacker who disliked the term `superuser',
    and was propagated through an ex-CMU hacker at Tektronix.

    :awk: 1. n. [UNIX techspeak] An interpreted language for massaging
    text data developed by Alfred Aho, Peter Weinberger, and Brian
    Kernighan (the name is from their initials). It is characterized
    by C-like syntax, a declaration-free approach to variable typing
    and declarations, associative arrays, and field-oriented text
    processing. See also {Perl}. 2. n. Editing term for an
    expression awkward to manipulate through normal {regexp}
    facilities (for example, one containing a {newline}). 3. vt. To
    process data using `awk(1)'.

    = B =
    =====

    :back door: n. A hole in the security of a system deliberately left
    in place by designers or maintainers. The motivation for this is
    not always sinister; some operating systems, for example, come out
    of the box with privileged accounts intended for use by field
    service technicians or the vendor's maintenance programmers.

    Historically, back doors have often lurked in systems longer than
    anyone expected or planned, and a few have become widely known.
    The infamous {RTM} worm of late 1988, for example, used a back door
    in the {BSD} UNIX `sendmail(8)' utility.

    Ken Thompson's 1983 Turing Award lecture to the ACM revealed the
    existence of a back door in early UNIX versions that may have
    qualified as the most fiendishly clever security hack of all time.
    The C compiler contained code that would recognize when the
    `login' command was being recompiled and insert some code
    recognizing a password chosen by Thompson, giving him entry to the
    system whether or not an account had been created for him.

    Normally such a back door could be removed by removing it from the
    source code for the compiler and recompiling the compiler. But to
    recompile the compiler, you have to *use* the compiler — so
    Thompson also arranged that the compiler would *recognize when
    it was compiling a version of itself*, and insert into the
    recompiled compiler the code to insert into the recompiled `login'
    the code to allow Thompson entry — and, of course, the code to
    recognize itself and do the whole thing again the next time around!
    And having done this once, he was then able to recompile the
    compiler from the original sources, leaving his back door in place
    and active but with no trace in the sources.

    The talk that revealed this truly moby hack was published as
    "Reflections on Trusting Trust", `Communications of the
    ACM 27', 8 (August 1984), pp. 761–763.

    Syn. {trap door}; may also be called a `wormhole'. See also
    {iron box}, {cracker}, {worm}, {logic bomb}.

    :backbone cabal: n. A group of large-site administrators who pushed
    through the {Great Renaming} and reined in the chaos of {USENET}
    during most of the 1980s. The cabal {mailing list} disbanded in
    late 1988 after a bitter internal catfight, but the net hardly
    noticed.

    :backbone site: n. A key USENET and email site; one that processes
    a large amount of third-party traffic, especially if it is the home
    site of any of the regional coordinators for the USENET maps.
    Notable backbone sites as of early 1991 include uunet and the
    mail machines at Rutgers University, UC Berkeley, DEC's Western
    Research Laboratories, Ohio State University, and the University of
    Texas. Compare {rib site}, {leaf site}.

    :backgammon:: See {bignum}, {moby}, and {pseudoprime}.

    :background: n.,adj.,vt. To do a task `in background' is to do
    it whenever {foreground} matters are not claiming your undivided
    attention, and `to background' something means to relegate it to
    a lower priority. "For now, we'll just print a list of nodes and
    links; I'm working on the graph-printing problem in background."
    Note that this implies ongoing activity but at a reduced level or
    in spare time, in contrast to mainstream `back burner' (which
    connotes benign neglect until some future resumption of activity).
    Some people prefer to use the term for processing that they have
    queued up for their unconscious minds (a tack that one can often
    fruitfully take upon encountering an obstacle in creative work).
    Compare {amp off}, {slopsucker}.

    Technically, a task running in background is detached from the
    terminal where it was started (and often running at a lower
    priority); oppose {foreground}. Nowadays this term is primarily
    associated with {{UNIX}}, but it appears to have been first used
    in this sense on OS/360.

    :backspace and overstrike: interj. Whoa! Back up. Used to suggest
    that someone just said or did something wrong. Common among
    APL programmers.

    :backward combatability: /bak'w*rd k*m-bat'*-bil'*-tee/ [from
    `backward compatibility'] n. A property of hardware or software
    revisions in which previous protocols, formats, and layouts are
    discarded in favor of `new and improved' protocols, formats, and
    layouts. Occurs usually when making the transition between major
    releases. When the change is so drastic that the old formats are
    not retained in the new version, it is said to be `backward
    combatable'. See {flag day}.

    :BAD: /B-A-D/ [IBM: acronym, `Broken As Designed'] adj. Said
    of a program that is {bogus} because of bad design and misfeatures
    rather than because of bugginess. See {working as designed}.

    :Bad Thing: [from the 1930 Sellar & Yeatman parody `1066 And
    All That'] n. Something that can't possibly result in improvement
    of the subject. This term is always capitalized, as in "Replacing
    all of the 9600-baud modems with bicycle couriers would be a Bad
    Thing". Oppose {Good Thing}. British correspondents confirm
    that {Bad Thing} and {Good Thing} (and prob. therefore {Right
    Thing} and {Wrong Thing}) come from the book referenced in the
    etymology, which discusses rulers who were Good Kings but Bad
    Things. This has apparently created a mainstream idiom on the
    British side of the pond.

    :bag on the side: n. An extension to an established hack that is
    supposed to add some functionality to the original. Usually
    derogatory, implying that the original was being overextended and
    should have been thrown away, and the new product is ugly,
    inelegant, or bloated. Also v. phrase, `to hang a bag on the side
    [of]'. "C++? That's just a bag on the side of C …."
    "They want me to hang a bag on the side of the accounting
    system."

    :bagbiter: /bag'bi:t-*r/ n. 1. Something, such as a program or a
    computer, that fails to work, or works in a remarkably clumsy
    manner. "This text editor won't let me make a file with a line
    longer than 80 characters! What a bagbiter!" 2. A person who has
    caused you some trouble, inadvertently or otherwise, typically by
    failing to program the computer properly. Synonyms: {loser},
    {cretin}, {chomper}. 3. adj. `bagbiting' Having the
    quality of a bagbiter. "This bagbiting system won't let me
    compute the factorial of a negative number." Compare {losing},
    {cretinous}, {bletcherous}, `barfucious' (under
    {barfulous}) and `chomping' (under {chomp}). 4. `bite
    the bag' vi. To fail in some manner. "The computer keeps crashing
    every 5 minutes." "Yes, the disk controller is really biting the
    bag." The original loading of these terms was almost undoubtedly
    obscene, possibly referring to the scrotum, but in their current
    usage they have become almost completely sanitized.

    A program called Lexiphage on the old MIT AI PDP-10 would draw on
    a selected victim's bitmapped terminal the words "THE BAG" in
    ornate letters, and then a pair of jaws biting pieces of it off.
    This is the first and to date only known example of a program
    *intended* to be a bagbiter.

    :bamf: /bamf/ 1. [from old X-Men comics] interj. Notional sound
    made by a person or object teleporting in or out of the hearer's
    vicinity. Often used in {virtual reality} (esp. {MUD})
    electronic {fora} when a character wishes to make a dramatic
    entrance or exit. 2. The sound of magical transformation, used in
    virtual reality {fora} like sense 1. 3. [from `Don
    Washington's Survival Guide'] n. Acronym for `Bad-Ass Mother
    Fucker', used to refer to one of the handful of nastiest monsters
    on an LPMUD or other similar MUD.

    :banana label: n. The labels often used on the sides of {macrotape}
    reels, so called because they are shaped roughly like blunt-ended
    bananas. This term, like macrotapes themselves, is still current
    but visibly headed for obsolescence.

    :banana problem: n. [from the story of the little girl who said "I
    know how to spell `banana', but I don't know when to stop"]. Not
    knowing where or when to bring a production to a close (compare
    {fencepost error}). One may say `there is a banana problem' of an
    algorithm with poorly defined or incorrect termination conditions,
    or in discussing the evolution of a design that may be succumbing
    to featuritis (see also {creeping elegance}, {creeping
    featuritis}). See item 176 under {HAKMEM}, which describes a
    banana problem in a {Dissociated Press} implementation. Also,
    see {one-banana problem} for a superficially similar but
    unrelated usage.

    :bandwidth: n. 1. Used by hackers in a generalization of its
    technical meaning as the volume of information per unit time that a
    computer, person, or transmission medium can handle. "Those are
    amazing graphics, but I missed some of the detail — not enough
    bandwidth, I guess." Compare {low-bandwidth}. 2. Attention
    span. 3. On {USENET}, a measure of network capacity that is
    often wasted by people complaining about how items posted by others
    are a waste of bandwidth.

  • The Hunting of the Snark An Agony in Eight Fits

    The Hunting of the Snark An Agony in Eight Fits

    Aproximadamente 5.294 palavras.

    THE HUNTING OF THE SNARK

    an Agony in Eight Fits

    by
    Lewis Carroll

    THE MILLENNIUM FULCRUM EDITION 1.2

    Inscribed to a dear Child:
    in memory of golden summer hours
    and whispers of a summer sea.

    Girt with a boyish garb for boyish task,
    Eager she wields her spade: yet loves as well
    Rest on a friendly knee, intent to ask
    The tale he loves to tell.

    Rude spirits of the seething outer strife,
    Unmeet to read her pure and simple spright,
    Deem, if you list, such hours a waste of life,
    Empty of all delight!

    Chat on, sweet Maid, and rescue from annoy
    Hearts that by wiser talk are unbeguiled.
    Ah, happy he who owns that tenderest joy,
    The heart-love of a child!

    Away, fond thoughts, and vex my soul no more!
    Work claims my wakeful nights, my busy days—
    Albeit bright memories of that sunlit shore
    Yet haunt my dreaming gaze!

    Contents

    PREFACE
    Fit the First THE LANDING
    Fit the Second THE BELLMAN’S SPEECH
    Fit the Third THE BAKER’S TALE
    Fit the fourth THE HUNTING
    Fit the Fifth THE BEAVER’S LESSON
    Fit the Sixth THE BARRISTER’S DREAM
    Fit the Seventh THE BANKER’S FATE
    Fit the Eighth THE VANISHING

    PREFACE

    If–and the thing is wildly possible–the charge of writing nonsense
    were ever brought against the author of this brief but instructive
    poem, it would be based, I feel convinced, on the line (in p.4)

    “Then the bowsprit got mixed with the rudder sometimes.”

    In view of this painful possibility, I will not (as I might) appeal
    indignantly to my other writings as a proof that I am incapable of
    such a deed: I will not (as I might) point to the strong moral purpose
    of this poem itself, to the arithmetical principles so cautiously
    inculcated in it, or to its noble teachings in Natural History–I will
    take the more prosaic course of simply explaining how it happened.

    The Bellman, who was almost morbidly sensitive about appearances, used
    to have the bowsprit unshipped once or twice a week to be revarnished,
    and it more than once happened, when the time came for replacing it,
    that no one on board could remember which end of the ship it belonged
    to. They knew it was not of the slightest use to appeal to the Bellman
    about it–he would only refer to his Naval Code, and read out in
    pathetic tones Admiralty Instructions which none of them had ever been
    able to understand–so it generally ended in its being fastened on,
    anyhow, across the rudder. The helmsman used to stand by with tears in
    his eyes; he knew it was all wrong, but alas! Rule 42 of the Code, “No
    one shall speak to the Man at the Helm,” had been completed by the
    Bellman himself with the words “and the Man at the Helm shall speak to
    no one.” So remonstrance was impossible, and no steering could be done
    till the next varnishing day. During these bewildering intervals the
    ship usually sailed backwards.

    As this poem is to some extent connected with the lay of the Jabberwock,
    let me take this opportunity of answering a question that has often been
    asked me, how to pronounce “slithy toves.” The “i” in “slithy” is long,
    as in “writhe”; and “toves” is pronounced so as to rhyme with “groves.”
    Again, the first “o” in “borogoves” is pronounced like the “o” in
    “borrow.” I have heard people try to give it the sound of the “o” in
    “worry”. Such is Human Perversity.

    This also seems a fitting occasion to notice the other hard words in
    that poem. Humpty-Dumpty’s theory, of two meanings packed into one word
    like a portmanteau, seems to me the right explanation for all.

    For instance, take the two words “fuming” and “furious.” Make up your
    mind that you will say both words, but leave it unsettled which you will
    first. Now open your mouth and speak. If your thoughts incline
    ever so little towards “fuming,” you will say “fuming-furious;” if they
    turn, by even a hair’s breadth, towards “furious,” you will say
    “furious-fuming;” but if you have the rarest of gifts, a perfectly
    balanced mind, you will say “frumious.”

    Supposing that, when Pistol uttered the well-known words–

    “Under which king, Bezonian? Speak or die!”

    Justice Shallow had felt certain that it was either William or Richard,
    but had not been able to settle which, so that he could not possibly say
    either name before the other, can it be doubted that, rather than die,
    he would have gasped out “Rilchiam!”

    Fit the First

    THE LANDING

    “Just the place for a Snark!” the Bellman cried,
    As he landed his crew with care;
    Supporting each man on the top of the tide
    By a finger entwined in his hair.

    “Just the place for a Snark! I have said it twice:
    That alone should encourage the crew.
    Just the place for a Snark! I have said it thrice:
    What I tell you three times is true.”

    The crew was complete: it included a Boots–
    A maker of Bonnets and Hoods–
    A Barrister, brought to arrange their disputes–
    And a Broker, to value their goods.

    A Billiard-marker, whose skill was immense,
    Might perhaps have won more than his share–
    But a Banker, engaged at enormous expense,
    Had the whole of their cash in his care.

    There was also a Beaver, that paced on the deck,
    Or would sit making lace in the bow:
    And had often (the Bellman said) saved them from wreck,
    Though none of the sailors knew how.

    There was one who was famed for the number of things
    He forgot when he entered the ship:
    His umbrella, his watch, all his jewels and rings,
    And the clothes he had bought for the trip.

    He had forty-two boxes, all carefully packed,
    With his name painted clearly on each:
    But, since he omitted to mention the fact,
    They were all left behind on the beach.

    The loss of his clothes hardly mattered, because
    He had seven coats on when he came,
    With three pairs of boots–but the worst of it was,
    He had wholly forgotten his name.

    He would answer to “Hi!” or to any loud cry,
    Such as “Fry me!” or “Fritter my wig!”
    To “What-you-may-call-um!” or “What-was-his-name!”
    But especially “Thing-um-a-jig!”

    While, for those who preferred a more forcible word,
    He had different names from these:
    His intimate friends called him “Candle-ends,”
    And his enemies “Toasted-cheese.”

    “His form is ungainly–his intellect small–”
    (So the Bellman would often remark)
    “But his courage is perfect! And that, after all,
    Is the thing that one needs with a Snark.”

    He would joke with hyenas, returning their stare
    With an impudent wag of the head:
    And he once went a walk, paw-in-paw, with a bear,
    “Just to keep up its spirits,” he said.

    He came as a Baker: but owned, when too late–
    And it drove the poor Bellman half-mad–
    He could only bake Bridecake–for which, I may state,
    No materials were to be had.

    The last of the crew needs especial remark,
    Though he looked an incredible dunce:
    He had just one idea–but, that one being “Snark,”
    The good Bellman engaged him at once.

    He came as a Butcher: but gravely declared,
    When the ship had been sailing a week,
    He could only kill Beavers. The Bellman looked scared,
    And was almost too frightened to speak:

    But at length he explained, in a tremulous tone,
    There was only one Beaver on board;
    And that was a tame one he had of his own,
    Whose death would be deeply deplored.

    The Beaver, who happened to hear the remark,
    Protested, with tears in its eyes,
    That not even the rapture of hunting the Snark
    Could atone for that dismal surprise!

    It strongly advised that the Butcher should be
    Conveyed in a separate ship:
    But the Bellman declared that would never agree
    With the plans he had made for the trip:

    Navigation was always a difficult art,
    Though with only one ship and one bell:
    And he feared he must really decline, for his part,
    Undertaking another as well.

    The Beaver’s best course was, no doubt, to procure
    A second-hand dagger-proof coat–
    So the Baker advised it–and next, to insure
    Its life in some Office of note:

    This the Banker suggested, and offered for hire
    (On moderate terms), or for sale,
    Two excellent Policies, one Against Fire,
    And one Against Damage From Hail.

    Yet still, ever after that sorrowful day,
    Whenever the Butcher was by,
    The Beaver kept looking the opposite way,
    And appeared unaccountably shy.

    Fit the Second

    THE BELLMAN’S SPEECH

    The Bellman himself they all praised to the skies–
    Such a carriage, such ease and such grace!
    Such solemnity, too! One could see he was wise,
    The moment one looked in his face!

    He had bought a large map representing the sea,
    Without the least vestige of land:
    And the crew were much pleased when they found it to be
    A map they could all understand.

    “What’s the good of Mercator’s North Poles and Equators,
    Tropics, Zones, and Meridian Lines?”
    So the Bellman would cry: and the crew would reply
    “They are merely conventional signs!

    “Other maps are such shapes, with their islands and capes!
    But we’ve got our brave Captain to thank:”
    (So the crew would protest) “that he’s bought us the best–
    A perfect and absolute blank!”

    This was charming, no doubt; but they shortly found out
    That the Captain they trusted so well
    Had only one notion for crossing the ocean,
    And that was to tingle his bell.

    He was thoughtful and grave–but the orders he gave
    Were enough to bewilder a crew.
    When he cried “Steer to starboard, but keep her head larboard!”
    What on earth was the helmsman to do?

    Then the bowsprit got mixed with the rudder sometimes:
    A thing, as the Bellman remarked,
    That frequently happens in tropical climes,
    When a vessel is, so to speak, “snarked.”

    But the principal failing occurred in the sailing,
    And the Bellman, perplexed and distressed,
    Said he had hoped, at least, when the wind blew due East,
    That the ship would not travel due West!

    But the danger was past–they had landed at last,
    With their boxes, portmanteaus, and bags:
    Yet at first sight the crew were not pleased with the view,
    Which consisted of chasms and crags.

    The Bellman perceived that their spirits were low,
    And repeated in musical tone
    Some jokes he had kept for a season of woe–
    But the crew would do nothing but groan.

    He served out some grog with a liberal hand,
    And bade them sit down on the beach:
    And they could not but own that their Captain looked grand,
    As he stood and delivered his speech.

    “Friends, Romans, and countrymen, lend me your ears!”
    (They were all of them fond of quotations:
    So they drank to his health, and they gave him three cheers,
    While he served out additional rations).

    “We have sailed many months, we have sailed many weeks,
    (Four weeks to the month you may mark),
    But never as yet (’tis your Captain who speaks)
    Have we caught the least glimpse of a Snark!

    “We have sailed many weeks, we have sailed many days,
    (Seven days to the week I allow),
    But a Snark, on the which we might lovingly gaze,
    We have never beheld till now!

    “Come, listen, my men, while I tell you again
    The five unmistakable marks
    By which you may know, wheresoever you go,
    The warranted genuine Snarks.

    “Let us take them in order. The first is the taste,
    Which is meagre and hollow, but crisp:
    Like a coat that is rather too tight in the waist,
    With a flavour of Will-o’-the-wisp.

    “Its habit of getting up late you’ll agree
    That it carries too far, when I say
    That it frequently breakfasts at five-o’clock tea,
    And dines on the following day.

    “The third is its slowness in taking a jest.
    Should you happen to venture on one,
    It will sigh like a thing that is deeply distressed:
    And it always looks grave at a pun.

    “The fourth is its fondness for bathing-machines,
    Which is constantly carries about,
    And believes that they add to the beauty of scenes–
    A sentiment open to doubt.

    “The fifth is ambition. It next will be right
    To describe each particular batch:
    Distinguishing those that have feathers, and bite,
    And those that have whiskers, and scratch.

    “For, although common Snarks do no manner of harm,
    Yet, I feel it my duty to say,
    Some are Boojums–” The Bellman broke off in alarm,
    For the Baker had fainted away.

    Fit the Third

    THE BAKER’S TALE

    They roused him with muffins–they roused him with ice–
    They roused him with mustard and cress–
    They roused him with jam and judicious advice–
    They set him conundrums to guess.

    When at length he sat up and was able to speak,
    His sad story he offered to tell;
    And the Bellman cried “Silence! Not even a shriek!”
    And excitedly tingled his bell.

    There was silence supreme! Not a shriek, not a scream,
    Scarcely even a howl or a groan,
    As the man they called “Ho!” told his story of woe
    In an antediluvian tone.

    “My father and mother were honest, though poor–”
    “Skip all that!” cried the Bellman in haste.
    “If it once becomes dark, there’s no chance of a Snark–
    We have hardly a minute to waste!”

    “I skip forty years,” said the Baker, in tears,
    “And proceed without further remark
    To the day when you took me aboard of your ship
    To help you in hunting the Snark.

    “A dear uncle of mine (after whom I was named)
    Remarked, when I bade him farewell–”
    “Oh, skip your dear uncle!” the Bellman exclaimed,
    As he angrily tingled his bell.

    “He remarked to me then,” said that mildest of men,
    “‘If your Snark be a Snark, that is right:
    Fetch it home by all means–you may serve it with greens,
    And it’s handy for striking a light.

    “‘You may seek it with thimbles–and seek it with care;
    You may hunt it with forks and hope;
    You may threaten its life with a railway-share;
    You may charm it with smiles and soap–’”

    (“That’s exactly the method,” the Bellman bold
    In a hasty parenthesis cried,
    “That’s exactly the way I have always been told
    That the capture of Snarks should be tried!”)

    “‘But oh, beamish nephew, beware of the day,
    If your Snark be a Boojum! For then
    You will softly and suddenly vanish away,
    And never be met with again!’

    “It is this, it is this that oppresses my soul,
    When I think of my uncle’s last words:
    And my heart is like nothing so much as a bowl
    Brimming over with quivering curds!

    “It is this, it is this–” “We have had that before!”
    The Bellman indignantly said.
    And the Baker replied “Let me say it once more.
    It is this, it is this that I dread!

    “I engage with the Snark–every night after dark–
    In a dreamy delirious fight:
    I serve it with greens in those shadowy scenes,
    And I use it for striking a light:

    “But if ever I meet with a Boojum, that day,
    In a moment (of this I am sure),
    I shall softly and suddenly vanish away–
    And the notion I cannot endure!”

    Fit the fourth

    THE HUNTING

    The Bellman looked uffish, and wrinkled his brow.
    “If only you’d spoken before!
    It’s excessively awkward to mention it now,
    With the Snark, so to speak, at the door!

    “We should all of us grieve, as you well may believe,
    If you never were met with again–
    But surely, my man, when the voyage began,
    You might have suggested it then?

    “It’s excessively awkward to mention it now–
    As I think I’ve already remarked.”
    And the man they called “Hi!” replied, with a sigh,
    “I informed you the day we embarked.

    “You may charge me with murder–or want of sense–
    (We are all of us weak at times):
    But the slightest approach to a false pretence
    Was never among my crimes!

    “I said it in Hebrew–I said it in Dutch–
    I said it in German and Greek:
    But I wholly forgot (and it vexes me much)
    That English is what you speak!”

    “’Tis a pitiful tale,” said the Bellman, whose face
    Had grown longer at every word:
    “But, now that you’ve stated the whole of your case,
    More debate would be simply absurd.

    “The rest of my speech” (he explained to his men)
    “You shall hear when I’ve leisure to speak it.
    But the Snark is at hand, let me tell you again!
    ’Tis your glorious duty to seek it!

    “To seek it with thimbles, to seek it with care;
    To pursue it with forks and hope;
    To threaten its life with a railway-share;
    To charm it with smiles and soap!

    “For the Snark’s a peculiar creature, that won’t
    Be caught in a commonplace way.
    Do all that you know, and try all that you don’t:
    Not a chance must be wasted to-day!

    “For England expects–I forbear to proceed:
    ’Tis a maxim tremendous, but trite:
    And you’d best be unpacking the things that you need
    To rig yourselves out for the fight.”

    Then the Banker endorsed a blank cheque (which he crossed),
    And changed his loose silver for notes.
    The Baker with care combed his whiskers and hair,
    And shook the dust out of his coats.

    The Boots and the Broker were sharpening a spade–
    Each working the grindstone in turn:
    But the Beaver went on making lace, and displayed
    No interest in the concern:

    Though the Barrister tried to appeal to its pride,
    And vainly proceeded to cite
    A number of cases, in which making laces
    Had been proved an infringement of right.

    The maker of Bonnets ferociously planned
    A novel arrangement of bows:
    While the Billiard-marker with quivering hand
    Was chalking the tip of his nose.

    But the Butcher turned nervous, and dressed himself fine,
    With yellow kid gloves and a ruff–
    Said he felt it exactly like going to dine,
    Which the Bellman declared was all “stuff.”

    “Introduce me, now there’s a good fellow,” he said,
    “If we happen to meet it together!”
    And the Bellman, sagaciously nodding his head,
    Said “That must depend on the weather.”

    The Beaver went simply galumphing about,
    At seeing the Butcher so shy:
    And even the Baker, though stupid and stout,
    Made an effort to wink with one eye.

    “Be a man!” said the Bellman in wrath, as he heard
    The Butcher beginning to sob.
    “Should we meet with a Jubjub, that desperate bird,
    We shall need all our strength for the job!”

    Fit the Fifth

    THE BEAVER’S LESSON

    They sought it with thimbles, they sought it with care;
    They pursued it with forks and hope;
    They threatened its life with a railway-share;
    They charmed it with smiles and soap.

    Then the Butcher contrived an ingenious plan
    For making a separate sally;
    And had fixed on a spot unfrequented by man,
    A dismal and desolate valley.

    But the very same plan to the Beaver occurred:
    It had chosen the very same place:
    Yet neither betrayed, by a sign or a word,
    The disgust that appeared in his face.

    Each thought he was thinking of nothing but “Snark”
    And the glorious work of the day;
    And each tried to pretend that he did not remark
    That the other was going that way.

    But the valley grew narrow and narrower still,
    And the evening got darker and colder,
    Till (merely from nervousness, not from goodwill)
    They marched along shoulder to shoulder.

    Then a scream, shrill and high, rent the shuddering sky,
    And they knew that some danger was near:
    The Beaver turned pale to the tip of its tail,
    And even the Butcher felt queer.

    He thought of his childhood, left far far behind–
    That blissful and innocent state–
    The sound so exactly recalled to his mind
    A pencil that squeaks on a slate!

    “’Tis the voice of the Jubjub!” he suddenly cried.
    (This man, that they used to call “Dunce.”)
    “As the Bellman would tell you,” he added with pride,
    “I have uttered that sentiment once.

    “’Tis the note of the Jubjub! Keep count, I entreat;
    You will find I have told it you twice.
    ’Tis the song of the Jubjub! The proof is complete,
    If only I’ve stated it thrice.”

    The Beaver had counted with scrupulous care,
    Attending to every word:
    But it fairly lost heart, and outgrabe in despair,
    When the third repetition occurred.

    It felt that, in spite of all possible pains,
    It had somehow contrived to lose count,
    And the only thing now was to rack its poor brains
    By reckoning up the amount.

    “Two added to one–if that could but be done,”
    It said, “with one’s fingers and thumbs!”
    Recollecting with tears how, in earlier years,
    It had taken no pains with its sums.

    “The thing can be done,” said the Butcher, “I think.
    The thing must be done, I am sure.
    The thing shall be done! Bring me paper and ink,
    The best there is time to procure.”

    The Beaver brought paper, portfolio, pens,
    And ink in unfailing supplies:
    While strange creepy creatures came out of their dens,
    And watched them with wondering eyes.

    So engrossed was the Butcher, he heeded them not,
    As he wrote with a pen in each hand,
    And explained all the while in a popular style
    Which the Beaver could well understand.

    “Taking Three as the subject to reason about–
    A convenient number to state–
    We add Seven, and Ten, and then multiply out
    By One Thousand diminished by Eight.

    “The result we proceed to divide, as you see,
    By Nine Hundred and Ninety Two:
    Then subtract Seventeen, and the answer must be
    Exactly and perfectly true.

    “The method employed I would gladly explain,
    While I have it so clear in my head,
    If I had but the time and you had but the brain–
    But much yet remains to be said.

    “In one moment I’ve seen what has hitherto been
    Enveloped in absolute mystery,
    And without extra charge I will give you at large
    A Lesson in Natural History.”

    In his genial way he proceeded to say
    (Forgetting all laws of propriety,
    And that giving instruction, without introduction,
    Would have caused quite a thrill in Society),

    “As to temper the Jubjub’s a desperate bird,
    Since it lives in perpetual passion:
    Its taste in costume is entirely absurd–
    It is ages ahead of the fashion:

    “But it knows any friend it has met once before:
    It never will look at a bribe:
    And in charity-meetings it stands at the door,
    And collects–though it does not subscribe.

    “Its’ flavour when cooked is more exquisite far
    Than mutton, or oysters, or eggs:
    (Some think it keeps best in an ivory jar,
    And some, in mahogany kegs:)

    “You boil it in sawdust: you salt it in glue:
    You condense it with locusts and tape:
    Still keeping one principal object in view–
    To preserve its symmetrical shape.”

    The Butcher would gladly have talked till next day,
    But he felt that the lesson must end,
    And he wept with delight in attempting to say
    He considered the Beaver his friend.

    While the Beaver confessed, with affectionate looks
    More eloquent even than tears,
    It had learned in ten minutes far more than all books
    Would have taught it in seventy years.

    They returned hand-in-hand, and the Bellman, unmanned
    (For a moment) with noble emotion,
    Said “This amply repays all the wearisome days
    We have spent on the billowy ocean!”

    Such friends, as the Beaver and Butcher became,
    Have seldom if ever been known;
    In winter or summer, ’twas always the same–
    You could never meet either alone.

    And when quarrels arose–as one frequently finds
    Quarrels will, spite of every endeavour–
    The song of the Jubjub recurred to their minds,
    And cemented their friendship for ever!

    Fit the Sixth

    THE BARRISTER’S DREAM

    They sought it with thimbles, they sought it with care;
    They pursued it with forks and hope;
    They threatened its life with a railway-share;
    They charmed it with smiles and soap.

    But the Barrister, weary of proving in vain
    That the Beaver’s lace-making was wrong,
    Fell asleep, and in dreams saw the creature quite plain
    That his fancy had dwelt on so long.

    He dreamed that he stood in a shadowy Court,
    Where the Snark, with a glass in its eye,
    Dressed in gown, bands, and wig, was defending a pig
    On the charge of deserting its sty.

    The Witnesses proved, without error or flaw,
    That the sty was deserted when found:
    And the Judge kept explaining the state of the law
    In a soft under-current of sound.

    The indictment had never been clearly expressed,
    And it seemed that the Snark had begun,
    And had spoken three hours, before any one guessed
    What the pig was supposed to have done.

    The Jury had each formed a different view
    (Long before the indictment was read),
    And they all spoke at once, so that none of them knew
    One word that the others had said.

    “You must know–” said the Judge: but the Snark exclaimed “Fudge!”
    That statute is obsolete quite!
    Let me tell you, my friends, the whole question depends
    On an ancient manorial right.

    “In the matter of Treason the pig would appear
    To have aided, but scarcely abetted:
    While the charge of Insolvency fails, it is clear,
    If you grant the plea ‘never indebted.’

    “The fact of Desertion I will not dispute;
    But its guilt, as I trust, is removed
    (So far as related to the costs of this suit)
    By the Alibi which has been proved.

    “My poor client’s fate now depends on your votes.”
    Here the speaker sat down in his place,
    And directed the Judge to refer to his notes
    And briefly to sum up the case.

    But the Judge said he never had summed up before;
    So the Snark undertook it instead,
    And summed it so well that it came to far more
    Than the Witnesses ever had said!

    When the verdict was called for, the Jury declined,
    As the word was so puzzling to spell;
    But they ventured to hope that the Snark wouldn’t mind
    Undertaking that duty as well.

    So the Snark found the verdict, although, as it owned,
    It was spent with the toils of the day:
    When it said the word “GUILTY!” the Jury all groaned,
    And some of them fainted away.

    Then the Snark pronounced sentence, the Judge being quite
    Too nervous to utter a word:
    When it rose to its feet, there was silence like night,
    And the fall of a pin might be heard.

    “Transportation for life” was the sentence it gave,
    “And _then_ to be fined forty pound.”
    The Jury all cheered, though the Judge said he feared
    That the phrase was not legally sound.

    But their wild exultation was suddenly checked
    When the jailer informed them, with tears,
    Such a sentence would have not the slightest effect,
    As the pig had been dead for some years.

    The Judge left the Court, looking deeply disgusted:
    But the Snark, though a little aghast,
    As the lawyer to whom the defense was entrusted,
    Went bellowing on to the last.

    Thus the Barrister dreamed, while the bellowing seemed
    To grow every moment more clear:
    Till he woke to the knell of a furious bell,
    Which the Bellman rang close at his ear.

    Fit the Seventh

    THE BANKER’S FATE

    They sought it with thimbles, they sought it with care;
    They pursued it with forks and hope;
    They threatened its life with a railway-share;
    They charmed it with smiles and soap.

    And the Banker, inspired with a courage so new
    It was matter for general remark,
    Rushed madly ahead and was lost to their view
    In his zeal to discover the Snark

    But while he was seeking with thimbles and care,
    A Bandersnatch swiftly drew nigh
    And grabbed at the Banker, who shrieked in despair,
    For he knew it was useless to fly.

    He offered large discount–he offered a cheque
    (Drawn “to bearer”) for seven-pounds-ten:
    But the Bandersnatch merely extended its neck
    And grabbed at the Banker again.

    Without rest or pause–while those frumious jaws
    Went savagely snapping around–
    He skipped and he hopped, and he floundered and flopped,
    Till fainting he fell to the ground.

    The Bandersnatch fled as the others appeared
    Led on by that fear-stricken yell:
    And the Bellman remarked “It is just as I feared!”
    And solemnly tolled on his bell.

    He was black in the face, and they scarcely could trace
    The least likeness to what he had been:
    While so great was his fright that his waistcoat turned white–
    A wonderful thing to be seen!

    To the horror of all who were present that day.
    He uprose in full evening dress,
    And with senseless grimaces endeavoured to say
    What his tongue could no longer express.

    Down he sank in a chair–ran his hands through his hair–
    And chanted in mimsiest tones
    Words whose utter inanity proved his insanity,
    While he rattled a couple of bones.

    “Leave him here to his fate–it is getting so late!”
    The Bellman exclaimed in a fright.
    “We have lost half the day. Any further delay,
    And we sha’n’t catch a Snark before night!”

    Fit the Eighth

    THE VANISHING

    They sought it with thimbles, they sought it with care;
    They pursued it with forks and hope;
    They threatened its life with a railway-share;
    They charmed it with smiles and soap.

    They shuddered to think that the chase might fail,
    And the Beaver, excited at last,
    Went bounding along on the tip of its tail,
    For the daylight was nearly past.

    “There is Thingumbob shouting!” the Bellman said,
    “He is shouting like mad, only hark!
    He is waving his hands, he is wagging his head,
    He has certainly found a Snark!”

    They gazed in delight, while the Butcher exclaimed
    “He was always a desperate wag!”
    They beheld him–their Baker–their hero unnamed–
    On the top of a neighboring crag.

    Erect and sublime, for one moment of time.
    In the next, that wild figure they saw
    (As if stung by a spasm) plunge into a chasm,
    While they waited and listened in awe.

    “It’s a Snark!” was the sound that first came to their ears,
    And seemed almost too good to be true.
    Then followed a torrent of laughter and cheers:
    Then the ominous words “It’s a Boo-”

    Then, silence. Some fancied they heard in the air
    A weary and wandering sigh
    Then sounded like “-jum!” but the others declare
    It was only a breeze that went by.

    They hunted till darkness came on, but they found
    Not a button, or feather, or mark,
    By which they could tell that they stood on the ground
    Where the Baker had met with the Snark.

    In the midst of the word he was trying to say,
    In the midst of his laughter and glee,
    He had softly and suddenly vanished away—
    For the Snark _was_ a Boojum, you see.

    THE END

  • DevOps na prática – entrega de software confiável e automatizada

    DevOps na prática – entrega de software confiável e automatizada

    Aproximadamente 55.225 palavras.

    Página 1

    Imagem 1 da página 1 (sem descrição)

    Página 2

    © Casa do Código Todos os direitos reservados e protegidos pela Lei nº9.610, de 10/02/1998.

    Nenhuma parte deste livro poderá ser reproduzida, nem transmitida, sem autorização prévia por escrito da editora, sejam quais forem os meios:

    fotográficos, eletrônicos, mecânicos, gravação ou quaisquer outros.

    Casa do Código Livros para o programador Rua Vergueiro, 3185 – 8º andar 04101-300 – Vila Mariana – São Paulo – SP – Brasil

    Página 3

    Casa do Código "Para meu pai, que me introduziu ao mundo da computação e é meu exemplo de vida.”

    i

    Página 4

    Página 5

    Casa do Código Prefácio Jez Humble Pouco depois que me formei na universidade em 1999, eu fui contratado por umastart-upem Londres. Meu chefe, Jonny LeRoy, ensinou-me a prática de implantaç ão contínua: quando terminávamos uma nova funcionalidade, fazíamos alguns testes manuais rápidos na nossa estaç ão de trabalho e, em seguida, copiávamos osscriptsASP relevantes por FTP para o servidor de produç ão – uma prática que eu não recomendaria hoje, mas que teve a van- tagem de nos permitir mostrar novas ideias para nossos usuários muito rapi- damente.

    Em 2004, quando entrei naThoughtWorks, meu trabalho era ajudar em- presas a entregar software e eu fiquei chocado ao descobrir que prazos de me- ses ou mesmo anos eram comuns. Felizmente, tive a sorte de trabalhar com várias pessoas inteligentes em nossa indústria que estavam explorando for- mas de melhorar estes resultados, ao mesmo tempo aumentando a qualidade e melhorando a nossa capacidade de servir nossos usuários. As práticas que desenvolvemos também tornaram a vida melhor para as pessoas com quem estávamos trabalhando (por exemplo, não precisávamos mais fazerdeploys fora do horário comercial) – uma indicaç ão importante de que você está fa- zendo algo certo. Em 2010, Dave Farley e eu publicamosEntrega Contínua, onde descrevemos os princípios e práticas que tornam possível entregar pe- quenas alterações incrementais, de forma rápida, barata e com baixo risco.

    No entanto, o nosso livro omite os detalhes práticos do que você re- almente precisa para começar a criar uma pipeline de entrega, como pôr em prática sistemas de monitoramento e infraestrutura como código, além dos outros passos práticos importantes necessários para implementar entrega contínua. Por isso estou muito contente que o Danilo escreveu o livro que está iii

    Página 6

    Casa do Código em suas mãos, que eu acho ser uma contribuiç ão importante e valiosa para a nossa área. O Danilo está profundamente envolvido em ajudar organizações a implementar as práticas de entrega contínua há vários anos e tem ampla experiência, e eu tenho certeza de que você vai achar o seu livro prático e informativo. Desejo-lhe tudo de melhor na sua jornada.

    iv

    Página 7

    Casa do Código Sobreolivro Entregar software em produç ão é um processo que tem se tornado cada vez mais difícil no departamento de TI de diversas empresas. Ciclos longos de teste e divisões entre as equipes de desenvolvimento e de operações são alguns dos fatores que contribuem para este problema. Mesmo equipes ágeis que produzem software entregável ao final de cada iteraç ão sofrem para chegar em produç ão quando encontram estas barreiras.

    DevOps é um movimento cultural e profissional que está tentando que- brar essas barreiras. Com o foco em automaç ão, colaboraç ão, compartilha- mento de ferramentas e de conhecimento, DevOps está mostrando que de- senvolvedores e engenheiros de sistema têm muito o que aprender uns com os outros.

    Neste livro, mostramos como implementar práticas de DevOps e Entrega Contínua para aumentar a frequência de deploys na sua empresa, ao mesmo tempo aumentando a estabilidade e robustez do sistema em produç ão. Você vai aprender como automatizar o build e deploy de uma aplicaç ão web, como automatizar o gerenciamento da infraestrutura, como monitorar o sistema em produç ão, como evoluir a arquitetura e migrá-la para a nuvem, além de conhecer diversas ferramentas que você pode aplicar no seu trabalho.

    v

    Página 8

    Página 9

    Casa do Código Agradecimentos Ao meu pai, Marcos, por ser sempre um exemplo a seguir e por ir além tentando acompanhar os exemplos de código mesmo sem nenhum conhe- cimento no assunto. À minha mãe, Solange, e minha irmã, Carolina, pelo incentivo e por corrigirem diversos erros de digitaç ão e português nas ver- sões preliminares do livro.

    À minha parceira e melhor amiga, Jenny, pelo carinho e apoio durante as diversas horas que passei trabalhando no livro.

    Ao meu editor, Paulo Silveira, pela oportunidade, pela confiança e por saber como dar um puxão de orelha ou um incentivo na hora certa para que o livro se tornasse uma realidade. À minha revisora e amiga, Vivian Matsui, por corrigir todos os meus erros de português.

    Aos meus revisores técnicos: Hugo Corbucci, Daniel Cordeiro e Carlos Vilella. Obrigado por me ajudarem a encontrar formas melhores de explicar conceitos difíceis, pela opinião sobre os termos difíceis de traduzir, por ques- tionarem minhas decisões técnicas e por me ajudarem a melhorar o conteúdo do livro.

    Aos colegas Prasanna Pendse, Emily Rosengren, Eldon Almeida e outros membros do grupo “Blogger’s Bloc” naThoughtWorks, por me incentivarem a escrever mais e pelofeedbacknos capítulos iniciais, mesmo não entendendo a língua portuguesa.

    Aos meus inúmeros outros colegas de trabalho daThoughtWorks, em es- pecial Rolf Russell, Brandon Byars e Jez Humble, que ouviram minhas ideias sobre o livro e me ajudaram a escolher a melhor forma de abordar cada as- sunto, capítulo por capítulo.

    vii

    Página 10

    Casa do Código Por fim, a todos que contribuíram de forma direta ou indireta na escrita deste livro.

    Muito obrigado!

    viii

    Página 11

    Casa do Código Sobreoautor Danilo Sato começou a programar ainda criança, quando muitas pessoas ainda não tinham computador em casa. Em 2000 entrou no curso de bacha- relado em Ciência da Computaç ão da Universidade de São Paulo, começando sua carreira como administrador da Rede Linux do IME-USP durante 2 anos.

    Ainda na graduaç ão começou a estagiar como desenvolvedor Java/J2EE e teve seu primeiro contato com Métodos Ágeis na disciplina de Programaç ão Ex- trema (XP).

    Iniciou o mestrado na USP logo após a graduaç ão e, orientado pelo Pro- fessor Alfredo Goldman, defendeu em Agosto de 2007 a dissertaç ão “Uso Efi- caz de Métricas em Métodos Ágeis de Desenvolvimento de Software” [16].

    Durante sua carreira, Danilo atuou como consultor, desenvolvedor, admi- nistrador de sistemas, analista, engenheiro de sistemas, professor, arquiteto e coach, tornando-se consultor líder daThoughtWorks em 2008, onde traba- lhou em projetos Ruby, Python e Java no Brasil, EUA e no Reino Unido. Atu- almente tem ajudado clientes a adotar práticas de DevOps e Entrega Contínua para reduzir o tempo entre a concepção de uma ideia e sua implementaç ão com código rodando em produç ão.

    Além da carreira profissional, Danilo também tem experiência como pa- lestrante em conferências nacionais e internacionais, apresentando palestras eworkshopsna: XP 2007/2009/2010, Agile 2008/2009, Ágiles 2008, Cone- xão Java 2007, Falando em Agile 2008, Rio On Rails 2007, PyCon Brasil 2007, RejectConf SP 2007, Rails Summit Latin America 2008, Agile Brazil 2011/2012/2013, QCon SP 2011/2013, RubyConf Brasil 2012/2013, além de ser o fundador do Coding Dojo @ São Paulo e organizador da Agile Brazil 2010, 2011 e 2012.

    ix

    Página 12

    Página 13

    Casa do Código

    Sumário

    • Sumário 1 Introdução 1.1 Abordagem tradicional página 2
    • 1.2 Uma abordagem alternativa: DevOps e entrega contínua. . 4 1.3 Sobre o livro página 6
    • 2 Tudo começa em produção 11 2.1 Nossa aplicaç ão de exemplo: a loja virtual página 12
    • 2.2 Instalando o ambiente de produç ão página 15
    • 2.3 Configurando dependências nos servidores de produç ão. . 20 2.4 Build e deploy da aplicaç ão página 28
    • 3 Monitoramento 35 3.1 Instalando o servidor de monitoramento página 36
    • 3.2 Monitorando outros servidores página 42
    • 3.3 Explorando os comandos de verificaç ão do Nagios página 44
    • 3.4 Adicionando verificações mais específicas página 48
    • 3.5 Recebendo alertas página 55
    • 3.6 Um problema atinge produç ão, e agora? página 59
    • 4 Infraestrutura como código 61 4.1 Provisionamento, configuraç ão ou deploy? página 62
    • 4.2 Ferramentas de gerenciamento de configuraç ão página 65
    • 4.3 Introduç ão ao Puppet: recursos, provedores, manifestos e de- pendências página 67

    xi

    Página 14

    Sumário

    • Casa do Código 4.4 Reinstalando o servidor de banco de dados página 74
    • 4.5 Reinstalando o servidor web página 82
    • 4.6 Fazendo deploy da aplicaç ão página 87
    • 5 Puppet além do básico 97 5.1 Classes e tipos definidos página 97
    • 5.2 Empacotamento e distribuiç ão usando módulos página 101
    • 5.3 Refatorando o código Puppet do servidor web página 105
    • 5.4 Separaç ão de responsabilidades: infraestrutura vs. aplicaç ão115 5.5 Puppet forge: reutilizando módulos da comunidade página 119
    • 5.6 Conclusão página 126
    • 6 Integraç ão contínua 127 6.1 Práticas de engenharia ágil página 128
    • 6.2 Começando pelo básico: controle de versões página 128
    • 6.3 Automatizando o build do projeto página 131
    • 6.4 Testes automatizados: diminuindo risco e aumentando a con- fiança página 133
    • 6.5 O que é integraç ão contínua? página 139
    • 6.6 Provisionando um servidor de integraç ão contínua página 142
    • 6.7 Configurando o build da loja virtual página 147
    • 6.8 Infraestrutura como código para o servidor de integraç ão contínua página 158
    • 7 Pipeline de entrega 165 7.1 Afinidade com a infraestrutura: usando pacotes nativos. . . 166 7.2 Integraç ão contínua do código de infraestrutura página 184
    • 7.3 Pipeline de entrega página 198
    • 7.4 Próximos Passos página 205
    • 8 Tópicos avanç ados 207 8.1 Fazendo deploy na nuvem página 209
    • 8.2 DevOps além das ferramentas página 230

    xii

    Página 15

    Casa do Código

    Sumário

    • 8.3 Sistemas avançados de monitoramento página 231
    • 8.4 Pipelines de entrega complexas página 234
    • 8.5 Gerenciando mudanças no banco de dados página 234
    • 8.6 Orquestraç ão de deploy página 235
    • 8.7 Gerenciando configurações por ambiente página 236
    • 8.8 Evoluç ão arquitetural página 238
    • 8.9 Segurança página 241
    • 8.10 Conclusão página 242

    Bibliografia 246 xiii

    Página 16

    Página 17

    Capítulo1 Introduç ão Com o avanço da tecnologia, software tem se tornado parte fundamental do dia a dia de muitas empresas. Ao planejar suas férias em família – agendando quarto em hotéis, comprando passagens de avião, realizando transações fi- nanceiras, enviando SMS ou compartilhando as fotos da viagem – você in- terage com diversos sistemas de software. Quando um desses sistemas está fora do ar, o problema não é apenas da empresa que está perdendo negócios, mas também dos usuários que não conseguem realizar suas tarefas. Por esse motivo é importante investir na qualidade e estabilidade do software desde o momento em que a primeira linha de código é escrita até o momento em que ele está rodando em produç ão.

    Página 18

    1.1. Abordagem tradicional Casa do Código 1.1 Abordagem tradicional Metodologias de desenvolvimento de software evoluíram, porém o processo de transformar ideias em código ainda envolve diversas atividades como: le- vantamento de requisitos,design, arquitetura, implementaç ão e teste. Os Mé- todos Ágeis de desenvolvimento de software surgiram no final da década de 90 propondo uma nova abordagem para organizar tais atividades. Ao invés de realizá-las em fases distintas – modelo conhecido como processo em cas- cata – elas acontecem em paralelo o tempo todo, em iterações curtas. Ao final de cada iteraç ão, o software se torna mais e mais útil, com novas funcionali- dades e menosbugs, e o time decide junto com o cliente qual a próxima fatia a ser desenvolvida.

    Assim que o cliente decide que o software está pronto para ir ao ar e o código é colocado em produç ão, os verdadeiros usuários começam a usar o sistema. Nesse momento, diversas outras preocupações se tornam relevantes:

    suporte, monitoramento, segurança, disponibilidade, desempenho, usabili- dade, dentre outras. Quando o software está em produç ão, a prioridade é mantê-lo rodando de forma estável. Em casos de falha ou desastres, o time precisa estar preparado para reagir de forma proativa e resolver o problema rapidamente.

    Devido à natureza dessas atividades, muitos departamentos de TI pos- suem uma divisão clara de responsabilidades entre otime de desenvolvi- mentoe otime de operaç ões. Enquanto o time de desenvolvimento é res- ponsável por criar novos produtos e aplicações, adicionar funcionalidades ou corrigirbugs, o time de operações é responsável por cuidar desses produtos e aplicações em produç ão. O time de desenvolvimento é incentivado a intro- duzir mudanças, enquanto o time de operações preza pela estabilidade.

    À primeira vista, esta divisão de responsabilidades parece fazer sentido.

    Cada equipe possui objetivos e formas de trabalho diferentes. Enquanto o time de desenvolvimento trabalha em iterações, o time de operações precisa reagir instantaneamente quando algo dá errado. Além disso, as ferramentas e o conhecimento necessário para trabalhar nessas equipes são diferentes. O time de desenvolvimento evolui o sistema introduzindo mudanças. Por outro lado, o time de operações evita mudan ças, pois elas trazem um certo risco à estabilidade do sistema. Cria-se então um conflito de interesse entre essas

    Página 19

    Casa do Código Capítulo 1. Introduç ão duas equipes.

    Uma vez que o conflito existe, a forma mais comum de gerenciar essa relação é através da criaç ão de processos que definem o modo de trabalho e as responsabilidades de cada equipe. De tempos em tempos, a equipe de desenvolvimento empacota o software que precisa ir para produç ão, escreve documentaç ão explicando como configurar o sistema, como realizar a insta- lação em produç ão e repassa a responsabilidade para o time de operações. É comum o uso de sistemas de controle deticketspara gerenciar a comunica- ção entre as equipes assim como a definiç ão de acordos de nível de serviço (service-level agreementsou SLAs) para garantir que osticketssejam proces- sados e respondidos em um tempo adequado.

    Essa passagem de bastão – também conhecida em inglês pelo termohand- off– cria um gargalo no processo de levar código do desenvolvimento e teste para produç ão. É comum chamar esse processo dedeployem ambiente de produç ão. Em português é até possível ouvir o neologismodeploiar, ou então o termo correto em português, que seria “implantar”.

    Com o passar do tempo, o processo tende a se tornar mais e mais burocrá- tico, fazendo com que a frequência dedeploysdiminua. Com isso, o número de mudanças introduzidas em cadadeploytende a acumular, aumentando também o risco de cadadeploye criando o ciclo vicioso mostrado na figura 1.1.

    Figura 1.1: Ciclo vicioso entre desenvolvimento e operações Esse ciclo vicioso não só diminui a habilidade da empresa de responder rapidamente a mudanças no negócio, como também impacta etapas anterio-

    Imagem 1 da página 19 (sem descrição)

    Página 20

    1.2. Uma abordagem alternativa: DevOps e entrega contínua Casa do Código res do processo de desenvolvimento. A separaç ão entre os times de desenvol- vimento e de operações, o hand-offde código existente entre eles e a cerimô- nia envolvida no processo dedeployacabam criando o problema conhecido como “a Última Milha” [17].

    A última milha se refere à fase final do processo de desenvolvimento que acontece após o software atender todos os requisitos funcionais mas antes de ser implantado em produç ão. Ela envolve várias atividades para verificar se o que vai ser entregue é estável ou não, como: testes de integraç ão, testes de sis- tema, testes de desempenho, testes de segurança, homologaç ão com usuários (também conhecido comoUser Acceptance TestsouUAT), testes de usabili- dade, ensaios dedeploy, migraç ão de dados etc.

    É fácil ignorar a última milha quando a equipe está produzindo e demons- trando funcionalidades novas a cada uma ou duas semanas. Porém, são pou- cas as equipes que de fato fazemdeployem produç ão ao final de cada itera- ção. Do ponto de vista do negócio, a empresa só terá retorno no investimento quando o software estiver realmente rodando em produç ão. O problema da última milha só é visível quando se toma uma visão holística do processo.

    Para resolvê–lo é preciso olhar além das barreiras impostas entre as diferentes equipes envolvidas: seja a equipe de negócios, a equipe de desenvolvimento ou a equipe de operações.

    1.2 Uma abordagem alternativa: D evOps e en- trega contínua Muitas empresas de sucesso na internet – como Google, Amazon, Netflix, Flickr, GitHub e Facebook – perceberam que a tecnologia pode ser usada a seu favor e que o atraso nodeploypara produç ão significa atrasar sua habilidade de competir e se adaptar a mudanças no mercado. É comum que elas realizem dezenas ou até centenas dedeployspor dia!

    Essa linha de pensamento que tenta diminuir o tempo entre a criaç ão de uma ideia e sua implementaç ão em produç ão é também conhecida como “Entrega Contínua” [6] e está revolucionando o processo de desenvolvi- mento e entrega de software. Alguns autores preferem utilizar o termo em inglês,continuous delivery.

    Página 21

    Casa do Código Capítulo 1. Introduç ão Quando o processo dedeploydeixa de ser uma cerimônia e passa a se tornar algo corriqueiro, o ciclo vicioso da figura1.1se inverte completamente.

    O aumento da frequência dedeploysfaz com que a quantidade de mudanças em cadadeploydiminua, reduzindo também o risco associado com aquele deploy. Esse benefício não é algo intuitivo, porém quando algo dá errado é muito mais fácil descobrir o que aconteceu, pois a quantidade de fatores que podem ter causado o problema é menor.

    No entanto, a diminuiç ão do risco não implica na remoção completa dos processos criados entre as equipes de desenvolvimento e de operações. O segredo que permite a inversão do ciclo é a automatizaç ão desse processo, conforme mostra a figura1.2. Automatizar o processo dedeploypermite que ele seja executado a qualquer momento de forma confiável, removendo o risco de um erro humano causar problemas.

    Figura 1.2: Práticas de DevOps ajudam a quebrar o ciclo vicioso através da automaç ão de processos Investir em automatizaç ão não é uma ideia nova, muitas equipes já es- crevem testes automatizados como parte do processo de desenvolvimento de software. Práticas como o desenvolvimento dirigido a testes (Test-Driven De- velopmentou TDD) [3] ou a integraç ão contínua [12] – que será discutida em mais detalhes no capítulo6– são comuns e amplamente aceitas na comuni- dade de desenvolvimento. Esse foco em automaç ão de testes, juntamente com a criaç ão de equipes multidisciplinares, ajudou a quebrar a barreira existente entre desenvolvedores, testadores e analistas de negócio, criando uma cultura de colaboraç ão entre pessoas com habilidades complementares trabalhando

    Imagem 1 da página 21 (sem descrição)

    Página 22

    1.3. Sobre o livro Casa do Código como parte da mesma equipe.

    Inspirado no sucesso dos métodos ágeis, um novo movimento surgiu para levar a mesma linha de raciocínio para o próximo nível: o movimentoDe- vOps. Seu objetivo é criar uma cultura de colaboraç ão entre as equipes de desenvolvimento e de operações que permite aumentar o fluxo de trabalho completado – maior frequência dedeploys– ao mesmo tempo aumentando a estabilidade e robustez do ambiente de produç ão.

    Além de uma mudança cultural, o movimento DevOps enfoca bastante nas práticas de automaç ão das diversas atividades necessárias para atacar a úl- tima milha e entregar código de qualidade em produç ão, como: compilaç ão do código, testes automatizados, empacotamento, criaç ão de ambientes para teste ou produç ão, configuraç ão da infraestrutura, migraç ão de dados, mo- nitoramento, agregamento delogse métricas, auditoria, segurança, desempe- nho,deploy, entre outros.

    Empresas que aplicaram essas práticas de DevOps com sucesso não enxer- gam mais o departamento de TI como um gargalo mas sim como um agente de capacitaç ão do negócio. Elas conseguem se adaptar a mudanças no mer- cado rapidamente e realizar diversosdeployspor dia de forma segura. Algu- mas delas inclusive fazem com que um novo desenvolvedor realize umdeploy para produç ão no seu primeiro dia de trabalho!

    Este livro irá apresentar, através de exemplos reais, as principais práti- cas de DevOps e Entrega Contínua para permitir que você replique o mesmo sucesso na sua empresa. O objetivo principal do livro é aproximar as comuni- dades de desenvolvimento e de operações. Desenvolvedores conhecerão um pouco mais sobre as preocupações e práticas envolvidas para operar e manter sistemas estáveis em produç ão, enquanto engenheiros e administradores de sistema irão aprender como introduzir mudanças de forma segura e incre- mental através de automaç ão.

    1.3 Sobre o livro O principal objetivo do livro é mostrar na prática como aplicar os concei- tos e técnicas de DevOps e Entrega Contínua. Por esse motivo, tivemos que escolher quais tecnologias e ferramentas utilizar. Nossa preferência foi usar

    Página 23

    Casa do Código Capítulo 1. Introduç ão linguagens e ferramentas de código livre e priorizamos aquelas que são bas- tante usadas na indústria.

    Você vai precisar usar as ferramentas escolhidas para acompanhar os exemplos de código. Porém, sempre que apresentarmos uma nova ferra- menta, vamos discutir um pouco sobre as outras alternativas, para que você possa pesquisar qual opção faz mais sentido no seu contexto.

    Você não precisa de nenhum conhecimento prévio específico para acom- panhar os exemplos. Se você tiver experiência no ecossistema Java ou Ruby, será um bônus. Nosso ambiente de produç ão vai rodar em UNIX (Linux, para ser mais específico), portanto um pouco de conhecimento no uso da linha de comando pode ajudar mas não é obrigatório [13]. De toda forma, você vai ser capaz de rodar todos os exemplos na sua própria máquina, independente se está rodando Linux, Mac ou Windows.

    Público alvo Este livro é voltado para desenvolvedores, engenheiros de sistema, admi- nistradores de sistema, arquitetos, gerentes e qualquer pessoa com conheci- mentos técnicos que tenha interesse em aprender mais sobre as práticas de DevOps e Entrega Contínua.

    Estrutura dos capítulos O livro foi escrito para ser lido do início ao fim de forma sequencial. De- pendendo da sua experiência com o assunto abordado em cada capítulo, você pode preferir avançar ou seguir em uma ordem diferente.

    Nocapítulo2apresentamos a aplicaç ão de exemplo que será usada no restante do livro e as tecnologias usadas para construí-la. Como o foco do li- vro não é no desenvolvimento da aplicaç ão em si, usamos uma aplicaç ão não trivial escrita em Java e usando diversas bibliotecas bem comuns no ecossis- tema Java. Ao final do capítulo, a aplicaç ão vai estar rodando em produç ão.

    Com um ambiente de produç ão no ar, nocapítulo3vamos vestir o cha- péu do time de operações e configurar um servidor de monitoramento para detectar falhas e enviar notificações sempre que algum problema for encon- trado. Ao final do capítulo, seremos notificados de que um dos servidores caiu.

    Página 24

    1.3. Sobre o livro Casa do Código Nocapítulo4vamos reconstruir o servidor problemático, dessa vez de forma automatizada, tratando a infraestrutura como código. Ocapítulo5 é uma continuaç ão do assunto, abordando tópicos mais avançados e refato- rando o código para torná-lo mais modular, legível e extensível.

    Após vestir o chapéu do time de operações, iremos voltar nossa aten ção para o desenvolvimento de software. Ocapítulo6discute práticas de enge- nharia ágil que ajudam a escrever código de qualidade. Vamos aprender sobre os diversos tipos de testes automatizados e subir um novo servidor dedicado para fazer integraç ão contínua do código da nossa aplicaç ão.

    Apresentamos o conceito da pipeline de entrega nocapítulo7. Coloca- mos o código de infraestrutura na integraç ão contínua e implementamos um processo automatizado para instalar a versão mais nova da aplicaç ão em pro- dução com o simples clique de um botão.

    Nocapítulo8migramos o ambiente de produç ão para a nuvem. Por fim, discutimos tópicos mais avançados, com ponteiros para recursos onde você pode pesquisar e aprender mais sobre os assuntos que ficaram de fora do es- copo deste livro.

    Convenç ões de código Nos exemplos de código, vamos usar reticências…para omitir as par- tes não importantes. Quando o código já existe, vamos repetir as linhas ao redor da área que precisa ser alterada para dar um pouco de contexto sobre a modificaç ão.

    Quando a linha é muito comprida e não couber na página, vamos usar uma barra invertidapara indicar que a próxima linha no livro é a continu- ação da linha anterior. Você pode simplesmente ignorar a barra invertida e continuar digitando na mesma linha.

    Nos exemplos na linha de comando, além da barra invertida, usaremos um sinal de maior>na próxima linha para indicar que ela ainda é parte do mesmo comando. Isto é para distinguir o comando que precisa ser digitado da saída que o comando produz quando for executado. Ao executar os co- mandos, você pode simplesmente digitar tudo na mesma linha, ignorando a e o>.

    Página 25

    Casa do Código Capítulo 1. Introduç ão Mais recursos Criamos um fórum de discussão no Google Groups onde você pode en- viar perguntas, sugestões oufeedbackdireto para o autor. Para se inscrever, acesse a URL:

    https://groups.google.com/d/forum/livro-devops-na-pratica Todos os exemplos de código do livro também estão disponíveis no GitHub do autor, nas URLs:

    https://github.com/dtsato/loja-virtual-devops https://github.com/dtsato/loja-virtual-devops-puppet

    Página 26

    Página 27

    Capítulo2 Tudocomeçaemproduç ão Ao contrário do que muitos processos de desenvolvimento sugerem, o ciclo de vida do software só deveria começar quando usuários começam a usá-lo.

    O problema da última milha apresentado no capítulo1deveria ser a primeira milha, pois nenhum software entrega valor antes de entrar em produç ão. Por isso, o objetivo deste capítulo é subir um ambiente de produç ão completo, começando do zero, e instalar uma aplicaç ão Java relativamente complexa que será usada como ponto de partida para os conceitos e práticas de DevOps apresentados no livro.

    Ao final deste capítulo, teremos uma loja virtual web completa rodando – suportada por um banco de dados – que permitirá que usuários se cadas- trem, efetuem compras, além de fornecer ferramentas de administraç ão para gerenciamento do catálogo de produtos, das promoções e do conteúdo dis- ponibilizado na loja virtual.

    De que adianta adicionar novas funcionalidades, melhorar o desempe-

    Página 28

    2.1. Nossa aplicaç ão de exemplo: a loja virtual Casa do Código nho, corrigir defeitos, deixar as telas da loja virtual mais bonitas se isso tudo não for para produç ão? Vamos começar fazendo exatamente essa parte difícil, essa tal de última milha: colocar o software em produç ão.

    2.1 Nossa aplicação de exemplo: a loja virtual Como o foco do livro não é no processo de desenvolvimento em si, mas sim nas práticas de DevOps que auxiliam obuild,deploye operaç ão de uma apli- cação em produç ão, usaremos uma aplicaç ão fictícia baseada em um projeto de código aberto. A loja virtual é uma aplicaç ão web escrita em Java sobre a plataformaBroadleaf Commerce(http://www.broadleafcommerce.org/) . O código utilizado neste capítulo e no restante do livro foi escrito com base no site de demonstraç ão oferecido pela Broadleaf e pode ser acessado no seguinte repositório do GitHub:

    https://github.com/dtsato/loja-virtual-devops/ OBroadleaf Commerceé uma plataforma flexível que expõe pontos de configuraç ão e de extensão que podem ser customizados para implementar funcionalidades específicas. No entanto, boa parte das funcionalidades pa- drão de um site de compras online como o Submarino ou a Amazon já estão disponíveis, incluindo:

    • Navegaç ão e busca no catálogo de produtos; • Páginas de produto com nome, descriç ão, preço, fotos e produtos rela- cionados; • Carrinho de compras; • Processo decheckoutcustomizável incluindo códigos promocionais, dados de cobrança e de entrega; • Cadastro de usuário; • Histórico de compras; • Ferramentas de administraç ão para: catálogo de produtos, promoções, preços, taxas de frete e páginas com conteúdo customizado.

    Página 29

    Casa do Código Capítulo 2. Tudo começa em produç ão Figura 2.1: Uma prévia da página inicial da loja virtual Além disso, oBroadleaf Commerceutiliza diversos frameworks bem es- tabelecidos na comunidade Java, tornando o exemplo mais interessante do ponto de vista de DevOps, pois representa bem a complexidade envolvida no processo debuildedeployde uma aplicaç ão Java no mundo real. Os deta- lhes de implementaç ão vão além do escopo deste livro, porém é importante conhecer um pouco das principais tecnologias e frameworks utilizados nesta aplicaç ão:

    •Java: a aplicaç ão é escrita em Java (http://java.oracle.com/) , compatível com a versão Java SE 6 e superiores.

    •Spring: o Spring (http://www.springframework.org/) é um framework de desenvolvimento de aplicações corporativas popular na comunidade Java que oferece diversos componentes como: injeção de dependências, gerenciamento de transações, seguran ça, um framework de MVC, den- tre outros.

    •JPA e Hibernate: o JPA é a API de persistência do Java e o Hiber- nate (http://www.hibernate.org/) é a implementaç ão mais famosa da JPA na comunidade Java, oferecendo recursos para realizar o mapea- mento objeto-relacional (object-relational mapping ou ORM) entre ob- jetos Java e as tabelas no banco de dados.

    Imagem 1 da página 29 (sem descrição)

    Página 30

    2.1. Nossa aplicaç ão de exemplo: a loja virtual Casa do Código •Google Web Toolkit: o GWT (http://developers.google.com/ web-toolkit/) é um framework desenvolvido pelo Google para facilitar a criaç ão de interfaces ricas que rodam no browser. O GWT permite que o desenvolvedor escreva código Java que é então compilado para Javascript. A loja virtual utiliza o GWT para implementar a interface gráfica das ferramentas de administraç ão.

    •Apache Solr: o Solr (http://lucene.apache.org/solr/) é um servidor de pesquisa que permite a indexaç ão do catálogo de produtos da loja vir- tual e oferece uma API eficiente e flexível para efetuar consultas de texto em todo o catálogo.

    •Tomcat: o Tomcat (http://tomcat.apache.org/) é um servidor que im- plementa as tecnologias web – Java Servlet e JavaServer Pages – do Java EE. Apesar doBroadleaf Commercerodar em servidores de aplicaç ão alternativos – como Jetty, GlassFish ou JBoss – utilizaremos o Tomcat por ser uma escolha comum em diversas empresas rodando aplicações web Java.

    •MySQL: o MySQL (http://www.mysql.com/) é um servidor de banco de dados relacional. O JPA e o Hibernate permitem que a aplicaç ão rode em diversos outros servidores de banco de dados – como Oracle, PostgreSQL ou SQL Server – porém também utilizaremos o MySQL por ser uma escolha popular e por disponibilizar uma versão de código aberto.

    Não é uma aplicaç ão pequena. Melhor ainda: ela utiliza bibliotecas que são frequentemente encontradas na grande maioria das aplicações Java no mercado. Como falamos, vamos utilizá-la como nosso exemplo, mas você também pode seguir o processo com a sua própria aplicaç ão, ou ainda esco- lher outro software, independente de linguagem, para aprender as técnicas de DevOps que serão apresentadas e discutidas durante o livro.

    O próximo objetivo é colocar a loja virtual no ar, porém, antes de fazer o primeirodeploy, é preciso ter um ambiente de produç ão pronto, com servi- dores onde o código possa rodar. O ambiente de produç ão em nosso exemplo será inicialmente composto de 2 servidores, conforme mostra a figura2.2.

    Página 31

    Casa do Código Capítulo 2. Tudo começa em produç ão Figura 2.2: Ambiente de produç ão da loja virtual Usuários acessarão a loja virtual, que rodará em uma instância do Tom- cat no servidor web. O servidor web rodará todas as bibliotecas e frameworks Java utilizados pela loja virtual, inclusive uma instância embutida do Solr. Por fim, a aplicaç ão web utilizará o MySQL, rodando em um servidor de banco de dados separado. Esta é uma arquitetura web de duas camadas comumente utilizada por diversas aplicações no mundo real. No capítulo 8discutiremos com mais detalhes os fatores que influenciam a escolha da arquitetura física para sua aplicaç ão, porém por enquanto vamos usar algo comum para sim- plificar o exemplo e colocar a loja virtual no ar o quanto antes.

    2.2 Instalando o ambiente de produção Comprar servidores e hardware para a loja virtual custaria muito dinheiro, então inicialmente iremos usar máquinas virtuais. Isso permitirá criar todo o ambiente de produç ão na nossa máquina. Existem diversas ferramentas para rodar máquinas virtuais – como VMware ou Parallels – porém algumas são pagas e a maioria usa uma interface gráfica para configuraç ão, o que tornaria este capítulo uma coleção descreenshotsdifíceis de acompanhar.

    Para resolver esses problemas, usaremos duas ferramentas que facilitam o uso e configuraç ão de máquinas virtuais: oVagrant(http://www.vagrantup.

    com) e oVirtualBox(http://www.virtualbox.org) . O VirtualBox é uma ferra- menta da Oracle que permite configurar e rodar máquinas virtuais nas princi- pais plataformas: Windows, Linux, Mac OS X e Solaris. O VirtualBox possui uma ferramenta de linha de comando para executar e configurar as máquinas virtuais, porém para facilitar ainda mais o trabalho, usaremos o Vagrant que fornece uma DSL em Ruby para definir, gerenciar e configurar ambientes vir- tuais. O Vagrant possui também uma interface de linha de comando simples

    Imagem 1 da página 31 (sem descrição)

    Página 32

    2.2. Instalando o ambiente de produç ão Casa do Código para subir e interagir com esses ambientes virtuais.

    Caso você já possua o Vagrant e o VirtualBox instalados e funcionando, você pode pular para a subseção"Declarando e Subindo os Servidores”. Caso contrário, o processo de instalaç ão dessas ferramentas é simples.

    Instalando o VirtualBox Para instalar o VirtualBox, acesse a página dedownloadhttp://www.

    virtualbox.org/wiki/Downloadse escolha a versão mais atual. No momento da escrita do livro, a versão mais nova é o VirtualBox 4.3.8 e será a versão uti- lizada no decorrer do livro. Escolha o pacote de instalaç ão de acordo com a sua plataforma: no Windows o instalador é um arquivo executável.exe; no Mac OS X o instalador é um pacote.dmg; no Linux o VirtualBox disponibi- liza pacotes.debou.rpm, dependendo da sua distribuiç ão.

    Uma vez que você tenha feito odownload, instale o pacote. No Win- dows e no Mac OS X, basta dar um duplo clique no arquivo de ins- talação (.exeno Windows e.dmgno Mac OS X) e seguir as ins- truções do instalador. No Linux, caso tenha escolhido o pacote.deb, instale-o executando o comandodpkg -i {arquivo.deb}, substi- tuindo{arquivo.deb}pelo nome do arquivo baixado, por exemplo virtualbox-4.3_4.3.8-92456~Ubuntu~raring_i386.deb. Caso tenha escolhido o pacote.rpm, instale-o executando o comandorpm -i {arquivo.rpm}, substituindo {arquivo.rpm}pelo nome do arquivo bai- xado, por exemploVirtualBox-4.3-4.3.8_92456_el6-1.i686.rpm.

    Observaç ão: no Linux, caso seu usuário não sejaroot, você precisará rodar os comandos anteriores com o comandosudona frente, por exemplo:sudo dpkg -i {arquivo.deb} ousudo rpm -i {arquivo.rpm}.

    Para testar que o VirtualBox está instalado corretamente, acesse o termi- nal e execute o comandoVBoxManage -v. Para abrir o terminal no Win- dows, você pode usarWin+Re digitarcmd. Caso tudo esteja correto, o co- mando retornará algo como “4.3.8r92456”, dependendo da versão instalada.

    Instalando o Vagrant Uma vez que o VirtualBox estiver instalado, prossiga com o processo de instalaç ão do Vagrant, que é bem parecido. Acesse a página dedownloaddo

    Página 33

    Casa do Código Capítulo 2. Tudo começa em produç ão Vagranthttp://www.vagrantup.com/downloads.htmle escolha a versão mais atual. No momento da escrita do livro, a versão mais nova é o Vagrant 1.5.1 e será a versão utilizada no decorrer do livro. Faç a odownloaddo pacote de instalaç ão de acordo com a sua plataforma: no Windows o instalador é um arquivo.msi; no Mac OS X o instalador é um pacote.dmg; no Linux o Va- grant disponibiliza pacotes.debou.rpm, dependendo da sua distribuiç ão.

    Assim que tenha feito odownloaddo pacote, instale-o: no Windows e no Mac OS X, basta dar um duplo clique no arquivo de instalaç ão (.msi no Windows e.dmgno Mac OS X) e seguir as instruções do instala- dor. No Linux, basta seguir os mesmos passos da instalaç ão do Virtual- Box no Linux usando o pacote escolhido (vagrant_1.5.1_i686.deb ou vagrant_1.5.1_i686.rpm). No Mac OS X e no Windows, o comando vagrantjá é colocado noPATHapós a instalaç ão. No Linux, você vai preci- sar adicionar/opt/vagrant/binno seuPATH.

    Para testar que o Vagrant está instalado corretamente, acesse o terminal e execute o comandovagrant -v. Caso tudo esteja correto, o comando retornará algo como “Vagrant 1.5.1”, dependendo da versão instalada.

    O último passo necessário é configurar uma imagem inicial que serve de templatepara inicializar cada máquina virtual. Estas imagens, também co- nhecidas comobox, servem como ponto de partida, contendo o sistema ope- racional básico. No nosso caso, utilizaremos umaboxoferecida pelo próprio Vagrant, que contém a imagem de um Linux Ubuntu 12.04 LTS de 32 bits.

    Para baixar e configurar estabox, é preciso executar o comando:

    $ vagrant box add hashicorp/precise32 ==> box: Loading metadata for box ’hashicorp/precise32’ box: URL: https://vagrantcloud.com/hashicorp/precise32 …

    Esse comando irá fazer odownloaddo arquivo de imagem da máquina virtual, que é grande (299MB), portanto ele vai demorar para executar e uma boa conexão com a internet será necessária. Uma lista de outras ima- gens disponibilizadas pela comunidade Vagrant pode ser encontrada em http://www.vagrantbox.es/e o processo de inicializaç ão é parecido com o co- mando anterior. A empresa por trás do Vagrant, a HashiCorp, introduziu

    Página 34

    2.2. Instalando o ambiente de produç ão Casa do Código recentemente oVagrant Cloud(https://vagrantcloud.com/) , uma forma de encontrar e compartilharboxescom a comunidade.

    Declarando e subindo os servidores Uma vez que o Vagrant e o VirtualBox estão funcionando, declarar e ge- renciar um ambiente virtual é simples. A declaraç ão de configuraç ão das má- quinas virtuais é feita em um arquivo chamadoVagrantfile. O comando vagrant initcria um arquivoVagrantfileinicial, com comentários que explicam todas as opções de configuraç ão disponíveis.

    No nosso caso, iremos começar de forma simples e configurar apenas o necessário para subir os dois servidores de produç ão. O conteúdo do Vagrantfileque precisamos é:

    VAGRANTFILE_API_VERSION="2"

    Vagrant.configure( VAGRANTFILE_API_VERSION) do|config| config.vm.box ="hashicorp/precise32"

    config.vm.define :dbdo|db_config| db_config.vm.network :private_network, :ip=>"192.168.33.10"

    end config.vm.define :webdo|web_config| web_config.vm.network :private_network, :ip=>"192.168.33.12"

    end end Esse arquivo configura duas máquinas virtuais, com apelidos de “db”

    e “web”. Ambas utilizarão aboxhashicorp/precise32 que instala- mos anteriormente. Cada uma possui um bloco de configuraç ão que de- fine um endereço IP para configurar a conexão com a rede. Os endereços IP 192.168.33.10e192.168.33.12foram escolhidos de forma arbitrária para evitar conflitos com as configurações de rede da sua máquina.

    Para subir os servidores, basta executar o comandovagrant upno mesmo diretório onde o arquivoVagrantfilefoi criado e o Vagrant to- mará conta de subir e configurar as máquinas virtuais para você. Se tudo correr bem, a saída do comando será algo parecido com:

    Página 35

    Casa do Código Capítulo 2. Tudo começa em produç ão $ vagrant up Bringing machine ’db’ up with ’virtualbox’ provider…

    Bringing machine ’web’ up with ’virtualbox’ provider…

    ==> db: Importing base box ’hashicorp/precise32’…

    ==> db: Matching MAC address for NAT networking…

    ==> db: Checking if box ’hashicorp/precise32’ is up to date…

    ==> db: Setting the name of the VM: blank_db_1394680068450_7763 ==> db: Clearing any previously set network interfaces…

    ==> db: Preparing network interfaces based on configuration…

    db: Adapter 1: nat db: Adapter 2: hostonly ==> db: Forwarding ports…

    db: 22 => 2222 (adapter 1) ==> db: Booting VM…

    ==> db: Waiting for machine to boot. This may take a few minutes…

    db: SSH address: 127.0.0.1:2222 db: SSH username: vagrant db: SSH auth method: private key ==> db: Machine booted and ready!

    ==> db: Configuring and enabling network interfaces…

    ==> db: Mounting shared folders…

    db: /vagrant => /private/tmp/blank ==> web: Importing base box ’hashicorp/precise32’…

    ==> web: Matching MAC address for NAT networking…

    ==> web: Checking if box ’hashicorp/precise32’ is up to date…

    ==> web: Setting the name of the VM:

    blank_web_1394680087001_3842 ==> web: Fixed port collision for 22 => 2222. Now on port 2200.

    ==> web: Clearing any previously set network interfaces…

    ==> web: Preparing network interfaces based on configuration…

    web: Adapter 1: nat web: Adapter 2: hostonly ==> web: Forwarding ports…

    web: 22 => 2200 (adapter 1) ==> web: Booting VM…

    ==> web: Waiting for machine to boot. This may take a few minutes…

    web: SSH address: 127.0.0.1:2200

    Página 36

    2.3. Configurando dependências nos servidores de produç ão Casa do Código web: SSH username: vagrant web: SSH auth method: private key ==> web: Machine booted and ready!

    ==> web: Configuring and enabling network interfaces…

    ==> web: Mounting shared folders…

    web: /vagrant => /private/tmp/blank Isso significa que as máquinas virtuais estão funcionando e prontas para serem usadas. Se você ler a saída com cuidado, verá que os passos foram os mesmos para ambas as máquinasdbeweb. Além disso, o Vagrant tam- bém mapeou portas de SSH e montou uma partiç ão para acessar os arquivos existentes no diretório da máquina hospedeira. Isso pode soar um pouco con- fuso, mas demonstra algumas das funcionalidades poderosas que o Vagrant disponibiliza.

    2.3 Configurandodependênciasnosservidores de produção Agora que os servidores estão rodando, é preciso instalar os pacotes e depen- dências para que a loja virtual funcione. Administradores de sistema prova- velmente já estão acostumados a trabalhar em diversas máquinas ao mesmo tempo, porém desenvolvedores geralmente trabalham sempre em uma má- quina só.

    Nas próximas seções começaremos a interagir com mais de uma máquina ao mesmo tempo e a maior parte dos comandos precisarão ser executados no servidor correto. Usaremos uma notaç ão especial para guiar as instruções no restante do livro, representando o usuário e o servidor nopromptda li- nha de comando para servir de lembrete para você verificar se está rodando o comando no servidor certo. O padrão será{usuário}@{servidor}$, no qual o usuário geralmente serávagrante o servidor pode variar entre dbouweb. Desta forma, comandos precedidos devagrant@db$devem ser executados no servidordbe comandos precedidos devagrant@web$ devem ser executados no servidorweb.

    Ao invés de pular de um servidor para o outro, iremos focar inicialmente em um servidor por vez, começando pelo servidor de banco de dados.

    Página 37

    Casa do Código Capítulo 2. Tudo começa em produç ão Servidor de banco de dados Primeiramente, precisamos logar no servidor de banco de dados para ins- talar o MySQL. Isso é feito através do comandovagrant ssh db, que abre uma sessão SSH com o servidordb. Uma vez logado, a instalaç ão do servidor MySQL é feita através do pacotemysql-server:

    vagrant@db$ sudo apt-get update Ign http://us.archive.ubuntu.com precise InRelease Ign http://us.archive.ubuntu.com precise-updates InRelease …

    Reading package lists… Done vagrant@db$ sudo apt-get install mysql-server Reading package lists… Done Building dependency tree …

    ldconfig deferred processing now taking place Para entender o que está acontecendo, vamos analisar cada parte desse comando. O comandoapt-geté usado para gerenciar quais pacotes es- tão instalados no sistema. A instruç ãoupdateatualiza o índice de paco- tes para as últimas versões. A instruç ãoinstallserve para instalar um novo pacote no sistema. Nesse caso o pacote que queremos instalar é o pa- cotemysql-serverque contém o servidor MySQL. O comando inteiro é precedido pelo comandosudo. Em sistemas UNIX, existe um usuário espe- cial com “super poderes” conhecido como usuárioroote o comandosudo permite executar algo como se o usuário atual fosseroot.

    O processo de instalaç ão do servidor MySQL exige a escolha de uma se- nha de acesso para o usuárioroot. Você precisará fornecer essa senha duas vezes no processo de instalaç ão. A escolha de uma senha segura é importante para garantir a segurança do sistema, porém é também um tópico de discus- são à parte, que abordaremos no capítulo8. Se alguém descobrir a senha mestre, ele poderá executar qualquer comando no banco de dados, inclusive apagar todas as tabelas! Na vida real você não quer que isso aconteça, porém, no exemplo do livro, usaremos uma senha simples para facilitar: “secret”. Se preferir, você pode escolher outra senha, mas daqui para frente tome cuidado

    Página 38

    2.3. Configurando dependências nos servidores de produç ão Casa do Código para substituir qualquer menção da senha “secret” pela senha que você esco- lheu.

    Ao terminar a instalaç ão do pacote, o servidor MySQL já vai estar rodando, porém apenas para acesso local. Como precisamos acessar o banco de dados do servidor web, é preciso configurar o MySQL para per- mitir conexões externas. Para isto, basta criar o arquivo de configuraç ão /etc/mysql/conf.d/allow_external.cnf. Você pode usar o editor de texto que preferir –emacsevimsão duas opções comuns – porém aqui usaremos onanopor ser um editor mais simples de aprender para quem não está acostumado a editar arquivos na linha de comando. O comando seguinte cria o arquivo (comorootnovamente) desejado:

    vagrant@db$ sudo nano /etc/mysql/conf.d/allow_external.cnf Basta então digitar o conteúdo do arquivo abaixo e usarCtrl+Opara salvar eCtrl+Xpara salvar e sair do editor:

    [mysqld] bind-address =0.0.0.0 Uma vez que o arquivo foi criado, é preciso reiniciar o servidor MySQL para que ele perceba a nova configuraç ão. Isso é feito com o comando:

    vagrant@db$ sudo service mysql restart mysql stop/waiting mysql start/running, process 6460 Neste momento, o servidor MySQL já está pronto e rodando, porém ainda não criamos nenhum banco de dados. É comum que cada aplicaç ão crie seu próprio banco de dados, ouschema, para persistir suas tabelas, índices e da- dos. Precisamos então criar um banco de dados para a loja virtual, que cha- maremos deloja_schema, através do comando:

    vagrant@db$ mysqladmin -u root -p create loja_schema Enter password:

    Ao executar este comando, a opção-u rootinstrui que a conexão com o MySQL deve ser feita como usuário root e a opção-pirá perguntar a se- nha, que nesse caso será “secret”. O resto do comando é autoexplicativo. Para

  • eXtreme Programming – Práticas para o dia a dia no desenvolvimento ágil de software

    eXtreme Programming – Práticas para o dia a dia no desenvolvimento ágil de software

    Aproximadamente 31.043 palavras.

    Página 1

    Imagem 1 da página 1 (sem descrição)

    Página 2

    Casa do Código Prefácio Prefácio por Klaus Wuestefeld Poucos são os momentos na vida em que ficamos sabendo de uma ideia e dizemos, na hora: “Esta ideia vai revolucionar o mundo.”

    Aconteceu comigo quando vi pela primeira vez o Orkut (que descanse em paz). Caiu um raio na minha cabeça e eu disse: “Este negócio (rede social) vai revolucionar o mundo.”

    Antes disso, em 1999, quando eu ainda chafurdava na burocracia do CMM e do Unified Process, um estagiário da minha empresa me mandou os primeiros links sobre eXtreme Programming (XP).

    A princípio me pareceu bobagem, como “Go Horse”. Logo vi, porém, que Kent Beck, o autor de XP, e as pessoas discutindo a metodologia no primeiro wiki do mundo eram sérias e sabiam do que estavam falando. Eram, na ver- dade, os estudiosos de software mais sérios, embasados e apaixonados que eu já tinha visto.

    Para entender o que foi, para mim, ver as páginas de XP no primeiro wiki do mundo, imagine dois raios simultâneos caindo na sua cabeça: senti que tanto o wiki quanto os métodos ágeis iriam revolucionar o conhecimento e o desenvolvimento de software.

    Comecei a evangelizar XP pelo Brasil e palestrei em um evento de Java em Porto Alegre, em 2004. Estavam lá o Daniel e o Guilherme, coautores deste livro. Caiu um raio na cabeça deles e eles criaram o grupo XP-RS, que promoveu muitos encontros de discussão sobre o assunto.

    Agora, onze anos depois, escrevem este livro, mais necessário que nunca.

    Cansei de ver times tentando fazer Scrum e entregando zero software em produç ão, durante meses, sprint após sprint. Cansei de ver times com quadros de Kanban lindos na parede mas com tempo de entrega (lead-time) na ordem i

    Página 3

    Casa do Código de meses.

    É fácil, hoje, fazer um cursinho de final de semana qualquer, certificar-se em charlatanismo ágil de software e sair ditando regrinhas de cerimônias que a equipe de desenvolvimento deve seguir.

    Modelos de gestão como Scrum ou Kanban (prefiro) são úteis para ajudar a escolher as histórias certas a desenvolver mas, no fim das contas, o que faz essas histórias sair do outro lado como software rodando sem bugs em produ- ção é a capacidade e dedicaç ão da equipe, usando boas práticas de artesania de software, como as deste livro.

    Sugiro às equipes que ganhem fluência, que dominem XP “by the book”, antes de inventar moda. O time mais ágil, que produziu o software de maior valor, no prazo mais apertado, nas condições mais politicamente adversas, do qual já participei, foi um time onde aplicávamos XP à risca. Pense muito bem antes de decidir que não precisa de determinada prática.

    Quando testar recursos caros ou complicados, utilize constantes que simu- lem o comportamento desses recursos (com estratégias de dummy, stub, spy, fake e mock).

    Não confunda a brevidade de alguns de seus itens, como essa frase, com falta de importância. Este livro é rico e conciso. Cada parágrafo, se explorado, daria outro livro. Já vi uma equipe de dezenas de programadores atrasar em meses seu projeto, por insistir em depender de ambientes de homologaç ão complexos em vez de seguir a dica acima.

    Outro exemplo: já vi uma equipe de uma empresa de software para o mercado financeiro desistir de programaç ão em pares sem saber por que. Está num breve parágrafo deste livro o motivo:

    Cuide do espaço físico, a mobília pode dificultar ficar lado a lado progra- mando (por exemplo em mesas de canto ou em formato de ‘L’). Os programado- res terão dores no corpo depois de um dia de programação em pares com pouca ergonomia. Uma dica é adaptar o espaço físico…

    Por onde começar? É preciso adotar todas as práticas de uma vez?

    Se tiver que escolher alguma prática pra começar, escolha o teste auto- matizado. Testar software manualmente, no século 21, é antiético, como um cirurgião operar sem lavar as mãos. Aprenda os conceitos, a essência da au- tomação de teste. Não perca tempo tentando controlar telas pra fazer testes.

    ii

    Página 4

    Casa do Código Separe da tela todo código de negócios e teste-o diretamente.

    Programaç ão em pares junto com revezamento são práticas que encon- tram resistência tanto dos gestores retranqueiros quanto de alguns membros da equipe mais tímidos (respeitar) ou acomodados (incentivar) mas não de- pendem de mais nada para ser implementadas. Já vi pareamento e reveza- mento transformar uma equipe desmotivada, à beira de agressões físicas, em uma equipe de referência dentro de sua organizaç ão.

    Por fim, é vital que a equipe e seu gestor, se houver, reservem um tempo em torno de um dia (projeto novo) a dois dias (projeto com legado macarrô- nico) por semana com autonomia para a equipe investir em melhorar conti- nuamente sua própria produtividade, aprendendo técnicas como TDD e re- fatorando código. Se não houver esse tempo alocado e a equipe ficar só cor- rendo atrás de incêndios de curto prazo, é melhor largar o livro agora porque ele só vai trazer frustraç ão.

    Se, por outro lado, houver tempo para melhoria, leve este livro como guia, torça para cair um raio na sua cabeça também e boa sorte no caminho.

    Aprenda as práticas de XP, domine-as, entregue software do caralho e, aí sim, adapte-as e transcenda.

    — Klaus Wuestefeld, pioneiro em eXtreme Programming no Brasil e Key- note Speaker do Agile Brazil (2010) Prefácio por Alexandre Freire Se eu tivesse este livro que você tem em mãos na virada do milênio, e conhecesse a Programaç ão eXtrema na época, provavelmente hoje seria mi- lionário, porque teria lançado com sucesso a primeira rede social do mundo.

    Estava trabalhando em umasoftware housemultinacional, baseada em Treviso, na Itália, construindo uma rede social de times de futebol de várzea para a Diadora. Mas fazíamos isso tudo usando o “melhor”, e mais difundido, processo de desenvolvimento de software, o RUP.

    Isso significa que durante os 3 anos em que gastei meu suor e sangue, cons- truindo o incrível software desta rede social, nunca tivemos nenhum usuário, além da sócia que fazia demonstrações trimestrais para os diretores da Di- adora. E quando toda a diretoria mudou, e a empresa resolveu cancelar o projeto, foi fácil fazê-lo, pois não tinha sido lançado.

    iii

    Página 5

    Casa do Código Para mim foi uma experiência muito frustrante, afinal com minha equipe tinha construído um software maravilhoso, uma rede social onde times de futebol de bairro poderiam criar uma página, postar fotos, conseguir “likes”

    de seus fãs e até organizar campeonatos. E o software funcionava que era uma beleza, ou pelo menos funcionava na minha máquina.

    Era o maior projeto da empresa, que acabou indo à falência quando per- deu esse cliente.

    Deparei-me com a pergunta:Será que não existe um jeito melhor de fazer software? De entregar mais valor, mais rápido, para os nossos clientes?. Come- cei as estudar o que na época eram as metodologias “leves” e resolvi voltar para o Brasil e para a faculdade. No ano seguinte, participei da primeira turma do Laboratório de Programaç ão eXtrema do IME/USP.

    E aí que minha vida de desenvolvedor de software mudou. Aprender e praticar Programaç ão eXtrema foi um marco muito importante na minha car- reira, e espero que com este livro, seja um marco na sua também.

    Durante muitos anos após esse primeiro encontro, pratiquei a Programa- ção eXtrema como definida nos livros do Kent Beck. Com os erros e acertos, comecei a entender como a metodologia era completa, e como cada parte era preciosa. Também aprendi a fazer algumas coisas bem difíceis muito bem, como estimar em pontos, só para descobrir no final que não precisava real- mente fazer isso!

    Mas na sua jornada, recomendo que não pule essa prática no começo, a sinergia entre as práticas de XP e o fato de que seus valores e princípios suportam todo o conjunto são umas das razões pelas quais me apaixonei por essa metodologia.

    Hoje em dia, a comunidade ágil é forte, tem presença marcante no Brasil, e somos ainda mais extremos. Pegamos algumas práticas e nos desafiamos levá- las ainda mais ao limite! Com ashistórias de usuárioe ojogo do planejamento evoluímos pra criar também omapa de histórias. Com integração contínua partimos para fazerdeploy contínuo. Com programaç ão em par radicalizamos para fazerprogramação em multirão.

    Mas algumas coisas permanecem para sempre valiosas, como as Retros- pectivas. A melhor técnica que conheço para uma equipe se aprimorar con- tinuamente. É tão universal que até já usei em outros contextos que não o iv

    Página 6

    Casa do Código desenvolvimento de software.

    Se você for aprender só uma das metodologias ágeis, recomendo forte- mente que seja a Programaç ão eXtrema. Mas experimente-a completa, per- cebendo como os princípios e valores apoiam as práticas, e que estas muitas vezes só funcionam porque dependem das outras. É uma metodologia holís- tica, onde a sinergia conta muito, e com certeza vai melhorar a maneira como você desenvolve software.

    Você tem em mãos um guia definitivo para começar sua jornada, apro- veite a leitura.

    — Alexandre Freire, Diretor de Produtos da Industrial Logic e Keynote do Agile Brazil 2014.

    Prefácio por Paulo Caroli Desde 2000, tenho utilizado (e abusado) de metodologias ágeis. A minha primeira sessão em uma conferência internacional foi na OOPSLA 2000, em que apresentei o resultado da minha tese de mestrado, algo sobre Orienta- ção e Objetos e Design Patterns. Após minha apresentaç ão, fui fazer tietagem com Kent Beck por admirá-lo nos assuntos de smalltalk e design patterns, e acabei comprando seu novo livro com o títuloeXtreme Programming Explai- ned. Deu-se início um caminho sem volta – estava exposto e infectado pela primeira de muitas metodologias ágeis.

    Naquela época eu morava no Vale do Silício e estava trabalhando em uma start-up bem legal. Voltei empolgado da conferencia e logo mostrei o livro para o meu gerente da época. Ele riu e disse “Extreme programming… please do not get extreme on our codebase. Be aware of our clients and deadlines”. O livro ficou no meu cubículo (naquela época até start-ups tinham cubículos), e de tempos em tempos eu o mostrava para algum colega de trabalho.

    Testes unitários e solitários (somente eu os lia e usava). Integraç ão con- tínua com meu próprio código (os outros desenvolvedores estavam em suas branches). E assim eram meus dias de trabalho em 2000 e 2001.

    Mas eu não estava sozinho. Além de Kent Beck, outros conhe- cidos estavam falando e escrevendo sobre suas experiências com XP. Ward Cunningham populava a C2wiki (http://c2.com/cgi/wiki?

    ExtremeProgrammingRoadmap) , enquanto Martin Fowler compartilhava v

    Página 7

    Casa do Código no seu site (http://martinfowler.com/articles/xp2000.html) . Mais desen- volvedores eram infectados, e compartilhavam suas experiências. E isso se alastrou até os dias de hoje, época em que XP é ensinado em faculdades, e muitas de suas práticas são visíveis em todos departamentos de TI.

    Em 2006, entrei naThoughtWorks e trabalhei com pessoas que participa- ram do início deste movimento ágil. Por exemplo, ouvi as histórias do Martin sobre o primeiro projeto XP, o C3 (Chrysler Comprehensive Compensation).

    Vivi e ouvi relatos de experiência sobre a implantações de XP ao redor do mundo. Em 2008 e 2009 constatei que até projetos de outsourcing na Índia estavam usando XP. Bah, mas eu seguia referenciando aquele livro de 2000!

    Em 2010, eu ajudei a trazer aThoughtWorks para o Brasil, abrindo seu pri- meiro escritório em Porto Alegre. A escolha da cidade não foi somente pelo famoso churrasco, mas sim por admiraç ão ao movimento de XP, e a excelente comunidade já existente. Conheci e aprendi com cada um dos autores deste livro. Daniel, Dionatan, Rafael e Guilherme estão sempre compartilhando conhecimento. Nesta obra, compartilham os valores, práticas e princípios de XP.

    Com muito orgulho, informo que este livro é um resumo do que há de melhor no mundo atual de desenvolvimento de software.

    Boa leitura, — Paulo Caroli, cofundador e agile coach daThoughtworks Brasil.

    vi

    Página 8

    Casa do Código Agradecimentos Antes de tudo, gostaríamos de agradecer a toda a comunidade ágil brasileira, que é uma das maiores e mais participativas no mundo. Temos grandes even- tos em nossa área de métodos ágeis com agilistas muito experientes e somos gratos por isso. Obrigado por todas as trocas de experiências durante esses anos de agilidade no Brasil!

    À comunidade do antigo XP-RS, o atual GUMA-RS Grupo de Usuários de Métodos Ágeis do Rio Grande do Sul (saiba mais emhttp://www.guma-rs.

    org) , o nosso muito obrigado por ser um grande grupo fomentador da agili- dade e do eXtreme Programming!

    Obrigado, e muito, aos nossosbeta readersJamile Alves, Maurício Aniche e Rodrigo Pinho! As opiniões e sugestões de vocês foram essenciais para a melhoria do livro.

    Obrigado também a todas as pessoas da Casa do Código. Vocês nos de- ram um excelente suporte e sempre estiveram dispostos a contribuir com esta obra!

    Aos agilistas Klaus Wuestefeld, Alexandre Freire e Paulo Caroli, a nossa gratidão pelos admiráveis prefácios!

    A nossos alunos e clientes, que nos permitem praticar e aprender em con- junto, e a você leitor, o nosso muito obrigado por interessar-se neste trabalho!

    Esperamos que a leitura deste livro seja útil e agradável! 🙂 Dedico este livro aos desenvolvedores profissionais do Brasil, que se preocu- pam em entregar software de qualidade e buscam excelência técnica!— Daniel Wildt Agradeço a todos que veem nos métodos ágeis um caminho para um mundo melhor! Dedico este livro aos meus pais e irmãos!— Dionatan Moura vii

    Página 9

    Casa do Código Dedico à minha família: em especial, para meus pais (Paulo e Liberta) e para minha esposa e filha (Juliana e Isabella)!— Guilherme Lacerda Agradeço à Casa do Código pela oportunidade, ao Klaus Wuestefeld, Ale- xandre Freire e Paulo Caroli pelos prefácios inspiradores, à Vivian pela dedica- ção e paciência durante a revisão deste livro, aos meus amigos e parceiros de jornada, Daniel, Dionatan e Guilherme! Além é claro da minha esposa Aline e meu filho Rafael Helm Junior, com eles ao meu lado tudo faz sentido.— Rafael Helm viii

    Página 10

    Casa do Código Sobreosautores Daniel Wildt Fundador em 2004 do XP-RS Grupo de Usuários de eXtreme Programming do RS , que depois se transformou no GUMA-RS Grupo de Usuários de Méto- dos Ágeis do Rio Grande do Sul. Desde 2003, um praticante interessado pelo desenvolvimento de comunidades, organizações, equipes e pessoas em torno da agilidade. Trabalha em processos de melhoria das técnicas de engenharia de software e processos, sempre em busca de simplicidade e do aprendizado.

    Ajuda pessoas a tornarem-se melhores profissionais, equipes a crescerem por meio de melhoria contínua e produtos/serviços a serem formados. Além da formaç ão técnica, possui formaç ão de Master Trainer em Programaç ão Neu- rolinguística. É CTO na uMov.me (http://umov.me) , coach/instrutor pela Wildtech (http://www.wildtech.com.br) e facilitador no Estaleiro Liberdade (http://www.estaleiroliberdade.com.br) .

    Dionatan Moura Coach ágil na Companhia de Processamento Dados do Estado Rio Grande Sul (PROCERGS), auxiliando na entrega de maior valor ao cidadão por meio da agilidade e inovaç ão. Professor visitante na pós-graduaç ão da UniRitter Laureate International Universities. Mestre e bacharel em Ciên- cia da Computaç ão na UFRGS. Coordenador do Grupo de Usuário de Méto- dos Ageis do RS (GUMA-RS) e do Grupo de Usuários Java do RS (RSJUG).

    Foi desenvolvedor Java por sete anos, e coordenador das trilhas Java do TDC POA 2013 e 2014. Palestrante em eventos ágeis, como: Agile Brazil, TDC e XPConf; e possui as certificações: CSP, SAFe SA, PMP, CSM, PSM I, CSD, CSPO, OCPJP, CTFL, ITIL e MPS-BR. Pode ser encontrado no Twitter como @dionatanmoura e possui um blog:http://dionatanmoura.com.

    ix

    Página 11

    Casa do Código Guilherme Lacerda Pioneiro em Metodologias Ágeis no Brasil, no qual atua desde 2001, com especial ênfase em Lean, SCRUM e eXtreme Programming. Trabalha como Coach, ajudando na adoção de métodos ágeis no Tribunal de Justiç a do RS.

    Professor universitário de graduaç ão (UniRitter) e de pós-graduaç ão (UniRit- ter, Unisinos, UFRGS). Mestre em Ciência da Computaç ão (UFRGS, 2005), área de Engenharia de Software e atualmente doutorando pela mesma ins- tituição, com estudos na área de Refatoraç ão e Smells. Consultor associ- ado da Wildtech, palestrante em dezenas de eventos nacionais e internaci- onais sobre o tema, e fundador e vice-coordenador do XP-RS/GUMA. Possui as certificações CSM e CSP, pela Scrum Alliance. Membro do IASA, Scru- mAlliance, ACM e SBC. Possui os blogs:http://www.guilhermelacerda.nete http://www.codingbyexample.org.

    Rafael Helm Sócio da Wildtech (www.wildtech.com.br), na qual atua como agile co- ach, instrutor e consultor. Experiência de agile coach adquirida em projetos de larga escala em organizações como Receita Federal, Procuradoria Geral da Fazenda Nacional, Ministério de Relações Exteriores, entre outras. Ins- trutor na Wildtech, tendo a oportunidade de treinar empresas e equipes de diferentes localidades do Brasil, incluindo o Ministério da Justiç a, DNIT, PROCERGS, Serpro, Totvs, entre outras. Palestrante em eventos importan- tes como Agile Brazil,The Developers Conference, FISL, XP Conf BR. Au- tor do e-bookHistórias de Usuário – Por que e como escrever requisitos de forma ágil?, que atingiu a marca de 4.000 downloads em menos de um ano (www.wildtech.com.br/historias-de-usuario). Idealizador e cofundador da XP Conf. BR, a conferência nacional sobre eXtreme Programming, e cofun- dador das conferências UX Conf. BR, DevOps Conf. BR e Empreende Conf.

    https://about.me/rafaelhelm Você pode participar da lista de discussão deste livro! Basta escrever para: livro-xp@googlegroups.com.

    x

    Página 12

    Casa do Código

    Sumário

    • Sumário 1 Por que projetos falham? 1 1.1 Cliente distante página 2
    • 1.2 A cereja do bolo página 4
    • 1.3 Testes no final página 5
    • 1.4 Trabalho empurrado página 6
    • 1.5 Dívidas técnicas página 7
    • 1.6 Conclusão página 9
    • 2 Introdução a métodos ágeis 11 2.1 O Manifesto Ágil página 12
    • 2.2 Lean Software Development página 13
    • 2.3 Scrum página 14
    • 2.4 eXtreme Programming (XP) página 16
    • 3 Valores do eXtreme Programming 19 3.1 Comunicaç ão página 19
    • 3.2 Feedback página 20
    • 3.3 Simplicidade página 20
    • 3.4 Coragem página 21
    • 3.5 Respeito página 22
    • 4 Papéis do eXtreme Programming 23 4.1 Desenvolvedor página 24
    • 4.2 Cliente página 24

    xi

    Página 13

    Sumário

    • Casa do Código 4.3 Coach página 25
    • 4.4 Testador página 25
    • 4.5 Cleaner página 25
    • 4.6 Tracker página 26
    • 4.7 Gerente página 26
    • 4.8 Outros papéis página 27
    • 5 Time coeso 29 5.1 Time multidisciplinar página 30
    • 5.2 Time auto-organizável página 30
    • 5.3 Sentando lado a lado página 31
    • 5.4 As reuniões de retrospectiva e a melhoria contínua página 31
    • 6 Cliente presente 33 6.1 O que fazer quando o cliente não pode estar presente? página 35
    • 7 Histórias de usuário 37 7.1 Modelo 3C página 39
    • 7.2 Ciclo de vida página 39
    • 7.3 Utilizando um modelo de escrita página 40
    • 7.4 Refinando com INVEST página 42
    • 7.5 Implementando com tarefas SMART página 43
    • 7.6 Personas página 43
    • 7.7 Story points página 44
    • 7.8 Escrevendo boas histórias página 44
    • 7.9 Catálogo de story smells página 46
    • 8 Testes de aceitaç ão 49 8.1 Automatizaç ão página 50
    • 8.2 Validando com critérios de aceitaç ão página 50
    • 9 Liberaç ão frequente de pequenas entregas 53 9.1 Foco na qualidade é o ponto-chave página 54
    • 9.2 Releases tudo ou nada página 55

    xii

    Página 14

    Casa do Código

    Sumário

    • 10 O jogo do planejamento 10.1 Definindo o jogo e suas regras página 58
    • 10.2 Entendendo regras e comprometimentos página 59
    • 10.3 Mantendo o foco página 63
    • 10.4 Todo momento é um momento de aprendizado página 64
    • 11 Spikes de planejamento 65 11.1 Jogue fora o código gerado no spike página 66
    • 12 Projeto simples do início ao fim 67 12.1 MVP: produto mínimo viável página 68
    • 13 Metáfora de sistema 71 13.1 Descobrindo uma boa metáfora página 72
    • 14 Reunião diária em pé 75 14.1 Time alinhado página 76
    • 14.2 Troca de conhecimento página 76
    • 14.3 Como começar? página 77
    • 14.4 Erros mais comuns de uma reunião em pé página 77
    • 15 Posse coletiva 81 15.1 My precious! página 82
    • 16 Padrão de codificaç ão 85 16.1 Pequenos projetos também se beneficiam? página 86
    • 16.2 Como definir? página 87
    • 17 Programaç ão em par 89 17.1 Diversos benefícios página 90
    • 17.2 Um desenvolvedor pelo preço de dois? página 91
    • 17.3 A pressão do par página 91
    • 17.4 Nivelando o conhecimento página 92
    • 17.5 Como começar? página 92

    xiii

    Página 15

    Sumário

    • Casa do Código 17.6 Dicas para aprimorar a programaç ão em par página 93
    • 17.7 O ambiente de trabalho página 94
    • 17.8 Especificar, projetar, trabalhar, tudo em par página 94
    • 18 Refatoraç ão de código para alta qualidade 95 18.1 Refatore impiedosamente página 96
    • 18.2 Bad smells de código página 97
    • 19 TDD: Desenvolvimento Guiado por Testes 99 19.1 Padrões de TDD página 101
    • 19.2 Show me the code página 105
    • 20 Integraç ão contínua 113 20.1 Como potencializar os benefícios? página 114
    • 20.2 Ferramentas página 116
    • 21 Ritmo sustentável 121 21.1 Velocidade do time página 122
    • 21.2 40 horas semanais página 123
    • 22 Indo além do eXtreme programming 125 22.1 Jogos e dinâmicas página 126
    • 22.2 Behaviour-Driven Development (BDD) página 127
    • 22.3 Domain-Driven Design (DDD) página 127
    • 22.4 Kanban página 128
    • 22.5 Estimando com planning poker página 128
    • 22.6 Resolvendo dívidas técnicas página 129
    • 22.7 Refatorando também o banco de dados página 130
    • 22.8 Código limpo página 130
    • 22.9 Entrega contínua e DevOps página 130
    • 22.10 Leituras sobre desenvolvimento de software página 131
    • 22.11 Artesanato de Software página 132

    Índice Remissivo 138 xiv

    Página 16

    Casa do Código Sumário Bibliografia 144 xv

    Página 17

    Página 18

    Capítulo1 Porqueprojetosfalham?

    Culpa do cliente, do gerente de projetos, dos testadores, dos analistas de ne- gócios, do time de desenvolvimento, ou simplesmente falta de sorte? Afinal de contas, por que projetos falham, atrasam e/ou fracassam?

    Os desenvolvedores acham que faltou análise; os analistas jogam a culpa no departamento comercial que vendeu o que o software não tem e, ainda por cima, com um prazo impossível de ser cumprido; a equipe de vendas aponta para o cliente dizendo que ele não sabe o que quer; e ele, por sua vez, chama seus advogados para cancelar o contrato.

    É bem provável que você já tenha passado por isso, ou, pelo menos, quase passou.

    Infelizmente, nós, os autores deste livro, já vimos isso acontecer algumas vezes, e normalmente os motivos são os mesmos: falta de proximidade com o cliente; trabalho empurrado goela abaixo do time; codificaç ão a toque de

    Página 19

    1.1. Cliente distante Casa do Código caixa produzindo código sujo; tempo desperdiç ado desenvolvendo o que o cliente não pediu (a famosa cereja do bolo); e o retrógado hábito de testar o software apenas na véspera da sua data de entrega.

    Sendo assim, achamos importante começarmos este livro reforçando por que você não deve cometer estes erros clássicos em seus projetos, para, so- mente depois, entrar no conteúdo doeXtreme Programmingpropriamente dito. Leia com atenção e lembre-se: antes de prescrever o remédio, é necessá- rio identificar a doença.

    1.1 Cliente distante Cena corriqueira em times de desenvolvimento de software: o desenvolve- dor recebe uma especificaç ão para trabalhar, e, enquanto está codificando, percebe que algum detalhe passou despercebido pelo processo de análise do requisito. Isto gerou uma dúvida que o impede de prosseguir seu trabalho com segurança; ou seja, o desenvolvedor não tem certeza do que exatamente deve ser feito.

    Nesses casos de incerteza, normalmente ele procura o analista ou a pessoa responsável por aquela especificaç ão (ou pelo menos deveria fazer isso), e questiona sobre a dúvida que o impede de avançar no código com a certeza de que está fazendo o que foi pedido.

    Quando isso ocorre, é esperado que o analista saiba responder os questi- onamentos do desenvolvedor e o conduza de volta ao caminho correto a ser seguido. O problema é que as pessoas não sabem tudo, incluindo eu, você, e todos os que nós conhecemos. É normal que, em alguns casos, o analista não consiga responder a dúvida do desenvolvedor, pelo menos, não de imediato.

    Quando as dúvidas surgem e ninguém do time sabe o que fazer, a melhor decisão é falar com o cliente, seja por meio de uma reunião, telefone, skype, e-mail ou qualquer outra forma de comunicaç ão. O necessário é falar com ele!

    Entrar no ciclotentativa/ erro/ tentativa/ erro/ …jamais deve ser uma op- ção. As pessoas até podem acertar de vez em quando, mas, na média, essa atitude vai gerar retrabalho lá na frente, além de frustrar o cliente e, posteri- ormente, o time.

    Página 20

    Casa do Código Capítulo 1. Por que projetos falham?

    Sabemos que nem sempre ele estará disponível. Mesmo que esteja fisica- mente próximo de você e de seu time, ele pode simplesmente não estar livre ou interessado em ajudar; quer dizer, não quer se envolver. Até porque já pa- gou uma boa grana para uma empresa fazer seu software e espera que o time de desenvolvimento saiba como fazê-lo.

    Pois bem, este cenário é o que chamamos decliente distante. Acredite, projetos com clientes distantes têm uma grande tendência a serem entregues com atraso, estourarem o orçamento, os frustrarem ao entregar funcionali- dades que não atendam suas expectativas, ou todas as alternativas anteriores juntas (fracasso tremendo).

    E qual é a solução?

    Precisamos aproximar o cliente desde o início do projeto, deixando bem claro que, a qualquer momento, ele poderá ser acionado para tirar dúvidas, e que a cada funcionalidade, ele poderá ser chamado para realizar uma valida- ção. Ou seja, dar seu consentimento sobre se aquele recurso ficou de acordo com o que esperava, ou indicar o que precisa ser ajustado para atendê-lo, caso o resultado não satisfaç a suas expectativas.

    Porém, é necessário tomar cuidado. Pedir o aceite do cliente não signi- fica pedir para ele testar. O teste do software é responsabilidade do time de desenvolvimento e, acredite em nós, eles não gostam de testar software. E, principalmente, não ficam nada felizes quando encontrambugsnele.

    Quando pedimos para ele validar ou aceitar uma funcionalidade, na ver- dade estamos buscando umfeedback. Queremos confirmar se aquela função que acabou de sair do forno está de acordo com a sua expectativa. Estamos buscando segurança para continuar o desenvolvimento do projeto, tendo cer- teza de que os passos dados até agora foram realizados na direção correta.

    E se o cliente odiar a funcionalidade desenvolvida, dizendo que está to- talmente fora do que ele esperava? Ótimo! Nós conseguimos falhar rápido e teremos tempo para corrigir, adaptar ou até mesmo refazer o recurso, conse- guindo finalmente entregar algo de valor a ele. Imagine como seria desagra- dável se, somente no final do projeto, nós descobríssemos que algumas (ou várias) funcionalidades não ficaram de acordo com sua expectativa? Seria terrível! E provavelmente nosso tempo já estaria esgotado.

    Página 21

    1.2. A cereja do bolo Casa do Código Então, aproxime-se de seu cliente e mantenham-se próximos!

    1.2 Acereja do bolo Você tem seus clientes e eles têm expectativas. Se algumas empresas que pro- duzem software criassem uma confeitaria especializada em bolos, muitos cli- entes receberiam apenas uma receita, ensinando como fazer omalditobolo.

    Digamos que isso não gera nem tanto valor, nem satisfaç ão. Ele estava com fome, queriasócomer um bolo.

    Outros clientes com um pouco mais de sorte receberiam uma massa, nem tão bem batida, mas que faria um belo bolo “abatumado”. Depois de perder vários prazos com o mesmo cliente (o qual, por alguma magia, ainda segue comprando bolo daquele local), acontece que, eventualmente, a empresa con- segue terminar o bolo, exatamente como ele pediu. Só que, lembra das suas experiências anteriores, nas quais ele não o recebeu? Então, a empresa não pode entregar só um simples bolo. É preciso entregar algo maior, algo a mais.

    Surpreender!

    Não precisamos da cereja do bolo! Ou se você gosta de usar o PMBOK® (Project Management Body of KnowledgeCorpo de Conhecimento em Ge- rência de Projetos) como exemplo; estamos falando doGold Plating.

    Se o seu cliente solicita um relatório com as colunas A, B e C; o time deve desenvolver, com qualidade e dentro do prazo, o relatório com as colunas A, B e C. Simples assim!

    Entregar um relatório com as colunas A, B, C, X e Y não faz sentido ne- nhum! Se ele quisesse que as colunas X e Y aparecessem no relatório, teria solicitado. Neste caso, X e Y são a tal cereja do bolo da qual estamos falando.

    Vamos lembrar de algo bem importante. Nosso cliente tem uma grande expectativa: receber aquilo que ele pediu! E ele possui outras também! Quer receber o mais rápido possível, com a mais alta qualidade e o menor custo. E com o menor desperdício possível, é claro. Colocar uma cereja no bolo não vai ajudá-lo a esquecer as falhas anteriores. Nem nas próximas entregas.

    E qual é a solução?

    Página 22

    Casa do Código Capítulo 1. Por que projetos falham?

    Simplicidade: maximizar o trabalho que não deve ser feito. A meta do time deve ser trabalhar com o cliente para enxugar as funcionalidades neces- sárias. Deve-se questionar muito sua visão de valor.

    Muitos recursos sugeridos por ele não possuem um método fácil de me- dir o valor ou, até mesmo, o Retorno Sobre Investimento (ROIReturn On Investment). Uma simples classificaç ão para entender o valor e o risco de fa- zermos uma determinada funcionalidade pode ser uma boa racionalizaç ão para ajudar na seleção do que precisa ser feito.

    Indo nessa linha, vamos começar trabalhando naquilo que possui alto risco e valor, e descobrir rapidamente se temos algum problema. Lembra da estratégia de falhar rápido? Esse é o jogo. O mundo perfeito é trabalhar na- quilo que possui alto valor e um baixo risco!

    Não queremos trabalhar naquilo que possui baixo valor. O único motivo para isso está relacionado às leis, nas quais temos que seguir para a conformi- dade e evitar alguma multa. De resto, fuja daquilo que não tem valor claro.

    Foque na entrega de valor para seu cliente.

    1.3 Testes no final Afinal, por que testamos? Aliás, é necessário realmente testar?. Ou pior: se sobrar tempo, testamos!

    Essas expressões são comumente ditas por profissionais de software. In- felizmente.

    Deixe-nos explicar melhor: desenvolver software é um processo produ- tivo, no qual executamos tarefas de investigaç ão, design, programaç ão, testes, entre outros. A forma como a indústria começou a desenvolver seus modelos (e independente do modelo a ser adotado) engloba essas etapas.

    A questão a ser observada no processo é que a preocupaç ão com os tes- tes só existe no final. Além de acontecer isoladamente, não se enxerga seu verdadeiro valor, nem sua relaç ão com a qualidade do produto.

    Por esses motivos, os testes não são levados a sério. Por isso, pagamos o preço do retrabalho ao entregar funcionalidades erradas e com falhas. Isso gera desconfiança e estressa uma relaç ão que precisa ser totalmente diferente para atingirmos o objetivo.

    Página 23

    1.4. Trabalho empurrado Casa do Código E qual é a solução?

    Precisamos trabalhar nos recursos até eles estarem prontos de verdade; ou seja, não podemos permitir que exista dentro do time de desenvolvimento o conceito de queestá pronto, só falta testar.

    O teste não deve ser encarado como uma etapa à parte, como algo extra.

    Os processos de desenvolvimento e testes devem ser vistos como uma única etapa. Esqueça odesenvolver primeiro, testar mais tarde, e busque o desenvol- ver + testar. Entende a diferen ça? As funcionalidades não são testadas mais tarde; elas são testadas agora.

    1.4 Trabalho empurrado Imagine a cena: o gerente de projetos avisa o time de desenvolvimento de que a empresa fechou um novo contrato e que o software deve ser entregue em uma determinada data, deixando já bem claro a todos que não existe possibi- lidade de não a cumprir.

    O time de desenvolvimento começa a analisar os requisitos e gerar as ta- refas, e logo percebe que, para cumprir a data já firmada com o cliente, que inclusive consta no contrato, será necessário produzir em uma velocidade muito acima do habitual. Ao notar isso, o nível de estresse do time é elevado, o ambiente fica tenso e os desenvolvedores programam a toque de caixa, co- meçando a gerar um código sujo, mal estruturado e em cima de requisitos especificados de forma superficial. Como o tempo era curto, ninguém quis perdermuito tempo com especificaç ão, assim todos já foram logo metendo a mão na massa.

    Esse é um claro cenário de trabalho empurrado, que gera muito caos e pouco resultado!

    E qual é a solução?

    Se trabalho empurrado é um problema, trabalho puxado é a soluç ão. O ideal é que esteja à disposiç ão do time o que for necessário para o desen- volvimento de software e que as tarefas estejam corretamente priorizadas e, se possível, dispostas em um mural contendo todas as que serão trabalhadas

    Página 24

    Casa do Código Capítulo 1. Por que projetos falham?

    nos próximos dias. Desse modo, uma ou mais pessoas puxam as tarefas e tra- balham nelas até o fim, nunca esquecendo dedesenvolver + testar, em vez de desenvolver primeiro, testar mais tarde.

    Após terminar a tarefa, o desenvolvedor vai até o mural, dá uma olhada nas próximas da fila e puxa aquela em que ele sente que consegue trabalhar.

    Claro que é necessário que ele faç a isso com responsabilidade; ou seja, é im- portante que, dentro do possível, ele siga a priorizaç ão. A exceção a essa regra pode ocorrer quando a próxima tarefa da fila refere-se, por exemplo, a um módulo que ele não conhece ou a uma tecnologia com qual ele não se sente seguro. Porém, esses casos são ótimas oportunidades para trabalhar em par com outra pessoa do time e aprender algo novo, tanto em termos de negócio, quanto de tecnologia.

    Nós acreditamos fortemente no trabalho puxado e sempre orientamos nossos times a trabalharem desta forma, de preferência baseados em um mu- ral que permita gestão visual das tarefas e do progresso de trabalho, seja no meio físico ou virtual (no caso de equipes distribuídas).

    Sabemos que quebrar a cultura do trabalho empurrado não é fácil, pois existe (principalmente na cabeça da maioria dos gestores) uma barreira muito forte em relaç ão a isso. Entretanto, garantimos que vale a pena tentar. Durante o livro, vamos mostrar ferramentas e táticas que nos ajudarão nessa missão, como: time coeso, posse coletiva, liberaç ão frequente de pequenas entregas, trabalho em pares, jogo do planejamento, e outros tópicos que ajudam a im- plantar a cultura de trabalho puxado.

    1.5 Dívidas técnicas O projeto começa e o time de desenvolvimento está trabalhando com alta produtividade. Várias partes do software vão sendo construídas e todos estão felizes.

    Passadas algumas semanas, a produtividade caiu um pouco e a euforia do time passou; mas o projeto ainda transcorre dentro da normalidade e eles ainda estão relativamente contentes.

    Passadas mais algumas semanas, a produtividade cai drasticamente e muitos bugs começam a ser encontrados. Nesse momento, o time já está com

    Página 25

    1.5. Dívidas técnicas Casa do Código a moral baixa, o cliente notou que o projeto não anda bem, o custo de mu- dança de qualquer funcionalidade é muito alto, e você não entende o motivo dessa queda; afinal de contas, o time é bom, a especificaç ão foi bem feita, o cliente está próximo, a comunicaç ão flui e as pessoas são comprometidas. O que está acontecendo?

    É bem provável que o projeto possua uma dívida técnica grande.

    O termodívida técnicaé utilizado para indicar trechos de código que fo- ram mal escritos, ou escritos de qualquer forma, sem refatorar, sem testes automatizados e sem respeitar padrões. São as chamadasgambiarrasouba- cas. Com o passar do tempo, esses trechos atrapalharão os desenvolvedores e mudanças que, teoricamente, seriam simples, passam a levar muito tempo para serem realizadas.

    É provável que você já tenha deparado-se com uma funcionalidade pra- ticamente impossível de ser evoluída, tamanha era a falta de qualidade do código. Em alguns casos, quando isso ocorre, somos obrigados a refazê-la toda, pois o código tornou-se ilegível e isso gera um grande desperdício de tempo e dinheiro.

    Muitos desenvolvedores ainda consideram que qualidade do código é algo extra e que o foco é entregar software com qualidade, não necessariamente produzindocódigode qualidade. Essa é uma escolha perigosa, porque, a me- nos que o projeto seja bem pequeno, o desenvolvedor precisará pagar a conta da dívida técnica produzida, ou simplesmente o projeto vai parar.

    E qual é a solução?

    São excelentes formas de evitar a dívida técnica: especificar requisitos com o formato de histórias de usuários, projeto simples, padrão de codifi- cação, desenvolvimento guiado por testes (TDD), programaç ão em pares, re- fatoraç ão, integraç ão contínua, boas práticas de programaç ão e ritmo susten- tável.

    Mas, se você não sabe como implantar essas práticas no seu time de de- senvolvimento, fique tranquilo! Estamos apenas no começo do livro e abor- daremos esses assuntos mais à frente.

    Página 26

    Casa do Código Capítulo 1. Por que projetos falham?

    1.6 Conclusão Quando um projeto falhar, não tente encontrar um culpado, olhe para o pas- sado e procure identificar se algum dos problemas ocorreu em seu projeto.

    Precisamos sempre buscar sua causa raiz. Não busque culpados, busque en- tender o que ocorreu e converse com seu time para tentar encontrar uma so- lução, um melhor caminho a ser seguido.

    Reuniões de retrospectiva de projeto são ótimas oportunidades de levan- tar problemas e discutir soluções com seu time. Mais à frente, falaremos sobre elas.

    Lembre-se: em métodos ágeis, incluindo o eXtreme Programming, deve- mos sempre trabalhar com a mente aberta para realizar adaptações em nosso processo de trabalho, a fim de buscar melhoria contínua. É uma busca infinita pelofazer melhor.

    Página 27

    Página 28

    Capítulo2 Introduç ãoamétodoságeis Em fevereiro de 2001, em Utah, 17 profissionais experientes (consultores, de- senvolvedores e líderes) da comunidade de software reuniram-se para discutir alternativas aos processos e às práticas burocráticas utilizadas nas abordagens tradicionais de Engenharia de Software e Gerência de Projetos. Assim nasceu oManifesto Ágil[17], destacando as diferenças em relaç ão às abordagens tra- dicionais.

    A principal diferença das metodologias ágeis em relaç ão às tradicionais é o enfoque na adaptaç ão, visando ter o mínimo realmente necessário para a realizaç ão do trabalho. Com essa estratégia, busca-se aceitar e trabalhar a mudança, reduzindo custos de implementaç ão.

    Página 29

    2.1. O Manifesto Ágil Casa do Código 2.1 O ManifestoÁgil O Manifesto Ágil é uma declaraç ão dos valores e dos princípios que funda- mentam o desenvolvimento ágil de software. Ele foi assinado em 2001 por dezessete profissionais de software que já vinham experimentando metodo- logias e práticas mais leves e enxutas. Isso foi tão bem recebido pela comu- nidade que alguns desses desenvolvedores ganharam o mundo palestrando sobre o assunto. O Manifesto Ágil possui 4 valores e 12 princípios, que vamos apresentar em seguida.

    Os 4 valores do Manifesto Ágil são:

    • Indivíduos e interações mais queprocessos e ferramentas; • Software em funcionamentomais quedocumentaç ão abrangente; • Colaboraç ão com o clientemais quenegociaç ão de contratos; • Responder a mudançasmais queseguir um plano.

    E os 12 princípios do Manifesto Ágil são:

    1) Nossa maior prioridade é satisfazer o cliente por meio da entrega contínua e adiantada de software com valor agregado; 2) Mudanças nos requisitos são bem-vindas no desenvolvimento, mesmo tardiamente. Processos ágeis tiram vantagem das mudanças, visando van- tagem competitiva para o cliente; 3) Entregar frequentemente software funcionando, de poucas semanas a poucos meses, com preferência à menor escala de tempo; 4) Pessoas de negócio e desenvolvedores devem trabalhar diariamente em conjunto por todo o projeto; 5) Construa projetos em torno de indivíduos motivados. Dê a eles o ambiente e o suporte necessários e confie neles para fazer o trabalho; 6) O método mais eficiente e eficaz de transmitir informações para (e entre) uma equipe de desenvolvimento é por meio de conversa face a face;

    Página 30

    Casa do Código Capítulo 2. Introduç ão a métodos ágeis 7) Software funcionando é a medida primária de progresso; 8) Os processos ágeis promovem desenvolvimento sustentável. Os patrocina- dores, desenvolvedores e usuários devem ser capazes de manter um ritmo constante indefinidamente; 9) Contínua atenção à excelência técnica e bom design aumentam a agili- dade; 10) Simplicidade a arte de maximizar a quantidade de trabalho não realizado é essencial; 11) As melhores arquiteturas, requisitos e designs emergem de equipes auto- organizáveis; 12) Em intervalos regulares, a equipe reflete sobre como tornar-se mais eficaz e, então, refina e ajusta seu comportamento de acordo.

    Esses princípios, se bem compreendidos pelo cliente e pelo time, promo- vem uma mudança de atitude. O cliente consegue enxergar valor mais rapida- mente nas entregas frequentes do software e, à medida que visualiza a soluç ão, consegue refletir sobre alternativas e prioridades. O time trabalha mais mo- tivado, porque consegue enxergar valor no seu trabalho que, por meio de fe- edback constante, aprimora continuamente. O bom relacionamento melhora para ambos, visto que a confiança se faz cada vez mais presente.

    Com base nesses valores e princípios, aparecem três abordagens mais es- pecíficas que vêm proporcionado ótimos resultados, seguindo a essência do Manifesto Ágil. A seguir, elas são apresentadas rapidamente.

    2.2 LeanSoftwareDevelopment O Lean, ou Sistema Toyota de Produç ão (STP), revolucionou a indústria da manufatura, tanto pela geraç ão de valor para o cliente, quanto para a satisfa- ção de trabalho para o time. Essas suas características serviram de base para o casal Mary e Tom Poppendieck identificar semelhanças com o desenvolvi- mento ágil de software, criando oLean Software Development(LSD) [50].

    Página 31

    2.3. Scrum Casa do Código Com base nos seus pensamentos, foram identificados 7 princípios para o desenvolvimento de software:

    1) Eliminar desperdícios; 2) Incluir qualidade no processo; 3) Criar conhecimento; 4) Adiar comprometimentos; 5) Entregar rápido; 6) Respeitar as pessoas; 7) Otimizar o todo.

    O modo Lean de pensar é muito útil para criar uma cultura de melhoria contínua nas equipes. Seus princípios são perfeitamente alinhados aos valores e às práticas do Manifesto Ágil.

    2.3 Scrum O Scrum surgiu na década de 90, criado por Ken Schwaber, Jeff Shuterland e Mike Beedle. Seu principal objetivo é prover um framework de gestão ágil para desenvolver e manter produtos complexos [51].

    Nele, a partir de umBacklog de Produtoinicial, o trabalho que será rea- lizado é priorizado na iteraç ão, denominadaSprint. O desenvolvimento do Backlog da Sprintgera um incremento entregável do produto ao final de cada Sprint, na reunião deRevisão da Sprint. Esse trabalho é desenvolvido com a sincronizaç ão diária doTime de Desenvolvimento, na Reunião Diária. Ao final daSprint, é realizada a reunião deRetrospectiva da Sprint, com o objetivo de reduzir riscos e promover a melhoria contínua. ODono do Produtoé o papel responsável pelo gerenciamento do produto e oScrumMasteré pelo processo, ajudando oTime de Desenvolvimentoa resolver seus impedimentos.

    Página 32

    Casa do Código Capítulo 2. Introduç ão a métodos ágeis Scrum precisa das práticas técnicas do XP Scrum é um framework bastante popular atualmente e muito utilizado para o gerenciamento de projetos, produtos e times. Por dar mais ênfase no gerenciamento de atividades e tarefas, ele pode (e deve) ser utilizado em con- junto com outros métodos e processos que focam em engenharia ágil de soft- ware, como o eXtreme Programming.

    Jeff Sutherland, cocriador do Scrum, diz que o Manifesto Ágil é sobre Scrum com práticas de engenharia do eXtreme Programming, e essa combi- nação é o framework preferencial [55].

    Veja também o que Ron Jeffries, Martin Fowler e James Shore falam da necessidade das práticas do XP na utilizaç ão do Scrum:

    “Você não vê times Scrum de alto desempenho sem práticas de engenharia do XP. É difícil escalar times XP sem Scrum, e Scrum soluciona os assuntos de interface com a gestão. Seja cuidadoso ao fazer partes de qualquer coisa e chamar isso de ágil.”

    –Ron Jeffries e Jeff Sutherland [56] “Se você estiver procurando introduzir Scrum, certifique-se de prestar uma boa atenção às práticas técnicas. Nós tendemos a aplicar muitas dessas a partir do Extreme Programming e elas se encaixam muito bem.”

    –Martin Fowler [25] “XP e Scrum são as melhores maneiras que nós sabemos para trabalhar bem em conjunto. Eles não são necessários pode haver outras maneiras e eles certamente não são suficientes há um milhão de coisas que devemos fazer para ser bem-sucedido, e elas não estão todas escritas nos livros.”

    –Ron Jeffries [32] “Sem práticas de engenharia ágil do XP, a qualidade do código e a produtividade diminui assintoticamente ao longo do tempo. Com elas, a produtividade começa inferior, mas em seguida aumenta assintoticamente.”

    –James Shore [52]

    Página 33

    2.4. eXtreme Programming (XP) Casa do Código 2.4eXtremeProgramming(XP) O eXtreme Programming é uma metodologia ágil de desenvolvimento de software voltada para times de pequeno a médio porte, no qual os requisi- tos são vagos e mudam frequentemente. Desenvolvido por Kent Beck, Ward Cunningham e Ron Jeffries [6], o XP tem como principal tarefa a codifica- ção com ênfase menor nos processos formais de desenvolvimento e com uma maior disciplina de engenharia ágil de software para codificaç ão e testes. Tem como valores a comunicaç ão, a simplicidade, o feedback, a coragem e o res- peito.

    O XP valoriza a automatizaç ão de testes, sendo estes criados antes, du- rante e depois da codificaç ão. É flexível para a mudanças de requisitos, valo- rizando o feedback com o usuário e a qualidade do código-fonte final.

    A ideia principal do XP é a criaç ão de software de alta qualidade, abando- nando todo tipo deoverheadde processo que não suporte diretamente a en- trega de valor. Ele é orientado explicitamente às pessoas e vai contra o senso comum do gerenciamento de que elas são peças intercambiáveis dentro do processo de desenvolvimento.

    Sinergia entre as práticas Nos próximos capítulos, detalharemos os valores, os papéis e as diversas práticas do XP, trazendo a teoria e a prática com muitas dicas. Uma prática do XP, um valor ou um papel serve como suporte para outras práticas, outros valores e outros papéis do próprio XP, criando uma sinergia. Por exemplo, as histórias de usuário são base para os testes de aceitaç ão, no qual rodarão na integraç ão contínua e permitirão pequenas entregas, auxiliando no ritmo sus- tentável e na comunicaç ão do time de desenvolvimento com o cliente. Quanto mais afinados eles estiverem, mais benefícios o XP trará ao desenvolvimento de software.

    Esperamos que você navegue de forma prazerosa pelas páginas a seguir.

    Para auxiliá-lo nisso, disponibilizamos abig picturedo XP com seus valores e práticas de gestão, planejamento, projeto e codificaç ão (vide imagem a se- guir). Você pode baixar e imprimi-la em [2].

    Esperamos também que este livro mude sua forma de pensar e agir (se

    Página 34

    Casa do Código Capítulo 2. Introduç ão a métodos ágeis ainda não mudou), e ajude você, seus clientes e seu time a atingirem satisfa- toriamente seus objetivos, de preferência dentro do prazo, custo e orçamento previstos. 🙂 Fig. 2.1: Big picture do XP. Imagens de Freepik (http://www.flaticon.com/authors/freepikhttp://www.flaticon.com) com a licen ça Cre- ative Commons BY 3.0 (CC BY 3.0) (http://creativecommons.org/licenses/by/3.0/)

    Imagem 1 da página 34 (sem descrição)

    Página 35

    Página 36

    Capítulo3 ValoresdoeXtreme Programming O eXtreme Programming define cinco valores para que seus papéis e práticas funcionem em sinergia de acordo com sua essência ágil: a comunicaç ão, o feedback, a simplicidade, a coragem e o respeito; que serão descritos a seguir neste capítulo.

    3.1 Comunicação Ter foco na comunicaç ão é essencial em projetos de software, pois é a prin- cipal forma de transmitir e trocar informações e conhecimentos. Por essa razão, é importante incentivar meios eficazes de comunicaç ão, cujo valor está presente no Manifesto Ágil e na maioria das práticas de XP.

    Página 37

    3.2. Feedback Casa do Código Ela pode ocorrer de várias formas, como, por exemplo: e-mail, telefone, skype (ou outras ferramentas de chat instantâneo), teleconferência, conversa face a face etc. Porém, é preciso entender que nem todas possuem a mesma efetividade.

    A forma mais eficiente é a conversa face a face, usando um quadro branco como apoio para rabiscar ideias e/ou rascunhos sobre arquitetura de software.

    Distribuir quadros brancos no ambiente de desenvolvimento pode funcionar muito bem para estimular discussões de arquitetura, fluxos, algoritmos e, as- sim, aumentar a possibilidade de implementar certo logo na primeira tenta- tiva.

    A comunicação incentiva diretamente outro valor essencial no XP: o fe- edback.

    3.2 Feedback Na adoção das práticas, o feedback é realizado a todo momento, seja em re- lação aos requisitos do cliente, ao resultado da execuç ão de testes unitários, ou na compilaç ão do código na integraç ão contínua. A compreensão das ne- cessidades dos usuários e do negócio propriamente dito é um aprendizado constante. A razão de adotarmos estratégias iterativas e incrementais é que isso permite que os inevitáveis erros das pessoas sejam descobertos o mais cedo possível e reparados de forma metódica.

    3.3 Simplicidade A simplicidade é outro valor presente nas práticas XP, e a chave e a diretriz de um projeto ágil. Ela visa manter o trabalho o mais simples e focado possível, entregando somente o que realmente agrega valor. Acrescentar suporte para futuras funcionalidades de forma desnecessária complica odesigne eleva o esforço para desenvolver incrementos subsequentes.

    Infelizmente, projetar um design simples não é algo fácil, pois muitos ti- mes já estão acostumados com a prática de futurologia, sofrendo da Síndrome de Nostradamus; ou seja, mesmo sabendo o que o cliente quer hoje, eles in- sistem em tentar desenvolver uma soluç ão que também resolva problemas

    Página 38

    Casa do Código Capítulo 3. Valores do eXtreme Programming futuros. O ponto é: não temos certeza sobre o que vai acontecer no futuro, então precisamos nos focarapenasnos problemas e necessidades atuais do nosso cliente.

    Lembre-se: busque sempre desenvolver o suficiente de forma simples e com qualidade.

    3.4 Coragem A coragem também é incentivada por meio do uso das práticas do XP. Por exemplo, o desenvolvedor apenas se sentirá confiante para refatorar o código criado por outro colega caso o time tenha um padrão de codificaç ão e posse coletiva do código. Além dessa prática, o uso de controle de versão e testes unitários também encorajam isso. Além desses medos naturais de alteraç ão de código, tem-se uma série de preocupações que exercem influência nos pro- cessos de desenvolvimento.

    O cliente teme:

    • Não obter o que foi solicitado/contratado; • Pedir a coisa errada; • Pagar demais e receber pouco; • Jamais ver um plano relevante; • Não saber o que está acontecendo (falta de feedback); • Ater-se às primeiras decisões de projeto e não ser capaz de reagir à mu- dança do negócio.

    Já o desenvolvedor teme:

    • Ser solicitado a fazer mais do que sabe fazer; • Ser ordenado a fazer coisas que não faç am sentido; • Ficar defasado tecnicamente;

    Página 39

    3.5. Respeito Casa do Código • Receber responsabilidades, mas sem autoridade; • Não receber definições claras sobre o que precisa ser feito; • Sacrificar a qualidade em função do prazo; • Resolver problemas complexos sem ajuda; • Não ter tempo suficiente para fazer um bom trabalho.

    Um verdadeiro time XP é composto de indivíduos corajosos que confiam em suas práticas, bem como nos seus colegas de time. A coragem faz-se ainda mais necessária nos momentos de crise.

    3.5 Respeito O respeito pelos colegas de time e pelo cliente é muito importante. Pessoas que são respeitadas sentem-se valorizadas. Os membros do time precisam respeitar o cliente; o cliente precisa respeitar os membros do time; e, além disso, o cliente deve fazer parte das decisões.

    Os desenvolvedores nunca devem realizar mudanças que quebrem a com- pilação e que fazem os testes de unidade falharem ou realizarem outras ações que possam atrasar o trabalho ou o progresso do time.

    Todos no time devem respeitar a posse coletiva do código, sempre pri- mando pela qualidade e buscando um design simples por meio da refatora- ção.

    A adoção dos demais quatro valores do XP conduzirá a este quinto valor:

    o respeito. Isso vai garantir um alto nível de motivaç ão, além de incentivar a lealdade entre todas as pessoas envolvidas no projeto, criando um verdadeiro senso de trabalho em equipe.

    O ponto é: como se adquirem confiança e respeito? Obviamente, entre- gando softwares que funcionam. E mais que isso, o respeito é fundamental para uma relaç ão transparente e duradoura. É isso que realmente forma a parceria e a colaboraç ão de todos envolvidos, algo essencial para a entrega contínua de valor.

    Página 40

    Capítulo4 PapéisdoeXtremeProgramming O time XP é formado por papéis com objetivos diferentes, porém comple- mentares, tais como: o papel de desenvolvedor (programador), do cliente, do gerente, docoach, do testador, dotrackere docleaner[6].

    Uma pessoa pode assumir mais de um papel; por exemplo, ser desenvol- vedor e coach, ou, então, desenvolvedor e tracker.

    Porém, é aconselhável que alguns papéis, como coach e gerente, não se- jam assumidos por uma mesma pessoa, porque seus interesses são conflitan- tes. Ou seja, o gerente em determinados momentos pode sofrer uma pressão muito grande para entregar mais softwares e de forma mais rápida, e isso pode fazer com que, inconscientemente, ele repasse essa pressão para o time e acabe deixando de lado as práticas ágeis do XP; enquanto o coach deve justamente manter o time atuando de forma ágil e disciplinada, mantendo a agilidade mesmo em momentos de crise.

    Página 41

    4.1. Desenvolvedor Casa do Código Nas próximas seções, falaremos mais sobre cada um dos papéis que com- põem um time XP.

    4.1 Desenvolvedor O desenvolvedor, também denominado programador, é o coraç ão do XP. O desenvolvedor multidisciplinado é um profissional capaz de trabalhar em to- das as etapas do desenvolvimento de software, desde a escrita de histórias de usuário até odeployem produç ão. No time XP, ele é um programador que es- tima as histórias de usuários e tarefas, quebra as histórias em tarefas, escreve testes, escreve código, automatiza processos de desenvolvimento e, gradual- mente, aprimora o design do sistema.

    Especificaç ão, prototipaç ão, design, desenvolvimento, testes e atividades ligadas ao DevOps são tarefas que o desenvolvedor poderá exercer em seu dia a dia. Desenvolvedores multidisciplinados elevam o nível de agilidade de um time, uma vez que todos podem vir a atuar em atividades que, eventualmente, tornam-se gargalos do projeto. Visto que eles escrevem código de produç ão em pares, precisam ter boas habilidades sociais e de relacionamento.

    4.2 Cliente Também conhecido comoo dono do ouro, o cliente define e prioriza as his- tórias de usuário, validando o produto desenvolvido por meio de testes de aceitaç ão. É importante que ele esteja o mais próximo possível do time, com disponibilidade suficiente para conversar e tirar as dúvidas habituais.

    O nosso cliente nem sempre será o usuário; ou seja, ele pode conhecer o negócio, definir e priorizar os requisitos, mas não utilizará o software efe- tivamente. Quando esse cenário ocorrer, é necessário aproximar do time al- guns desses usuários, pois, dessa forma, conseguimos priorizar os requisitos e validá-los com eles. São as pessoas que realmente utilizarão o software no dia a dia, afinal.

    Página 42

    Casa do Código Capítulo 4. Papéis do eXtreme Programming 4.3 Coach É o técnico do time XP. Ele orienta a todos, mantendo a disciplina na aplicaç ão das práticas ágeis, e lembra a equipe da importância das cerimônias (como a reunião em pé, o jogo do planejamento e a reunião de retrospectiva, tudo que veremos mais à frente), da construç ão e manutenção de artefatos e do uso de ferramentas.

    O coach pode facilitar reuniões e orientar o time em relaç ão a que cami- nho seguir quando surgirem dúvidas ou impasses ligados à forma de trabalho.

    É saudável que ele não seja a mesma pessoa que atua como gerente, por- que os interesses desses papéis são diferentes. Enquanto o coach preocupa-se em manter o time engajado e disciplinado, o outro importa-se em priorizar e entregar o software para o cliente. Se uma mesma pessoa acumular os dois papéis, em momentos de crise, o gerente poderá falar mais alto e atropelar as práticas ágeis.

    4.4 Testador O testador no time XP auxilia o cliente a escolher e escrever testes de aceita- ção, para, então, automatizá-los. Ele serve também como um programador coach em técnicas de testes. Para o time de desenvolvimento, o testador não é responsável por pegar erros triviais, isto é papel dos próprios desenvolve- dores. Ele faz parte do time XP, não devendo ser uma pessoa isolada e traba- lhando em outro local. Ele pensa no teste e na qualidade do produto como um todo, considerando também os que rodarão na integraç ão contínua, au- xiliando em par os programadores a resolver problemas do sistema.

    4.5 Cleaner O cleaner é um membro do time que assume o papel de limpar o código; en- corajar os membros a praticar pequenas refatorações; reduzir a complexidade e acoplamento do código; e a aumentar a coesão dos métodos, realizando sua extração e tornando o código cada vez mais enxuto [63]. Ele também se man- tém o tempo todo atento aos impedimentos do time e às dívidas técnicas, ajudando, assim, a garantir a qualidade do código.

    Página 43

    4.6. Tracker Casa do Código São pré-requisitos para um bom cleaner: a excelência técnica, o conheci- mento do negócio e da arquitetura, bem como uma boa didática para explicar aos desenvolvedores o motivo de cada refatoraç ão para elevar o nível técnico de todos os membros do time.

    O cleaner incentiva o grupo a cuidar da saúde e do bem-estar do código.

    Um bom candidato pode ser o líder técnico ou o arquiteto do produto. Ele também pode conduzirCoding Dojosou outras dinâmicas para elevar o co- nhecimento técnico da equipe.

    4.6 Tracker Responsável por coletar as métricas de projeto, o tracker é capaz de contar uma história da iteraç ão do início ao fim, por meio dos apontamentos que realizou e das informações que foram coletadas. Como um tracker, você é a consciência do time e deverá coletar informações sem perturbar o processo de desenvolvimento mais do que o necessário.

    Ao final de cada iteraç ão, ele pode gerar métricas que mostram o desem- penho do time. O coach pode trabalhá-las com o grupo, buscando manter aquilo que estiver satisfatório e modificar o que não estiver indo bem.

    4.7 Gerente O gerente facilita a comunicaç ão dentro de um time XP e coordena a comu- nicação com clientes, fornecedores e com o resto da organizaç ão. Ele gerencia e acompanha o planejamento do projeto, pois o planejamento no XP é uma atividade, e não uma fase; e auxilia na priorizaç ão das histórias de usuário, as- sim como no agendamento de reuniões e de demonstrações com o cliente e os usuários. Também gera relatórios e gráficos de acompanhamento do projeto e administra a infraestrutura necessária ao time (máquinas, licenças, espaços físicos etc.).

    O gerente não é o chefe do time de desenvolvimento, mas pode (e deve) ser um líder servo, o que significa que ele reconhece e auxilia nas suas neces- sidades reais.

    Página 44

    Casa do Código Capítulo 4. Papéis do eXtreme Programming 4.8 Outros papéis O XP considera que outros papéis relacionados ao negócio podem fazer parte do time, podendo incluir: usuários, consultores, chefes e executivos [7]. Po- rém, por tratarem-se de papéis complementares do XP, eles não serão abor- dados por nós.

    Página 45

    Página 46

    Capítulo5 Timecoeso “A aprendizagem não é obrigatória… Nem a sobrevivência.”

    –William Edwards Deming Você se lembra do primeiro valor do Manifesto Ágil?Indivíduos e intera- ções mais que processos e ferramenta. Você já parou para pensar por que esse é o primeiro valor?

    Comumente nas organizações, diversos processos e ferramentas são de- senvolvidos para tentar resolver problemas que, na realidade, são causados por lacunas na comunicaç ão, na confiança das pessoas e na falta de motiva- ção dos indivíduos, criando formalismos que engessam o trabalho e geram novos problemas. Esse primeiro valor enfatiza a importância das pessoas e do trabalho em time para um melhor desenvolvimento de software.

    Eis um dos pontos-chaves no XP: em um projeto, todos fazem parte do time, integrando-se os clientes à equipe de desenvolvimento. Dessa forma, o

    Página 47

    5.1. Time multidisciplinar Casa do Código grupo coeso possuirá todas as competências de negócio e técnicas para de- senvolver o software.

    Um time efetivamente coeso maximiza os valores do XP: possui maior co- municaç ão por estar integrado, busca continuamente a simplicidade e cons- trói confiança para ter-se coragem e gerar feedback por meio do respeito mú- tuo. A multidisciplinaridade, a auto-organizaç ão, a proximidade física e a melhoria contínua são características essenciais para um time efetivamente coeso.

    5.1 Time multidisciplinar O trabalho multidisciplinar tem raízes nas células de produç ão do Sistema Toyota de Produç ão [41]. O conceito de células de produç ão defende o traba- lho em equipe para a produç ão de itens com características similares, sendo uma grande inovaç ão dos japoneses na década de 70. Isso revolucionou a ideia taylorista-fordista de ter-se apenas um homem por estaç ão de trabalho executando apenas um tipo de tarefa especializada.

    O trabalho em célula de produç ão cria sinergia entre os indivíduos e otimiza o desempenho do processo, eliminando diversos desperdícios, tais como: espera; superproduç ão; estoque; defeitos de qualidade; movimentos; transportes; processos desnecessários; e, principalmente, o não uso da cria- tividade dos funcionários. É importante salientar que o membro de time XP pode assumir mais de um papel, o que foi abordado com mais detalhes no capítulo4.

    5.2 Time auto-organizável Os times coesos são auto-organizáveis; ou seja, são responsáveis pelo seu pró- prio sucesso. Não há a necessidade de controle das atividades de cada indiví- duo do time por um gerente de projetos ou um coordenador. A gestão é tão importante que não fica nas mãos de apenas uma pessoa. O gerente empodera o time nas suas decisões e trabalha no macrogerenciamento. O microgerenci- amento está dentro do próprio time; não há ninguém melhor do que a própria equipe para tomar suas decisões de trabalho. O coach cuidará do método e

    Página 48

    Casa do Código Capítulo 5. Time coeso da liderança do grupo, porém a liderança situacional pode emergir de seus membros, dependendo da questão a ser resolvida.

    5.3 Sentando lado a lado O espaço físico influencia diretamente a comunicaç ão e o trabalho do time coeso. É essencial que o time sente-se junto no mesmo ambiente físico. No início do dia, os membros realizam as reuniões diárias face a face e, durante ele, a programaç ão em pares é feita constantemente. O ambiente de traba- lho no XP contém quadros para a comunicaç ão e feedback de informações importantes do projeto a todos envolvidos nele.

    5.4 As reuniões de retrospectiva e a melhoria contínua Em desenvolvimento de software, existe apenas o aperfeiçoar, e não a perfei- ção. Não há processo perfeito, nem projeto e nem histórias de usuário. Con- tudo, a melhoria contínua é buscada no dia a dia, sendo possívelaperfeiçoar seu processo, seu projeto e suas histórias.

    Um dos pontos-chaves de um time de alto desempenho está nas suas reu- niões de retrospectiva, pois são identificados progressos a serem realizados no seu trabalho para aprimorar suas práticas. Essa reunião exige uma pro- funda reflexão do próprio trabalho para que se possam encontrar melhorias.

    No Lean, essa autorreflexão é chamada deHanseie o ato de realizá-las é cha- mado deKaizen[41].

    Qual é a abordagem do XP para a melhoria contínua? É simples: conserte o XP quando ele falhar. O eXtreme Programming assume que não trará todas as respostas para o desenvolvimento de software, pois sabemos que não há bala de prata [28]. As regras devem ser seguidas até o time precisar mudá-las.

    Os projetos são encorajados a iniciarem seguindo as regras do XP e, en- tão, a adaptarem qualquer aspecto que não esteja funcionando, tudo isso em um ambiente de experimentaç ão e avaliaç ão. As reuniões frequentes de re- trospectiva farão com que a melhoria contínua seja uma parte natural do de- senvolvimento de software. O livroAgile retrospectivestraz toda a base, além

    Página 49

    5.4. As reuniões de retrospectiva e a melhoria contínua Casa do Código de muitas dicas para conduzir retrospectivas [40].

    O clima descontraído e divertido nas retrospectivas ajuda bastante os membros do time a expor problemas e tornar a melhoria contínua mais leve.

    As dinâmicas lúdicas com o uso de metáforas também ajudam muito na ex- posição de problemas e na coragem para dar passos em direção ao aperfeiço- amento, pois estimulam a criatividade. Paulo Caroli e Tainã Caetano trazem diversas dessas retrospectivas divertidas no livroFun retrospectives[11].

    O segredo das práticas do XP está na sinergia: uma prática sustenta e potencializa a outra. Por exemplo, as histórias de usuário permitem a comu- nicação para a criaç ão de testes de aceitaç ão e pequenas iterações, agilizando as entregas para obter-se feedback do cliente sobre o software sendo desen- volvido. Uma dica é utilizar a melhoria contínua também para a união das práticas.

    Dica dos autores: qual o tamanho ideal de um time?

    Reconhecemos que, mais importante do que o tamanho do time, é a sua formaç ão: manter o foco por meio da atenção constante e buscar o comprometimento de todos. Porém, é quase unanimidade que gruposde sete pessoas variando mais ou menos duas normalmente funcio-nam bem, principalmente organizando e colocando as práticas em an-damento. Isso facilita a realizaç ão das cerimônias e a dar os primeiros passos. Conhecemos times pequenos (4 a 6 pessoas) que não funciona-vam muito bem, e também já trabalhamos com times maiores (13 ou 14pessoas), nos quais o trabalho funcionava muito bem e de uma formaágil e disciplinada. Na dúvida, experimente!

    Página 50

    Capítulo6 Clientepresente “Clientes não esperam que você seja perfeito. Eles esperam que você resolva coisas que eles fizeram errado.”

    –Donald Porter, vice-presidente da British Airways Uma das necessidades básicas do XP é ter o cliente presente, pois isso faz com que ele se sinta parte do time, o que agiliza o trabalho dos programado- res. Desse modo, esse envolvimento éextremocom a comunicaç ão e com o feedback.

    Todas as fases do XP precisam da comunicaç ão com o cliente, de prefe- rência face a face. Por isso, é interessante que ele esteja no próprio local do desenvolvimento do software. Escrever especificações leva um tempo muito longo e elas não comunicam efetivamente bem, tanto que poucas pessoas re- almente as leem por completo. É muito mais efetivo conversar sobre o que será necessário no software para seu desenvolvimento já se iniciar.

    Página 51

    Casa do Código O cliente tem uma participaç ão essencial nojogo do planejamento, es- crevendo e priorizando histórias e discutindo detalhes dos requisitos direta- mente com o time para criarem as tarefas de implementaç ão (vide capítulo 10). Se houver itens importantes a serem documentados, registre-os como critérios de aceitaç ão; assim, eles poderão ser úteis por serem passíveis de au- tomatizaç ão. Ele também precisa estar disponível também para discutir os testes de aceitaç ão para que o time valide as histórias.

    Uma objeção comum sobre ter-se o cliente presente é que ele requisitará apenas o que é de seu interesse e não pensará no negócio como um todo. Isso é de responsabilidade do trabalho dele e de outras pessoas ligadas ao negócio, e poderá acontecer de qualquer forma, com ou sem sua presença.

    Ter somente um representante do negócio (ou até não possuir cliente) pode ser um problema, pois faz com que funcionalidades sem utilidade sejam desenvolvidas e que critérios de aceitaç ão não realistas sejam criados. O time de desenvolvimento trabalhará por itens sem valor real que não fazem parte da soluç ão real.

    Página 52

    Casa do Código Capítulo 6. Cliente presente Tudo é questão de prioridade É importante entendermos que desenvolver software é, acima de tudo, aprendizado de todos. Para isso, é necessária muita colaboraç ão. Nin- guém desenvolve sozinho. Há alguns anos, estávamos começando um projeto com um novo cliente. Como de praxe, explicamos como funci- onava o nosso trabalho e como a participaç ão dele era importante neste processo. Era uma forma de sensibilizar e mostrar o quão importante estar ativo no desenvolvimento.

    Quando começamos o trabalho, tudo aquilo que havíamos definido foi perdendo força e ele distanciou-se. Chegamos a um ponto em que tivemos que questioná-lo sobre sua participaç ão (ou de alguém que pu- desse ajudar). Ele simplesmente nos disse que não tinha tempo e que es- tava resolvendo outros problemas na empresa. Ficou claro que aquele era o momento de parar. E foi o que fizemos. Simplesmente, parou-se o de- senvolvimento. Dissemos-lhe que, se ele não tinha tempo para envolver- se (ou envolver alguém que pudesse representá-lo), este projeto não era tão importante assim para ele e, portanto, ele não deveria gastar tempo e, principalmente, nem dinheiro com isso. Simples assim.

    6.1 Oquefazerquandooclientenãopodeestar presente?

    Pessoas de negócio podem ser bem requisitadas em seu trabalho e não te-rão tempo disponível para estarem presentes no local do desenvolvimento.Espere, desde o início, lacunas no entendimento de ambas as partes, tantosobre o negócio quanto sobre o desenvolvimento. Nesses casos, é necessáriomaximizar a comunicaç ão buscando outras alternativas de tecnologia e de processo de desenvolvimento.

    Utilize ao máximo a comunicaç ão por telefone e reuniões virtuais. O tra- balho por reuniões remotas é uma boa alternativa. Ajudará também ter umrepresentante que entenda do negócio e tenha tempo e acesso ao cliente. Tente ao menos que ele compareça nas reuniões de planejamento. E mais, se for

    Página 53

    6.1. O que fazer quando o cliente não pode estar presente? Casa do Código possível, aproveite ao máximo seu tempo e faç a um planejamento presencial intensivo de um dia inteiro ou de uma semana inteira.

    Dica Faça frequentemente pequenas entregas. Essa é uma boa estratégia para alinhar o software com o negócio. Se o cliente não pode ver o time, que ao menos veja o sistema. 😉

    Página 54

    Capítulo7 Históriasdeusuário “Histórias não são requisitos; elas são discussões sobre resolver problemas para nossa organização, nossos clientes e nossos usuários que levam a acordos sobre o que construir.”

    –Jeff Patton Histórias de usuário (user stories) descrevem seus requisitos em uma forma ágil. Para discutir seus detalhes, é necessária a comunicaç ão face a face entre o time e o cliente, encorajando o trabalho em conjunto. Cada histó- ria segue um ciclo de vida, normalmente nascendo como um épico (histórias grandes), sendo detalhada de acordo com sua prioridade. Elas são textuais, não necessitam de ferramenta específica, são compreensíveis por todos do de- senvolvimento ou do negócio, e são descritas em cartões, também chamadas de cartões de história (story card ). Outras formas de documentaç ão comple- mentares podem ser utilizadas juntamente, o XP não impede isso desde que

    Página 55

    Casa do Código sejam úteis e necessárias, tais como protótipos ou diagramas.

    Veja alguns exemplos de histórias de usuário:

    • Como um contador, eu quero registrar uma movimentaç ão de patrimô- nio; • Como uma leitora, quero pesquisar livros por categoria; • Como repositor de estoque, quero localizar quais as prateleiras do su- permercado que contêm menos de 50% de sua capacidade de produtos.

    • Como cliente, quero encontrar as pizzarias na minha cidade que este- jam abertas na segunda-feira à noite.

    A essência da utilizaç ão de histórias de usuários como requisitos está de acordo com os valores do Manifesto Ágil.

    •Indivíduos e interaç ões mais que processos e ferramentas:elas enfa- tizam a conversaç ão, não dependendo de processo ou de ferramenta; •Software em funcionamento mais que documentaç ão abrangente:

    elas vão direto ao ponto com uma forma flexível de documentaç ão para o que há de maior valor para o negócio; •Colaboraç ão com o cliente mais que negociaç ão de contratos:por serem sucintas e necessitarem da conversaç ão do cliente com os desen- volvedores, permitem a negociaç ão e colaboraç ão com o negócio; •Responder a mudanç as mais que seguir um plano:elas respondem às mudanças por serem flexíveis em seu ciclo de vida, dando base para as alterações quando necessárias.

    Nas seções a seguir, detalharemos sobre o modelo 3C e o ciclo de vida de histórias. Também mostraremos como escrever usando um modelo de escrita, refinando com INVEST, quebrando as histórias em tarefas SMART e utilizando personas; diversas dicas de escrita de boas histórias; e um catálogo debad smellsde histórias.

    Página 56

    Casa do Código Capítulo 7. Histórias de usuário 7.1 Modelo3C O tamanho de um cartão é suficiente para detalhar um requisito de usuário?

    Sim, pelo fato de as histórias serem utilizadas como lembretes para a con- versação do time e para a confirmaç ão do cliente. Os cartões de histórias de usuário são como slides: da mesma forma que um instrutor ensina por meio deles, um cliente mostra os requisitos do sistema por meio de histórias de usuário.

    Para deixar claro o propósito das histórias de usuário, Ron Jefries criou o modelo 3C [31]. Cada uma das três letras Crepresenta um aspecto crítico delas:

    •Cartão:as histórias de usuário são escritas em cartões (ou no tamanho de um cartão). Ele não conterá toda a informaç ão de um requisito, mas serve para lembrar a todos do que este se trata. As prioridades e os custos também podem ser anotados neles.

    •Conversação:o requisito é comunicado do cliente ao time por conver- sação (face a face), podendo ser suplementado por documentos.

    •Confirmação:a confirmaç ão da história dá-se por exemplos para criar testes de aceitaç ão; ou seja, pelos critérios de aceitaç ão. O cliente dirá ao time como aceitará cada história por meio de critérios de aceitaç ão.

    Essa é uma ótima forma de suplementar a documentaç ão. A preferên- cia é de que esses critérios sejam automatizados pelo time. A história de usuário estará pronta quando todos eles estiverem passando nos testes de aceitaç ão.

    7.2 Ciclo de vida Cada história segue um ciclo de vida, sendo refinada progressivamente. Elas normalmente nascem em épicos e são agrupadas em temas. Um épico pode ser visto como uma história muito grande [49] que pode levar diversas itera- ções para serem desenvolvidas e que ajudam a esboçar a funcionalidade do produto sem se comprometer com detalhes. Assim que priorizado, ele é que- brado em diversas histórias.

    Página 57

    7.3. Utilizando um modelo de escrita Casa do Código Um tema representa uma capacidade do produto ou um objetivo, aju- dando a mostrar sua completude e também a encontrar as histórias certas.

    Uma estratégia é priorizar os temas para, então, priorizar as histórias relacio- nadas. Aquelas de maior prioridade terão seus critérios de aceitaç ão comple- tos e, depois, serão refinadas com INVEST (explicado a seguir neste capítulo) e quebradas em tarefas de implementaç ão.

    Um exemplo de épico pode ser:como um repositor de estoque, eu quero gerenciar a reposição do supermercado, fazendo parte do tema “Gestão de esto- que”. Uma história que pode nascer a partir dele é:como repositor de estoque, quero localizar quais as prateleiras do supermercado que contêm menos de 50% de sua capacidade de produtos.

    7.3 Utilizando um modelo de escrita Ter um modelo é útil para a escrita de histórias. Existem alguns tipos de mo- delos e variações; um dos mais utilizados é o da Connextra (vide imagem7.1), que traz as informações principais no cartão:

    •Como um (As a… ): para quem será útil a história, para qual usuário protagonista do sistema; pode também ser uma persona (veremos em 7.6); •Eu quero (I want… ): o que a história está especificando de requisito, a necessidade do usuário propriamente dita; •Para que (So that… ): razão de negócio, o motivo pelo qual a história existe; mostra o valor de negócio da história.

    Página 58

    Casa do Código Capítulo 7. Histórias de usuário Fig. 7.1: Modelo original de cartão de história de usuário da Connextra. Fonte da imagem:http://agilecoach.typepad.com Basicamente, Connextra gera um modelo de escrita, ilustrado a seguir.

    Fig. 7.2: Modelo de escrita de história de usuário Como exemplo, utilizando-se esse modelo, a históriaComo repositor de estoqueficará dessa forma:

    Imagem 1 da página 58 (sem descrição)
    Imagem 2 da página 58 (sem descrição)

    Página 59

    7.4. Refinando com INVEST Casa do Código Fig. 7.3: Exemplo de uma história de usuário 7.4 Refinando comINVEST Muitas vezes, as histórias de usuário precisam ser lapidadas, pois podem estar complicadas de entender, grandes demais para serem desenvolvidas, depen- dentes demais para serem entregues, ou podem não ser verificadas. Para esse refinamento, utiliza-se o acrônimo INVEST, o qual traz 7 características. Apli- car todas elas não é tão fácil; até dizem que INVEST é o nirvana das histórias de usuários, mas deve-se tentar ao máximo obtê-las.

    Refinando com INVEST, uma história de usuário deve ser:

    •Independente de outras histórias para facilitar a negociaç ão, a priori- zação e a implementaç ão; •Negociável com o cliente, para que o time possa manter um ritmo sus- tentável para a entrega contínua de valor; •Valorosa, assim cada entrega agregará grande valor ao negócio do cli- ente; •Estimável, desse modo o time poderá estabelecer quais histórias serão implementadas de acordo com sua velocidade; •Small(pequena) o suficiente para ser implementada dentro de uma ite- ração, sem correr grandes riscos de não a completar;

    Imagem 1 da página 59 (sem descrição)

    Página 60

    Casa do Código Capítulo 7. Histórias de usuário •Testável, apenas assim poderá ter qualidade na entrega e certeza de que o cliente aceitará a história como pronta.

    7.5 Implementando com tarefasSMART Cada história de usuário possuirá tarefas a serem desenvolvidas, como: im- plementaç ão, teste, integraç ão e deploy. Quebrá-las em tarefas gera mais cer- teza do trabalho que o time precisará entregar. Cada uma delas deverá possuir as 5 características do acrônimo SMART:

    • eSpecífica o suficiente para ser entendida, para que se implemente exa- tamente o que é necessário, evitando a sobreposiç ão de outras tarefas; •Mensurável, possuindo um tamanho para garantir que a tarefa seja concluída (contabilizando testes e refatoraç ão); •Alcançável para que todos possam ter acesso às informações necessá- rias para sua conclusão; •Relevante, contribuindo para a implementaç ão da história; •Time-boxed, limitada a uma duraç ão específica (não sendo uma es- timativa formal, mas uma expectativa de desenvolvimento, inclusive para pedir ajuda). Tarefas com grande duraç ão devem ser evitadas, po- dendo serem divididas em tarefas menores ou sendo revisadas.

    7.6 Personas Uma forma recomendada para pensar mais no usuário do sistema é utilizar o conceito de personas, que é a caracterizaç ão de um papel de usuário do sis- tema. Uma persona descreve as qualidades, os valores, o comportamento e os objetivos de usuários alvos no sistema. Uma dica é dar nomes às personas que lembrem seus papéis; por exemplo, o nomeAdemarpara a persona rela- tiva ao papel de administrador. Na escrita da história, escreve-se o nome da persona, em vez do papel de usuário.

    Página 61

    7.7. Story points Casa do Código 7.7 Story points Story pointsé o nome comum para o tamanho de histórias de usuário. A velocidade do time é dada contabilizando a média de todos osstory pointsre- alizados nas iterações. Dentre as diversas variações de pontuar uma história, a forma mais efetiva é dimensioná-las relacionando com as outras, utilizando a experiência no passado para determinar o quanto pode ser feito em uma ite- ração [27]. O time pode utilizar uma sequência não linear de valores, como a de múltiplos de dois (1, 2, 4, 8, 16, …) ou a de Fibonacci (1, 2, 3, 5, 8, 13, …).

    O que realmente interessa é que se possa prever quantas histórias pode- rão ser entregues nas iterações, diminuindo o risco de termos problemas no desenvolvimento. Há os que acham melhor não estimar, mas apenas contabi- lizar, em média, quantas serão realizadas a cada iteraç ão [36]. Existem times que até utilizam tamanhos de camiseta (P, M, G, GG), e outros que usam dias ideais ou horas de desenvolvimento [13].

    Por estar confuso comstory points, um cliente de Joshua Kerievsky criou o termo NUTs (Nebulous Units of Time Unidades Nebulosas de Tempo) [36].

    Independente da forma de encontrar o tamanho da história, é o grupo que decide suas estimativas e sua velocidade.

    7.8 Escrevendo boas histórias A prática com boas orientações é importante para escrever uma história útil para o time e para o negócio. Mike Cohn, em seu livroUser stories applied, traz orientações para escrever boas histórias de usuário [13]. Complementamos com mais algumas dicas:

    •Comece com as histórias objetivas:os usuários do sistema possuem objetivos diretos no sistema; comece escrevendo as histórias que resol- vam os problemas desses objetivos.

    •Fatie o bolo:escreva histórias que possuam uma camada de cada fase de implementaç ão de uma funcionalidade, desse modo entregará valor.

    Imagine uma história como uma fatia de bolo, em que cada camada é a parte de projeto, codificaç ão, teste, integraç ão e deploy.

    Página 62

    Casa do Código Capítulo 7. Histórias de usuário •Escreva histórias fechadas:faça com que a história entregue valor real ao negócio, algo que conclua o processo do usuário.

    •Coloque as restrições nos cartões:as restrições são os requisitos não funcionais, como de desempenho, de carga, de segurança e de usabi- lidade. Elas podem ser descritas nos cartões na forma de critérios de aceitaç ão.

    •Escreva suas histórias no horizonte:utilize o ciclo de vida das his- tórias de usuário. Faç a com que elas surjam de épicos. Conforme a prioridade, os épicos são quebrados em histórias e, então, é iniciada a especificaç ão dos critérios de aceitaç ão relacionados.

    •Evite a interface de usuário o maior tempo possível:a essência dos detalhes da interface de usuário é de projeto, e não de requisito de usuá- rio, na maioria das vezes. Detalhá-la torna-se necessário conforme a prioridade aumenta.

    •Algumas coisas não são histórias:histórias são para escrever requisi- tos de usuário, e não para documentar a ajuda do sistema, por exemplo.

    •Inclua os papéis de usuários:a utilizaç ão de um modelo ajuda nisso, pois ele lembra de escrever para quem a história servirá.

    •Escreva para a persona protagonista:muitas vezes, uma história de usuário servirá para mais de uma persona ou mais de um papel de usuá- rio. Por essa razão, escreva a história para a persona ou papel de usuário que mais agregará valor, de maior propósito.

    •Escreva em voz ativa:escrever em voz passiva pode tornar a história confusa.

    •O cliente escreve:apenas dessa forma não haverá lacunas na escrita.

    Quando isso não for possível, faç a com que ele leia, valide e discuta todas as histórias.

    •Dê títulos às histórias:um título ajudará na sua identificaç ão. Não enumere apenas os cartões de história, pois é muito estranho conversar

    Página 63

    7.9. Catálogo de story smells Casa do Código sobre a “história 32” (como se fazia antigamente com nomes de tabelas de banco de dados).

    •Não esqueça do propósito:lembre-se sempre do propósito de uma his- tória de usuário, que é servir como um lembrete a todos (time e cliente) para a comunicaç ão do requisito.

    •Descreva os defeitos (bugs) como critérios de aceitaç ão:quando hou- ver umbug, provavelmente é porque faltou ter escrito (ou automati- zado) um critério de aceitaç ão. Escreva um critério de aceitaç ão que falhe diretamente no problema.

    7.9 Catálogo de story smells Para escrever boas histórias, também é necessário identificar e evitarbad smells(maus cheiros). O livroUser stories applieddo Mike Cohn possui um catálogo dessessmells[13], que ocorrem normalmente quando:

    •A história depende de várias outras histórias:a interdependência im- possibilita a negociaç ão e a priorizaç ão das histórias; •A história está muito curta:histórias são sucintas, mas não é para serem muito curtas; •A história possui muitos detalhes:repetindo que histórias são sucin- tas. Os detalhes normalmente serão discutidos entre o time e o cliente, lembre-se do modelo 3C; •Há funcionalidades não necessárias:lembre-se do valor do XP: sim- plicidade. Quando houver funcionalidades desnecessárias em histó- rias, é um grande indicador de que não se está pensando em simplici- dade; •O cliente não escreve, não confirma e não prioriza as histórias:esse é um dos mais comuns e piores maus cheiros; •Não está explícito o valor do negócio:escrever a razão de negócio ajuda a demonstrar seu valor. Um modelo ajuda nisso. Histórias com

    Página 64

    Casa do Código Capítulo 7. Histórias de usuário pouco valor não podem ser priorizadas. Provavelmente, o problema está em uma lacuna na realizaç ão do jogo do planejamento; •É pensado muito à frente nas histórias:isso atrapalha a agilidade, pois mudanças poderão vir logo, então não se deve detalhar muito à frente.

    Deve-se fazer somente o necessário para as histórias priorizadas; •É detalhada a interface de usuário muito antecipadamente:deve-se pensar na interface de usuário quando a história for priorizada. Utilize o tempo presente para trabalhar com as histórias já priorizadas; •Existir detalhes específicos de tecnologia, projeto de banco de da- dos e algoritmos:detalhes de projeto e de implementaç ão não fazem parte de requisitos. Esses detalhes deveriam ser discutidos entre o time, ou então em outros formatos de especificaç ão, tais como diagramas e protótipos.

    Página 65

    Página 66

    Capítulo8 Testesdeaceitaç ão “Testes de aceitação são mapas da estrada para a iteração, dizendo ao time aonde é preciso ir e quais pontos de referência olhar.”

    –Lisa Crispin O propósito dos testes de aceitaç ão é a comunicaç ão, a transparência e a precisão [43]. Quando os desenvolvedores, os testadores e o cliente concorda- rem com eles, todos entenderão qual é o plano para o comportamento do sis- tema. Chegar a esse ponto é responsabilidade de todas as partes. Eles validam como o cliente aceitará as funcionalidades prontas, pois são testes funcionais que guiam o time no desenvolvimento para, então, colocar em produç ão o que foi decidido que o sistema deve conter.

    Esses testes são criados a partir das histórias de usuários selecionadas pe- las pessoas de negócio no planejamento de iterações (veremos no capítulo 10). A história de usuário apenas estará completa quando todos seus critérios

    Página 67

    8.1. Automatizaç ão Casa do Código de aceitaç ão estiverem passando. Auxiliado pelo testador do time, o cliente é quem especifica os exemplos dos critérios de aceitaç ão na forma de cenários, que podem conter dados e variações que criticam a história [14]. Os exemplos de cenários esclarecem as histórias ao time.

    8.1 Automatização Testes de aceitaç ão sempre têm de ser automatizados por uma razão sim- ples: custo [43]. Caso você ache custoso ter testes de aceitaç ão automatizados, aguarde para ver o custo da confusão e dodebugde código ao longo prazo.

    Para fazer pequenas entregas frequentes, é necessário que os testes de acei- tação estejam automatizados e que rodem nobuildgerado pelo servidor de integraç ão contínua. O cliente poderá decidir se uma história desenvolvida poderá ir para produç ão mesmo quando alguns testes de aceitaç ão não esti- verem passando. Apenas ele tem esse poder.

    8.2 Validando com critérios de aceitação Cada história de usuário possui um ou mais critério de aceitaç ão, criado tam- bém pelo cliente. O testador ajuda-o a pensar em cenários bons de teste, sendo escritos já prevendo a automatizaç ão. Esses critérios descrevem como a his- tória será aceita pelo cliente e servem de guia para o desenvolvimento.

    Como exemplo, considerando a históriaComo um repositor de estoque, quero localizar quais as prateleiras do supermercado que contêm menos de 50% de sua capacidade de produtos, podemos escrever os critérios de aceitaç ão:

    • Deve exibir uma lista de prateleiras com o setor e a seção de cada uma, e o tipo e o nome do produto contido; • Deve exibir as prateleiras com menos de 50% da capacidade de itens; • Não deve exibir as prateleiras com 50% ou mais da capacidade de itens.

    Os critérios de aceitaç ão também podem seguir um modelo. Comu- mente, o utilizado é o de cenários de BDD (Behaviour-Driven Development Desenvolvimento Guiado por Comportamento) [47]. Esse modelo possui três informações:

    Página 68

    Casa do Código Capítulo 8. Testes de aceitaç ão •Dado que:precondiç ão, são os passos para preparar para aç ão a ser validada; •Quando:ação que vai disparar o resultado a ser validado; •Então:resultado a ser validado.

    Você encontrará bons exemplos de histórias com critérios de aceitaç ão no livroHistórias de usuário[61]. Como um exemplo, o critério de aceitaç ão Deve exibir o setor e a seção da prateleira com o tipo e o nome do produtousando o modelo, ficará desta forma:

    •Dado queo usuário logado é um repositor de estoque; •Quandoo item de menu “Consultar prateleiras para reposiç ão” for cli- cado; •Entãoa lista de todas as prateleiras para reposiç ão é exibida.

    Página 69

    Página 70

    Capítulo9 Liberaç ãofrequentedepequenas entregas “Software funcionando é a medida primária de progresso.”

    –7º princípio do Manifesto Ágil Por que deixar o cliente esperando um longo tempo para entregar um re- quisito importante? No XP, cadareleasedeve ser tão pequena quanto possível e com o maior valor de negócio. As pequenas entregas contêm as histórias de usuário identificadas e priorizadas no jogo do planejamento, que veremos a seguir. As histórias de usuários devem ser suficientemente granulares para caberem em uma entrega pequena. Manter a qualidade no desenvolvimento é essencial para poder entregar frequentemente. Em alguns casos, fica difícil liberar releases pequenas, precisando ser uma entrega do tipotudo ou nada.

    Página 71

    9.1. Foco na qualidade é o ponto-chave Casa do Código Diversos benefícios surgem quando se liberam frequentemente pequenas entregas com alto valor:

    • Entrega de valor adiantado e contínuo; • O processo é aprimorado rapidamente por falhar mais cedo (conceito fail fast); • Feedback do cliente mais cedo para confirmaç ão ou adaptaç ão dos re- quisitos; • Satisfaç ão dos usuários por ter respostas rápidas às suas necessidades; • Maior qualidade, confiança e estabilidade; • Reduz a taxa de defeitos por precisar realizar testes completos em ciclos menores; • Realiza um design simplificado e suficiente apenas para a entrega em questão; • O código é atualizado e integrado com maior frequência; • O software não fica ultrapassado; • Maior engajamento do time por ver seu trabalho sendo útil e empode- rado; • Facilita enxergar os diversos desperdícios ocultados nas grandes entre- gas; • Evita a procrastinaç ão de prazos.

    9.1 Foco na qualidade é o ponto-chave A qualidade é o ponto-chave para entregar com frequência. Os testes auto- matizados e a integraç ão contínua são essenciais para agilizar os builds das entregas com alta qualidade no software. Pequenas entregas maximizam os

    Página 72

    Casa do Código Capítulo 9. Liberaç ão frequente de pequenas entregas benefícios da abordagem iterativa e incremental, evoluindo o software em pe- quenos pedaços. Times extremos conseguem desenvolver uma entrega a cada iteração ou a cada dia, tal como no conceito de entrega contínua [20].

    Quando isso não for possível, as iterações auxiliarão no acompanhamento do andamento do desenvolvimento da release. De qualquer modo, se não houver um ótimo nível de qualidade em cada build do software, mais e mais defeitos voltarão e menos se poderá entregar nas próximas releases. O foco na qualidade é essencial para entregas pequenas e frequentes.

    9.2 Releases tudo ou nada Ok, sabemos que alguns sistemas sãotudo ou nada; ou seja, para colocar em uso efetivo é necessário que se faç a uma grande entrega. Entretanto, até para esses sistemas é valioso pensar se há algum modo de quebrá-los em entregas menores. As solicitações de mudan ça virão naturalmente quando o usuário utilizar o software, então é melhor ter um processo já orientando a mudanças.

    Entregas grandes não combinam com um planejamento ágil orientado a mu- danças. Lembre-se do quarto valor do Manifesto Ágil:responder a mudanças mais que seguir um plano.

    Quanto mais tempo aguardamos para liberar uma funcionalidade aos usuários, menos tempo você terá e mais complexo será para adaptá-la ou corrigi-la. Na visão enxuta [41], a liberaç ão frequente de pequenas entregas diminui consideravelmente os desperdícios de estoque, defeitos e tempo de espera (do cliente). Isso gera fluidez e reduz o tempo de ciclo das entregas (tempo entre o fim ou o início de produç ão de dois itens). Continuamente, persista na tentativa de diminuir o tamanho de suas entregas.

    Página 73

    Página 74

    Capítulo10 Ojogodoplanejamento “Planos não são nada. Planejamento é tudo.”

    –Dwight David “Ike” Eisenhower Você já trabalhou em um projetomarcha da morte[65] que é destinado a falhar e que você não podia nem sequer dar opiniões técnicas? Um projeto com tantos problemas que parecia uma bola de neve despencando montanha abaixo? No XP, isso não acontece.

    O jogo do planejamento envolve os clientes e os desenvolvedores para pla- nejarem as entregas de uma forma colaborativa. Também chamado derelease planning, o nome jogomostra a essência da dinâmica: tratar o planejamento como um jogo que contém um objetivo, jogadores, peças e regras. Seu re- sultado é maximizado por meio da colaboraç ão de todos os jogadores. Ele agrega todo o processo necessário para a entrega de software como a escrita de histórias de usuário, a priorizaç ão pelo cliente e a criaç ão das estimativas.

    Página 75

    10.1. Definindo o jogo e suas regras Casa do Código Visto que o trabalho de planejamento é encarado como um jogo, então quem seria o adversário? Talvez você pense que é o cliente. Errado! Ele é o maior interessado no sucesso do projeto. Afinal, já investiu tempo e dinheiro.

    O adversário está justamente no desafio em se conseguir entregar o melhor produto, dados as variáveis de projeto (prazos, custos,time-to-marketetc.).

    As pessoas de negócio definem o escopo, a prioridade, a composiç ão e as datas das entregas. As decisões de negócio têm suporte das pessoas de desenvolvimento. Estas tomam decisões técnicas por meio de estimativas e de análises de consequências técnicas no negócio, e decidem seu processo de trabalho. Tanto o Negócio quanto o Desenvolvimento têm voz nas decisões das entregas. Não há bola de neve no XP. 🙂 O desenvolvimento iterativo e incremental é utilizado no jogo do planeja- mento. Os incrementos são definidos no planejamento de releases; e as itera- ções, no planejamento de iterações. Cada incremento representa uma entrega de valor em produç ão ao cliente, sendo desenvolvido em uma ou mais itera- ções. A divisão em iterações auxilia o time a quebrar as entregas em pedaços menores para planejamento e feedback de um modo simples e ágil.

    Nas próximas seções, definiremos o jogo como um todo, com suas re- gras e comprometimentos. Falaremos também sobre como manter o foco e a aprendizagem no planejamento.

    10.1 Definindo o jogo e suas regras Os jogos e as regras do jogo do planejamento são:

    •Objetivo:maximizar o valor do software produzido pelo time; ou seja, colocar em produç ão a maior quantidade de histórias de usuário com maior valor ao longo do projeto.

    •Estratégia:o time deve investir o menor esforço para colocar a funci- onalidade de maior valor em produç ão tão rápido quanto possível, em conjunto com estratégias de projeto e programaç ão para reduzir o risco.

    Dividir para conquistar é a estratégia utilizada ao dividir o software em entregas frequentes, e cada entrega em iterações pequenas.

    Página 76

    Casa do Código Capítulo 10. O jogo do planejamento •As peças:as peças básicas do jogo são histórias de usuário e as tarefas de implementaç ão. As histórias são as peças no planejamento das releases; já as tarefas, no planejamento das iterações.

    •Os jogadores:as pessoas do Desenvolvimento e as pessoas de Negócio.

    •Os movimentos:as regras dos movimentos existem para lembrar a to- dos de como eles gostariam de agir em um melhor ambiente com con- fiança mútua e dar uma referência para quando as coisas não estiverem indo bem.

    10.2 Entendendo regras e comprometimentos Os movimentos do jogo são dados por suas regras e são divididos em duas partes: a primeira trata dos movimentos para as entregas (planejamento de releases); a outra dos movimentos para as iterações (planejamento de itera- ções), conforme apresentado na figura a seguir.

    Página 77

    10.2. Entendendo regras e comprometimentos Casa do Código Fig. 10.1: Movimentos do jogo do planejamento divididos entre o planeja- mento de releases e de iterações Planejamento de releases Para uma release, o jogo do planejamento define as regras para o cliente direcionar o desenvolvimento na frequência de uma a três semanas. Seus mo- vimentos para uma release são dados em três fases:Exploraç ão,Comprome- timentoeDirecionamento.

    Exploraç ão:ambos os jogadores descobrem novos itens que o sistema pode fazer, dividindo-se em três movimentos:

    •Escrever uma história de usuário:o Negócio escreve algo que o sistema deverá fazer; •Estimar uma história de usuário:o Desenvolvimento estima o tempo ideal de programaç ão para implementar a história;

    Imagem 1 da página 77 (sem descrição)

    Página 78

    Casa do Código Capítulo 10. O jogo do planejamento •Quebrar uma história de usuário:caso o Desenvolvimento não con- siga estimar a história ou sua estimativa for muito grande, o Negócio identifica sua parte mais importante para que o Desenvolvimento possa estimá-la e desenvolvê-la. Spikes podem ser utilizados para melhorar a estimativa da história (vide capítulo11).

    Comprometimento:o Negócio decide o escopo e o tempo para a pró- xima entrega de acordo com as estimativas, e o Desenvolvimento se compro- mete com a entrega, dividindo-se em quatro movimentos:

    •Ordenar por valor:o Negócio separa as histórias em três categorias:

    as essenciais; as menos essenciais, mas de alto valor; e as que seriam agradáveis de se ter; •Ordenar por risco:o Desenvolvimento separa as histórias em três ca- tegorias: aquelas que podem ser estimadas com precisão, aquelas que podem ser estimadas razoavelmente bem, e aquelas que não podem ser estimadas de qualquer modo; •Ordenar por velocidade:o Desenvolvimento mostra ao Negócio quanto de tempo ideal de programaç ão o time poderá trabalhar em um mês do calendário; •Selecionar escopo:o Negócio escolhe as histórias para a entrega (traba- lhando por tempo) ou uma data para as histórias a serem desenvolvidas (trabalhando por escopo), utilizando as estimativas realizadas pelo De- senvolvimento.

    Direcionamento:o plano é atualizado no que foi aprendido pelo Negócio e pelo Desenvolvimento, dividindo-se em quatro movimentos:

    •Iteração:a cada iteraç ão (uma a três semanas), o Negócio seleciona uma com as histórias de maior valor a serem implementadas; •Recuperação:caso o Desenvolvimento descubra que sua velocidade foi superestimada, ele pode pedir ao Negócio para encaixar apenas as his- tórias de maior valor de acordo com a nova velocidade;

    Página 79

    10.2. Entendendo regras e comprometimentos Casa do Código •Nova história:caso o Negócio descubra uma nova história a ser adi- cionada à entrega que já está sendo desenvolvida, ele pode escrevê-la, o Desenvolvimento estimá-la, e, então, trocá-la por outra selecionada pelo Negócio; •Reestimar:caso o Desenvolvimento descubra que o plano não é exato, ele pode reestimar todas as histórias restantes.

    Planejamento de iteraç ões As peças são as tarefas de implementaç ão e os jogadores são os programa- dores. As decisões sobre as iterações são mais flexíveis em questão de escopo e de prazos, pois dependem mais do Desenvolvimento; enquanto as sobre entregas dependem mais do Negócio. Suas fases são semelhantes às de uma entrega:Exploraç ão,ComprometimentoeDirecionamento.

    Exploraç ão:o Desenvolvimento cria suas tarefas e identifica o tempo de trabalho, dividindo-se em três movimentos:

    •Escrever uma tarefa:transformar as histórias da iteraç ão atual em tare- fas; •Quebrar ou unir tarefas:caso a tarefa esteja grande demais, quebre- a em tarefas menores. Caso ela esteja pequena demais, una-a a outra relacionada; •Estabeleça um fator de carga:cada programador escolherá seu fator de carga para a iteraç ão, o qual é a porcentagem de tempo que ele real- mente estará desenvolvendo; ou seja, é removido o tempo em que se realiza outras, tais como reuniões do time.

    Comprometimento:o Desenvolvimento compromete-se com suas tare- fas, dividindo-se em três movimentos:

    •Aceitar uma tarefa:o programador puxa a tarefa para si e aceita a res- ponsabilidade por ela; •Estimar a tarefa:o programador responsável pela tarefa a estima em Dias Ideais de programaç ão;

    Página 80

    Casa do Código Capítulo 10. O jogo do planejamento •Balanceamento:cada programador soma suas tarefas e multiplica pelo fator de carga, balanceando sua carga de trabalho, caso esteja maior ou menor do que a estabelecida.

    Direcionamento:o Desenvolvimento desenvolve as tarefas para verificar a história, dividindo-se em quatro movimentos:

    •Implementar uma tarefa:o programador pega o cartão da tarefa, encon- tra um par para programar, desenvolve a tarefa com TDD (Desenvol- vimento Guiado por Testes) e ao final integra o código fazendo passar a suíte de teste relacionada; •Registrar progresso:a cada dois ou três dias, um membro do time atua- liza o andamento das tarefas de cada membro, com o tempo gasto e o tempo que falta para cada tarefa; •Recuperação:programadores que ficaram sobrecarregados pedem ajuda reduzindo o escopo das tarefas, reduzindo o escopo das histórias, removendo aquelas não essenciais ou pedindo ao cliente para postergar a história para outra iteraç ão; •Verificar a história:caso estiverem prontos, rodar os testes funcionais para as tarefas que já foram concluídas, complementando a suíte de testes funcionais com os novos casos de testes; As histórias de usuários são estimadas antes de serem desenvolvidas. Já na iteraç ão, o programador pega a tarefa para si e depois a estima. Nem todas estarão ligadas diretamente com o Negócio, mas sim com as necessidades do Desenvolvimento; por exemplo, para configurar um servidor de integraç ão.

    10.3 Mantendo o foco Você lembra-se do objetivo do jogo do planejamento? Maximizar o valor do software construído pelo time para o cliente é o foco do jogo. É impor- tante que todos participem (Desenvolvimento e Negócio) com colaboraç ão.

    A simplicidade (a arte de maximizar a quantidade de trabalho não realizado)

    Página 81

    10.4. Todo momento é um momento de aprendizado Casa do Código é essencial para o feedback contínuo, sendo importante também para o time sentir-se valorizado por fazer entregas frequentes de valor. O Desenvolvi- mento e o Negócio devem manter um ritmo sustentável e constante de traba- lho para manter o foco.

    10.4 Todo momento é um momento de aprendi- zado No jogo do planejamento, até quando se erra, aprende-se. O erro não é visto como algo ruim, desde que se aprenda com ele. Quando o time reconhecer que superestimou sua velocidade, ele deve comunicar ao Negócio para rear- ranjar as histórias dentro de sua nova velocidade. Quando houver problemas com as estimativas, devem-se reavaliar essas estimativas das histórias. É pre- ciso ter coragem para buscar um processo que seja transparente. A comuni- cação e o feedback são importantes para que os dois jogadores aprendam a melhor forma de maximizar o jogo.

    Página 82

    Capítulo11 Spikesdeplanejamento “Algumas vezes, a melhor maneira de resolver um problema é ir para casa, jantar, assistir TV, ir para a cama, e, então, acordar na manhã seguinte e tomar um banho.”

    –Robert C. Martin Os spikes de planejamento fazem parte de uma prática que ajuda o time a gerar o conhecimento necessário para estimar as histórias de usuários cor- retamente, diminuindo, assim, o risco no planejamento [39]. O objetivo é aumentar a confiança para um bom jogo do planejamento. Um spike é um programa muito simples para explorar soluções potenciais [59].

    Faça spikes arquiteturais para descobrir respostas em dificuldades técni- cas e em problemas de design, ou para conhecer novas tecnologias (APIs, frameworks, ferramentas, linguagens de programaç ão etc.). Quando uma di- ficuldade técnica importante surgir, deixe um par de desenvolvedores fazer

    Página 83

    11.1. Jogue fora o código gerado no spike Casa do Código uma por alguns dias até ter certeza suficiente sobre sua soluç ão.

    Por ser uma tarefa a ser realizada, os spikes podem ser estimados. Por- tanto, trata-se de um momento planejado, garantindo-se que será feito du- rante uma iteraç ão. Preferencialmente, faç a-o em uma iteraç ão e somente desenvolva a história de usuário relativa na próxima. Lembre-se que ele serve para diminuir o risco da estimativa que servirá no próximo planejamento, e também não se esqueça denão aproveitarseu código.

    11.1 Jogue fora o código gerado no spike Trate o spike como um experimento e assuma que seu código será jogado fora. Vá direto ao ponto para resolver a incerteza. Ele serve para saber como resolver um problema, e não para produzir um código (de produç ão) que o resolva [54]. Não tente criar programas úteis ou reutilizáveis em produç ão.

    O spike serve para aprendizado, uma vez que se trata de uma prática para descoberta. Por isso, ignore todas as preocupações no entorno da questão.

    Vale fazer um paralelo neste ponto. A prototipaç ão é uma técnica de en- genharia de software para a descoberta de requisitos com a avaliaç ão do cli- ente. Normalmente, o protótipo é jogado fora, porque é lento, o código não é funcional e serve apenas para a descoberta, a validaç ão e o refinamento dos requisitos.

    Semelhante a essa técnica, o spike é um método para a descoberta de so- luções com a avaliaç ão técnica, que, inclusive, também tem seu código jogado fora.

    Dica:spike é exceção,não regra Essa prática é para ser utilizada apenas quando necessária, sendo uma exceção, não uma regra. Toda estimativa de história de usuário possuirá incertezas e riscos; isso é intrínseco da complexidade de desenvolver soft- ware.

    Página 84

    Capítulo12 Projetosimplesdoinícioaofim “Simplicidade é mais complicada do que você pensa. Mas ela é bem valiosa.”

    –Ron Jeffries Obter um projeto simples não é uma tarefa fácil; porém, manter a simpli- cidade agiliza no desenvolvimento de novas funcionalidades e na resposta a mudanças. O projeto simples está presente em todas as fases do XP. A simpli- cidade é abordada de um modoextremo. Ele come ça assim e mantém-se por meio de testes automatizados e refatoraç ão.

    Tentar prever o futuro éantiXP. Nenhuma funcionalidadeadicionalé im- plementada, pois desvia do caminho da soluç ão e aumenta a complexidade do software. Apenas tenha cuidado com as dívidas técnicas que poderão ser ge- radas, ou com funcionalidades inacabadas. A programaç ão em pares evita o design extra, porque um membro da dupla não vai querer esperar que o outro desenvolva coisas sem relevância.

    Página 85

    12.1. MVP: produto mínimo viável Casa do Código Para termos um código limpo, a refatoraç ão é necessária, assim evitando oscode smells(maus cheiros) nele. Um código é simples [30] quando:

    • Roda todos os testes; • Expressa todas as ideias necessárias; • Não contém código duplicado; • Possui a menor quantidade de classes, métodos e variáveis; • É conciso e legível.

    Em todos os níveis de granularidade de software deve-se pensar na sim- plicidade; ou seja, do código ao produto. Quando o projeto simples atinge o produto, temos o conceito do produto mínimo viável, detalhado a seguir.

    12.1 MVP:produto mínimo viável “Simplicidade a arte de maximizar a quantidade de trabalho não realizado é essencial.”

    –Décimo princípio do Manifesto Ágil Ter o projeto simples é essencial para criar um MVP. O MVP (do inglês, Minimum Product ViableProduto Mínimo Viável) possui a maior quantidade de funcionalidades de valor na menor entrega possível, sendo suficiente para o cliente utilizar e dar feedback ao desenvolvimento.

    A expressãoYAGNI(do inglês,You’re Not Gonna Need ItVocê não pre- cisará disso) lembra todos a desenvolver somente o necessário nas histórias atuais, até no caso de que se saiba que será necessário no futuro.

    Menos é mais.A simplicidade tem foco no desenvolvimento da essência do software. Pequenas entregas de valor representam muito do que o cliente necessita. Alguns programadores (não XP) adoram entregar algo a mais ao cliente; já osextremosnão fazem isso. Programadores XP mantêm o projeto simples do início ao fim.

    Página 86

    Casa do Código Capítulo 12. Projeto simples do início ao fim Dica: MVPé estratégia de entrega Para trabalhar com MVP é preciso ter uma estratégia na evoluç ão das entregas. Um ótimo exemplo real é o de uma equipe que, na primeira iteração, desenvolveu somente o algoritmo necessário e entregou apenas uma planilha com os resultados que o cliente precisava em seu negócio.

    Na duas próximas, a equipe complementou as regras nesse algoritmo e desenvolveu a interface com o usuário. O MVP entregue na primeira iteração resolveu a maior parte do problema do cliente! A estratégia para entregar o que restava nas duas próximas iterações completou o trabalho, deixando-o muito satisfeito.

    Página 87

    Página 88

    Capítulo13 Metáforadesistema “98% de nosso pensamento está realmente acontecendo em um nível inconsciente, grande parte através de metáforas.”

    –Esther Derby Metáforas em geral estão no nosso cotidiano. No dia a dia, frequente- mente as usamos para expressarmos ideias de um modo mais simples, fácil e rápido; tentamos encontrar algo semelhante que a pessoa já conheça para ela conseguir entender o que queremos explicar.

    No mundo da computaç ão, fazemos uso de ainda mais metáforas. Você trabalha com documentos, arquivos, pastas e ferramentas em suaárea de tra- balhodo computador. Você já deve ter comprado na internet por meio de umcarrinho de compras. Talvez você já tenha implementado um algoritmo percorrendo uma árvore em largura ou em profundidade; ou já tenha resol- vido umadívida técnicaem seu software. Quem sabe você já enviou um build

    Página 89

    13.1. Descobrindo uma boa metáfora Casa do Código para opipelineda integraç ão contínua, ou então participou de um debate em forma defishbowl.

    No XP, a metáfora de sistema traz uma visão comum que auxilia o time e o cliente a entender os elementos do sistema. Ela funciona como umpat- ternde alto nível e explica seu design sem uma documentaç ão pesada. Ela é semelhante à linguagem ubíqua, porém, enquanto esta se concentra em uma linguagem comum entre o negócio e os desenvolvedores, aquela foca na lin- guagem da arquitetura da soluç ão.

    O nascimento dessa prática deu-se no sistema de folha de pagamento da Chrysler [9]. A metáfora era de uma fábrica paraproduziro salário, onde as caixas desciam em uma linha de montagem para serem montadas. As caixas são as partes do salário a serem montadas em um item apenas: o salário do funcionário. Um outro exemplo é o de James Shore em seu primeiro projeto XP, que era dedata warehouse(armazém de dados) [53], cujos nomes das clas- ses do sistema utilizavam a metáfora de uma empilhadeira em um armazém.

    Muitas pessoas ignoram o uso dessa prática por não conhecerem sua uti- lidade. Uma metáfora de sistema ajuda a padronizar os nomes dos objetos para entendê-lo e também auxilia a reutilizar códigos. Desse modo, o desen- volvedor pode descobrir se algum objeto já existe no software e decidir onde é o melhor local para colocá-lo. Por trazer um vocabulário compartilhado, é uma excelente fonte de comunicaç ão entre a equipe e pode facilitar também na discussão das estimativas. Apenas uma boa metáfora pode ser realmente efetiva.

    13.1 Descobrindo uma boa metáfora Não é fácil encontrar uma metáfora útil para todo sistema [35]. Ela é repre- sentada por um domínio bem entendido por todos (domínio fonte), para des- crever os objetos e o funcionamento do domínio do sistema (domínio alvo).

    Descobrir uma metáfora é uma tarefa criativa; o segredo está em achar um domínio fonte que facilite o entendimento do domínio alvo. Pelo fato de todas serem inexatas, reexamine continuamente a metáfora atual, já que ela pode possuir uma extensão maior ou ser inadequada; esteja pronto para

    Página 90

    Casa do Código Capítulo 13. Metáfora de sistema deixá-la caso isso ocorrer [19].

    Joshua Kerievsky define os três Is da metáfora: Iluminaç ão, Inspiraç ão e Integridade [35]. Uma boa metáfora auxilia a iluminar odesign, inspirar novas ideias e ajudar a sentir que o projeto do sistema está coerente, encaixando-se bem em conjunto. Deve-se buscar uma que contenha esses três itens.

    Página 91

    Página 92

    Capítulo14 Reuniãodiáriaempé “Ter as melhores ideias, o código mais afinado, ou o pensamento mais pragmático é, em última instância, estéril, a menos que você possa se comunicar com outras pessoas.”

    –Andy Hunt & DaveThomas Você já participou de reuniões longas e improdutivas? A resposta é tão óbvia que até parece uma pergunta boba. Reuniões estão no topo da lista de coisas entediantes que desperdiç am o tempo da maioria dos desenvolvedores.

    Para o time no XP, as reuniões diárias em pé do inglêsDaily Stand Up Meetingsão focadas e rápidas, ocorrem no começo do dia e duram até quinze minutos. Seu formato físico é simples: todos de pé formam um círculo e cada pessoa tem a sua vez de falar no sentido horário (ou anti-horário). Ela faz com que o time mantenha-se alinhado, trocando conhecimento constantemente.

    Página 93

    14.1. Time alinhado Casa do Código Ao começar a fazê-las, diversos erros comuns podem ocorrer. Neste capítulo, traremos um catálogo deles.

    14.1 Time alinhado Cada membro do time responde sucintamente três questões básicas:

    • O que eu fiz ontem?

    • O que eu farei hoje?

    • O que há de problemas no meu caminho?

    Dica:vinte segundos por questão e por participante Uma dica é que cada uma das três questões não deva necessitar mais do que vinte segundos para ser respondida [43]. Desse modo, cada par- ticipante não precisa mais que um minuto para falar e um time de dez pessoas levará dez minutos ou menos de reunião.

    O propósito da reunião é a comunicaç ão do time inteiro. Em todo começo de dia, ele comunica seus problemas, suas soluções e promove a colaboraç ão.

    Reuniões curtas com todo o time são mais efetivas do que diversas reuniõescom pedaços dele. O planejamento diário sincroniza seu trabalho e suas ex- pectativas, discutindo-se as tarefas realizadas e as tarefas a realizar.

    14.2 Troca de conhecimento Na reunião diária, cada indivíduo sabe o que o outro está trabalhando e se possui problemas relacionados a isso. Qualquer membro do grupo pode pe- dir e oferecer ajuda ao outro, tanto em dúvidas de negócio, quanto de técnicas.

    Mesmo que cada programador puxe as tarefas das quais tem conhecimento suficiente para desenvolver, algumas virão somente durante seu desenvolvi- mento. Muitas vezes, algo que foi dito na reunião servirá como referência no futuro. Uma boa forma para pedir ajuda é parear (programar em pares) com

    Página 94

    Casa do Código Capítulo 14. Reunião diária em pé a pessoa referente ao assunto em questão. Assim, o aprendizado e a troca de conhecimento tornam-se constantes e colaborativos.

    14.3 Como começar?

    O ideal é começar as diárias desde o primeiro dia da primeira iteraç ão cri- ada no jogo do planejamento. A cultura de experimentaç ão é essencial para começar, visto que, raramente, uma diária sai certa pela primeira vez em um time recém-formado. Por mais que ele seja excelente, deve-se entender que o grupo está em formaç ão e algumas coisas terão de ser adaptadas e melho- radas. Temporariamente, um alarme pode ser usado para ajudar a lembrá-lo do horário do começo e do fim da reunião. Fique atento aos erros comuns listados a seguir e melhore continuamente as reuniões diárias em pé.

    14.4 Erros mais comuns de uma reunião em pé “Ao longo dos anos, eu tenho desenvolvido uma simples regra: quando a reunião fica entediante, saia.”

    –[ref the-clean-coder A reunião diária em pé não existe para desperdiç ar tempo, mas o con- trário; ela substitui outras reuniões para ganhar-se tempo. Porém, é neces- sário conhecer os erros mais comuns para identificá-los quando ocorrerem.

    O coach deve ter conhecimento suficiente para ajudar o time a detectá-los e resolvê-los.

    Os erros mais comuns em reuniões diárias em pé são:

    •Reunião de status:a diária não é uma reunião destatus reportingpara uma pessoa, tal como um coordenador ou gerente. Caso seja neces- sário, a dica é realizá-la após alguém fazer ostatus reporting, possivel- mente oTracker.

    •Discutir soluções:um dos propósitos dessa reunião é identificar pro- blemas, não resolvê-los. A dica é continuar com a reunião diária, dei- xando a conversa sobre as soluç ão para depois dela.

    Página 95

    14.4. Erros mais comuns de uma reunião em pé Casa do Código •O time não vê valor:isso pode ocorrer quando um time ágil está se formando. A dica é levantar esse problema na próxima reunião de re- trospectiva do time. Não postergue.

    •Não ter um horário fixo:todos do time precisam saber o horário fixo diário da reunião para segui-lo estritamente. O horário da diária deve ser sagrado. Uma dica é ter o papel do “chato da diária”; uma pessoa eleita para lembrar do horário e dar um toque caso a reunião demore ou perca o foco. Outra dica: um despertador ajuda a lembrar o time.

    •Sem local dedicado:é importante manter um único lugar para que o time faç a a diária, de preferência ao próprio local de trabalho. A dica é fazer a reunião próximo ao quadro de histórias e tarefas para a gestão visual.

    •Não saber ouvir:para uma boa comunicaç ão, é necessário saber falar e também ouvir atentamente. Uma dica é ter umtokenpara chamar a atenção de todos. Ele pode ser qualquer objeto que chame a aten- ção. Se for um objeto engraç ado, fica mais fácil de pedir a atenção de todos. Já vimos equipes utilizando canetas de quadro, apagadores, guarda-chuvas e até garrafa de óleo diesel (em uma empresa de refina- ria).O token é como uma bengala: é para ser temporário até que o time caminhe bem nas diárias.

    •Não fazer a reunião, porque um indivíduo está ausente:é melhor ter uma reunião sem um membro do time do que não tê-la. A dica é simples: apenas faç a a reunião.

    •Não ficar de pé:uma dica de produtividade é fazer com que todos os participantes fiquem de pé na reunião para que ela seja rápida e tenha foco. Isso faz com que as pessoas prestem mais atenção nas outras. Reu- niões improdutivas com elas sentadas fazem com que seja confortável a participaç ão. Caso ela perca o foco, as pessoas ficarão cansadas e logo vão querer dar um jeito de realinhar e finalizá-la.

    Página 96

    Casa do Código Capítulo 14. Reunião diária em pé Lembrete!

    A comunicação é o maior propósito do time XP na reunião em pé diária.

    Página 97

    Página 98

    Capítulo15 Possecoletiva “Myyy PRECIOUSSS.”

    –Gollum, no filme O Senhor do Anéis Posse coletiva é uma prática indispensável no XP, pois envolve colabora- ção, comunicaç ão e feedback. Com a posse coletiva, qualquer membro ou par do time pode implementar uma funcionalidade, arrumar um bug ou refato- rar em qualquer parte do código, a qualquer momento. No XP, todos têm a responsabilidade pelo sistema. Isso encoraja cada membro do time a sentir- se responsável pela qualidade do todo. É claro que nem todos saberão sobre todas as partes igualmente, mas todos saberão, ao menos, um pouco de cada parte do sistema.

    O termo original no livro do eXtreme Programming [6] é collective ow- nershipe não apenascode ownership, porque todos os artefatos no desenvol- vimento são de posse coletiva do time, não só o código. Além dele, a suíte de

    Página 99

    15.1. My precious! Casa do Código testes é também de propriedade coletiva, assim como o ambiente de integra- ção contínua e os executáveis do build.

    Quando um par do time encontra uma oportunidade de melhorar o có- digo, ele pode tranquilamente refatorar e melhorar seudesign. A posse cole- tiva gera bastante sinergia com as outras práticas do XP, e o versionamento com a integraç ão contínua avisará a todos o que está sendo alterado.

    O trabalho em time com a posse coletiva encoraja a difusão de ideias e de conhecimento. A programaç ão em par ajuda a distribuir esse conhecimento por meio do aprendizado entre os membros do grupo, deixando a posse cole- tiva mais refinada. Porém, para tudo isso funcionar, é necessário que nenhum integrante ache que é o dono de partes do sistema. É preciso colaboraç ão.

    15.1 My precious!

    Você assistiu ao filmeO Senhor dos Anéis? O personagem Gollum (ou Sméa- gol) chamava o anel demy precious(em português, “meu precioso”). Não faç a isso com oseucódigo. Deixe seu time colaborar! O objetivo é evitar as ilhas de conhecimento, reduzindo o risco de depender apenas de uma pessoa. A posse coletiva é um benefício para todos os membros (cada um poderá sair de férias ou tirar uma folga com mais tranquilidade por não dependerem tanto dele, por exemplo).

    Quando a posse não é coletiva, somente uma pessoa é dona do código e os programadores devem submetê-lo para revisão e aprovaç ão. Isso é, basi- camente, o oitavo desperdício no Lean [41], que é relativo ao capital humano e à criatividade dos funcionários. Consequentemente, isso gerará diversos outros desperdícios: espera (o time aguardará a revisão do dono do código); transporte (enviar o código ao dono); defeito (nem toda a decisão do dono será a melhor); superprocessamento (a revisão para controle pelo dono do código); e estoque (a fila de itens a revisar pelo dono).

    Uma pessoa é notavelmente um gargalo no time ou no processo quando não consegue atender todas suas demandas e cria estoque de tarefas, nas quais ninguém pode ajudar. E atenção: qualquer membro poderá sair da empresa a qualquer momento, o que pode impactar no negócio do cliente.

    Página 100

    Casa do Código Capítulo 15. Posse coletiva Reflexão!

    Faça uma reflexão: quantas pessoas são necessárias faltar ao trabalho para que o sistema não possa mais ser desenvolvido? Quanto menor o número, pior será a situaç ão. A posse coletiva aumenta esse número ao máximo, ou seja, ao tamanho da equipe.

    Página 101

    Página 102

    Capítulo16 Padrãodecodificaç ão “A quantia de tempo gasto lendo código versus escrevendo é bem mais de 10 para 1. Então, fazer o código mais fácil de ler, o torna mais fácil de escrever.”

    –Robert C. Martin Pelo fato de todos no time XP estarem trabalhando juntos em cada parte do sistema, refatorando código e trocando de pares frequentemente, não se pode haver diferentes formas de codificaç ão. Um padrão torna-se necessário, pois deve facilitar a comunicaç ão entre o time, encorajando a posse coletiva, e evitando problemas na programaç ão em pares e na refatoraç ão.

    O padrão deve ser estabelecido e concordado pelo time, pois faz com que todos o utilizem efetivamente. Caso contrário, a equipe ficará insatisfeita e evitará ao máximo seu uso. Sua existência vale muito mais do que a sua forma, porque ele pode ser revisto e evoluído de acordo com seu uso.

    Página 103

    16.1. Pequenos projetos também se beneficiam? Casa do Código Algumas linguagens de programaç ão já propõem padrões de codificaç ão, e também é comum uma organizaç ão ou um produto estabelecê-los. Na lin- guagem Java, a Sun estabeleceu em 1997 oJava Code Conventions(Conven- ções de Código Java) [46], válido até os dias atuais. A Google define seus pró- prios guias de estilos para diversas linguagens, como: C++, Java, Objective-C, Python, Shell, HTML/CSS, JavaScript, e Lisp [29]. O kernel do Linux também define seu estilo de codificaç ão [58].

    Imagine centenas ou milhares de programadores produzindo código para um único software sem padronizaç ão? Seria o caos! O kernel do Linux prova- velmente teria tantosbugsque se tornaria inutilizado. O Free Software Foun- dation também define padrões de codificaç ão para seus programas GNU [21], descrevendo o melhor uso da linguagem C, padrões para interfaces, para li- nha de comando, para documentaç ão e para asreleases.

    Ok, esses são projetos grandes. Mas e os projetos pequenos? É o que discutiremos logo a seguir.

    16.1 Pequenos projetos também se beneficiam?

    Certamente, pequenos projetos com times pequenos se beneficiarão com pa- drões de codificaç ão. Ok, alguém ainda pode não ter se convencido e pensar que isso é necessário apenas para grandes projetos. Veja a seguir como um pequeno código pode causar problemas.

    Falta de padronizaç ão de código Sem uma padronizaç ão, um programador pode fazer tranquilamente qualquer um dos quatro códigos mostrados na sequência para calcular o mó- dulo de um número na variávela(o péssimo nome é proposital não te- mos um padrão nesse momento). Esses quatro exemplos vêm da combinaç ão de duas variações: ter uma condiç ãoifcom o bloco interno de código na mesma linha ou não, e ter chaves ou não.

    Condição com bloco interno na mesma linha:

    •Com chaves:

    if(a<= 0) {a= -1 *a; }

    Página 104

    Casa do Código Capítulo 16. Padrão de codificaç ão •Sem chaves:

    ifa a= -1 *a; Condição com bloco interno na próxima linha:

    •Com chaves:

    if(a<= 0) { a= -1 *a; } •Sem chaves:

    if(a<= 0) a= -1 *a; Ok, sem muitos problemas até então, pois fizemos apenas duas variações nesse pequeno trecho de código. Porém, e se variarmos em mais formas? Se as chaves serão indentadas ou não, se teráelse, se usaremos nomes de va- riáveis sem significado (letraa) ou não. Com isso, teremos mais 3 tipos de variações, totalizando 5 tipos em 32 formas de codificaç ão. Além disso, cer- tamente existem outras mais. Programadores têm suas preferências de estilos ao programar, e essa variabilidade tenderá ao infinito. Então, sem uma pa- dronizaç ão de código, haverá retrabalho, discussão e estresse, mesmo em um pequeno projeto.

    16.2 Como definir?

    Antes de tudo, tente começar com algo que já exista. Pesquise se há um padrão de codificaç ão na sua empresa ou se há algum definido pela linguagem ou tecnologia utilizada. Caso positivo, comece por isso, permitindo que o time revise e aprimore-o. Caso não exista, reúna o grupo inteiro para defini-lo.

    Ninguém melhor que ele próprio para padronizar seu próprio código.

    Para descrever um padrão de código, diversos itens podem ser conside- rados:

    Página 105

    16.2. Como definir? Casa do Código • Nomenclatura de variáveis; • Nomenclatura de métodos; • Nomenclatura de classes; • Nomenclatura de pacotes; • Indentaç ão da tabulaç ão; • Indentaç ão de chaves; • Indentaç ão das estruturas condicionais; • Uso de parênteses em expressões; • Uso de letras maiúsculas e minúsculas; • Uso deelsenoif; • Uso dedefaultnoswitch; • Uso de tratamento de exceções; • Uso de estruturas de dados específicas; • Importaç ão de classes e bibliotecas; • Diretrizes de Orientaç ão a Objetos; • Uso de padrões de projeto; • Boas práticas de programaç ão; • Comentários de código; • Comentários noscommits; •Logging; • Detalhes específicos da linguagem de programaç ão; • Detalhes específicos do ambiente de desenvolvimento.

    Página 106

    Capítulo17 Programaç ãoempar “Dados olhos suficientes, todos os erros são óbvios.”

    –Lei de Linus, Eric Steven Raymond Sabe-se que revisão por pares (peer review ) é uma boa prática de desen- volvimento que aumenta a qualidade do software e a colaboraç ão no time.

    Visto que é produtivo, que tal programar e revisar em pares o tempo inteiro?

    No XP, todo o código de produç ão é criado por programaç ão em par (pair programming). Isso significa ter duas pessoas piloto e copiloto trabalhando juntas em apenas um computador, com foco em uma única tarefa e ao mesmo tempo. O que o XP indica é programar em par quando o código de produç ão for escrito. Não necessariamente se deve programar em par 100% do tempo, pois atividades, como pesquisas e leituras, não têm essa necessidade.

    Os nomes dos papéis de um par vêm da metáfora da aviaç ão: piloto e copiloto (ou navegador). O piloto programa, enquanto o copiloto acompa-

    Página 107

    17.1. Diversos benefícios Casa do Código nha e cuida de tudo o que está sendo realizado, pensando em casos de testes, desde o padrão de codificaç ão até questões de arquitetura. A troca de papéis é essencial para colaboraç ão e partilha de conhecimento.

    Trabalhar dia a dia ao lado de um colega exige habilidades sociais que levam tempo em aprender, porém aumenta a cooperaç ão no time, indepen- dente do status da função de cada integrante. Programaç ão em par não é mentoria, uma vez que é um trabalho colaborativo entre ambas as partes, in- dependente de terem muita diferença nas experiências. Não é aceitável dizer O design que você fez possui um erro, mas sim O design que nós fizemos possui um erro.

    Nas seções deste capítulo, falaremos sobre os diversos benefícios desse tipo de programaç ão, assim como discutiremos o que gestores podem pensar sobre seu custo. Veremos também sobre a pressão do par durante o desenvol- vimento, o nivelamento do conhecimento entre a dupla e como começar (com dicas sobre pareamento e o ambiente de trabalho). Além disso, pergunto: por que não trabalhar em par em todos os tipos de tarefas? 🙂 17.1 Diversos benefícios Diversos benefícios são conhecidos nopareamento[62]:

    •Revisão de código contínua:muitos erros são pegos quando eles es- tão sendo codificados, em vez de serem descobertos por um testador, tornando a quantidade de erros consideravelmente menor; •Discussão contínua da solução:o design é aprimorado e o código fica mais sucinto; •Afinamento do par:o time resolve problemas mais rapidamente por estar coeso também em pares; •Aprendizagem:as pessoas aprendem significativamente sobre o sis- tema e sobre engenharia de software; •Gestão do conhecimento:o projeto acaba com várias pessoas enten- dendo cada pedaço do sistema;

    Página 108

    Casa do Código Capítulo 17. Programaç ão em par •Trabalho colaborativo:os indivíduos aprendem a trabalhar em time e a conversar mais frequentemente, dando mais fluxo à informaç ão e à dinâmica do grupo; •Motivaç ão:as pessoas apreciam mais o seu trabalho e o trabalho de todos.

    17.2 Um desenvolvedor pelo preço de dois?

    O quê? Dois programadores fazendo o trabalho de um? De modo algum!Isso é o que é dito geralmente por quem não conhece a produtividade e os bene- fícios da programaç ão em par, ou por pessoas que ainda pensam no processo fordista de ter-se apenas um funcionário por estaç ão de trabalho. Produzir softwares é uma atividade complexa e não se deve aplicar processos fabris.

    O coach XP deve ficar atento à organizaç ão do ambiente, tratar da mudança com a visão gerencial e harmonizar os relacionamentos humanos.

    1 + 1 > 2. Duas pessoas trabalhando em um único computador produzirá mais que duas pessoas trabalhando separadas, já que isso aumenta o foco, e também gera qualidade e troca de conhecimento. Com um breve tempo, as vantagens já surgirão, basta acreditar no potencial da equipe. Quem pratica sente seus benefícios.

    17.3 Apressão do par Você já ouviu falar em pressão do time? Isso acontece quando se trabalha com somente uma meta. As pessoas dependem de você, e você delas. Caso alguém não colabore na meta, o próprio time vai naturalmente pressioná-la; ou a própria pessoa se cobrará de alguma forma.

    No trabalho em par, isso não é diferente. Cada membro tem o compro- misso de fazer um bom trabalho. Isso gera maior concentraç ão, incentiva o bom trabalho e aumenta a responsabilidade. Revezar frequentemente faz com que cada um respeite o outro, tratando a pressão como algo bom e não como um problema.Jogue limpo com o seu par, você dependerá dele.

    Página 109

    17.4. Nivelando o conhecimento Casa do Código 17.4 Nivelando o conhecimento O aprendizado pela troca de conhecimento está na essência da programaç ão em pares. O programador que souber menos logo aprenderá com o mais ex- periente, podendo aprender uma tecnologia, um framework, um algoritmo, um padrão de projeto, uma história de usuário, ou qualquer componente do desenvolvimento de software. O nivelamento de conhecimento é um resul- tado intrínseco dopareamento.

    17.5 Como começar?

    O segredo para começar é ter um clima de experimentaç ão, entendendo que algumas coisas não funcionarão de início e precisarão de melhoria. No jogo do planejamento, histórias e tarefas podem ser elencadas para serem desen- volvidas em pares. Na retrospectiva, o time reflete sobre os benefícios trazidos e o que deve ser melhorado nopareamento.

    Uma boa dica para fazer acontecer esse trabalho em par é limitar o desen- volvimento a um número de tarefas menor que o de programadores. Assim, sempre haverá, ao menos, um programador impedido de pegar uma tarefa, então ele precisará parear com um outro. Utilizando um quadro de Kanban, basta aplicar o limite noWIP(do inglês,Work in ProgressTrabalho em Pro- gresso).

    Dica:revise em pares quando não parear Mesmo que algumas atividades não sejam realizadas em pares o tempo inteiro, utilize sempre a revisão em dupla. O modo mais efici- ente é o de rever o código dessa formaantesde enviá-lo para obranch padrão. Isso resulta um código totalmente revisado que será integrado no seu servidor. Reexaminar depois pode perder a prioridade e gerar re- trabalho. Aproveite também para usar a revisão não apenas no código, mas também em tudo o que é útil para o desenvolvimento.

    Página 110

    Casa do Código Capítulo 17. Programaç ão em par 17.6 Dicas para aprimorar a programação em par Que tal experimentar essas abordagens?

    •Vamos tentar sua ideia primeiro:alguém da dupla sugere começar pela ideia de soluç ão do outro integrante. Essa abordagem cria um clima de respeito por entender que as soluções de cada um serão ex- perimentadas e melhoradas.

    •Pensar alto:em vez de o piloto ficar olhando para o código e pensando sozinho, ele fala o que está pensando. Isso ajuda o copiloto a entender o que está sendo feito.

    •Regra dos dez segundos:muitas vezes o piloto está em um raciocínio aprimorado e não linear. Por essa razão, o copiloto deve respeitar esse momento e aguardar cerca de dez segundos para intervir. Essa dica é muito boa para não quebrar o raciocínio.

    •Revezar por ciclo de tempo:revezar o papel de piloto e copiloto é es- sencial. Para forçar a troca, o par pode colocar um alarme para desper- tar no final do ciclo de tempo. Esse ciclo não pode ser nem muito curto, nem muito grande. O par saberá o tempo certo, que normalmente varia de dez minutos a uma hora. A Técnica Pomodoro é uma forma efici- ente de revezar o par, controlar o tempo e ter foco. O par desenvolve o software a cada vinte e cinco minutos, e faz um intervalo curto de três a cinco minutos. A cadapomodoro, o copiloto assume o lugar do piloto e vice-versa. A cada quatropomodoros, o intervalo é mais longo, de vinte a trinta minutos.

    •Revezar por ciclo de TDD:revezar por tempo pode quebrar o raciocí- nio do piloto por parar no meio da escrita. Revezar por ciclo de TDD (vide capítulo19) torna interessante a linha de raciocínio seguida. Uma bela variaç ão é que o copiloto assuma na fase de codificaç ão [12], e não na de escrita de testes, fazendo com que um escreva o teste para o outro programar e refatorar.

    Página 111

    17.7. O ambiente de trabalho Casa do Código 17.7 Oambiente de trabalho Trabalhar fisicamente em pares não exige muita infraestrutura, sendo sufi- ciente apenas um computador configurado normalmente. Para que os pares trabalhem juntos a distância ou sem um espaço físico adequado, existem di- versas ferramentas de trabalho remoto com compartilhamento de tela e de acesso remoto de áudio e vídeo.

    Cuide do espaço físico. A mobília pode dificultar ficar lado a lado pro- gramando (por exemplo, em mesas de canto ou em formato de ‘L’). Os pro- gramadores terão dores no corpo depois de um dia de programaç ão em pares com pouca ergonomia. Uma dica é adaptar o espaço; melhor ainda se houver estações de programaç ão em par, adicionando um teclado, um mouse e um monitor o copiloto, o que é mais favorável para a ergonomia do trabalho.

    17.8 Especificar, projetar, trabalhar, tudo em par Mesmo que essa prática do XP chame-seprogramação em pares, o trabalho como um todo pode ser realizado em dupla. Um programador pode parear com o cliente para tirar dúvidas; o cliente pode parear com um testador para escrever bons testes de aceitaç ão; e um programador pode parear com um testador para discutir alguns testes unitários.

    Dica:pareamento em tudo!

    Somos tão adeptos do trabalho em par que pareamos em atividades além do desenvolvimento de software. Lecionados cursos em par, pales- tramos em eventos em par etc. Sabemos que, assim, um curso ou uma palestra tem muito mais qualidade, motivaç ão e troca de conhecimento.

    Então, que tal começar a parear também?

    Página 112

    Capítulo18 Refatoraç ãodecódigoparaalta qualidade “Qualquer tolo pode escrever código que o computador possa entender. Bons programadores escrevem código que humanos possam entender.”

    –Martin Fowler Você se lembra das aulas de matemática sobre fatoraç ão? O objetivo era aprender como fatorar uma fraç ão ou equaç ão matemática. Por exemplo, sim- plificar a expressão2*x+2*ypara sua expressão fatorada2*(x+y).

    Pois bem, a refatoraç ão tem o mesmo propósito na codificaç ão. Com ori- gem na Orientaç ão a Objetos, é também chamada derefinamento incremental e mantém a semântica da funcionalidade, alterando apenas odesign.

    Uma refatoraç ão é uma mudança feita na estrutura interna do software que o faz ficar mais fácil de entender e mais barato de modificá-lo, sem mu-

    Página 113

    18.1. Refatore impiedosamente Casa do Código dar seu comportamento observável [23]. Obter essa simplicidade não é algo fácil, por isso a fazemos por meio de uma série de pequenas alterações, uma a uma sem alterar esse comportamento. Atenção: refatoraç ão não é um ato de reescrever código.

    Deve-se pedir permissão para refatorar? Acreditamos que não. A quali- dade é importante no software, e você é o profissional que decide sobre o uso da refatoraç ão. Por essa razão, ela está embutida na estimativa do desenvolvi- mento. Refatorar é um investimento na qualidade do código e não pode ser visto como retrabalho.

    Quais são seus benefícios?

    • Economiza tempo e aumenta a qualidade; • Melhora o design do software; • O código torna-se mais legível e reutilizável; • Fica mais fácil encontrar defeitos; • Ajuda você a programar mais rápido.

    A abordagem do XP é refatorar impiedosamente; ou seja, não se opta por isso. Falaremos disso a seguir, bem como sobrebad smellsde código.

    Dica:papel do cleaner Tenha alguém no time XP com o papel docleaner. Isso auxilia o time a criar a cultura de refatoraç ão.

    18.1 Refatore impiedosamente Refatorar não é uma tarefa opcional. Escrever código já na primeira vez com um excelente design é difícil. Quando você pensar em refatoraç ão, criará es- tratégias para a codificaç ão e melhorias no software. Pensando no time, a posse coletiva de código (capítulo15) é importante para que qualquer indiví- duo sinta-se confortável para refatorar.

    Página 114

    Casa do Código Capítulo 18. Refatoraç ão de código para alta qualidade Não deixe para refatorar apenas quando se utiliza TDD, pois existem ou- tros momentos em que você pode fazê-lo, como:

    • Ao adicionar uma função; • Ao consertar um defeito; • Para facilitar o entendimento; • Em revisões de código; • Regra de três: na primeira vez que você fizer algo, apenas faç a. Na se- gunda vez, a duplicaç ão surgirá, mas mantenha assim. Na terceira vez, refatore.

    Dica:pense no próximo!

    Escreva o código para pessoas, não apenas para o compilador. Seu time agradecerá e alguém no futuro certamente ficará feliz em ver um bom código estruturado.

    18.2 Bad smells de código Sabemos que alguns tipos de código são difíceis para alterar, como: código com lógica duplicada ou complexa, código ilegível ou código com compor- tamento adicional e desnecessário. Estes comumente possuem muitosbad smells(maus cheiros), também chamadoscode smells(cheiros de código). Po- demos dizer que se podem descobrir rapidamente osbad smellscom uma breve revisão do código.

    Os maus cheiros podem estar nos níveis de classe, de método ou de atri- buto. A refatoraç ão é a remoção da duplicaç ão e decode smells. Duplicaç ão é sinal de código sujo, de que há mais código do que o necessário em relaç ão a classes, métodos e variáveis. Obter o código limpo (clean code) é o objetivo da refatoraç ão, pois ele fica legível, com alta coesão, baixo acoplamento e sem maus cheiros.

    Alguns exemplos decode smellsa serem refatorados são:

    Página 115

    18.2. Bad smells de código Casa do Código • Uma classe ou método muito longo; • Uma classe que utiliza muitos métodos de outra classe; • Uma classe que faz muito pouco; • Subclasses muito semelhantes; • Nome de variável não comunicativo; • O não tratamento de uma exceção; • Código duplicado; • Código inútil.

    Uncle Bob (Robert C. Martin) lista em seu livro,Código limpo[42], diver- sosodores; pérolas; heurísticas sobre problemas de comentários e de ambiente de build; e testes gerais de nomenclatura e de testes. Vale a pena a leitura; é muito recomendado para quem deseja fazer um código realmente bom.

    Dica:catálogos de refatorações Martin Fowler mantém na internet um catálogo de refatorações bas- tante completo e detalhado. Nele, você encontrará refatorações, como:adicionar um parâmetro, extrair uma superclasse, mover um método,trocar um array por um objeto e muito mais. Confira-o em [26].

    Além disso, Joshua Kerievsky disponibiliza em seu livro,Refatoração para padrões, uma lista bastante detalhada de como refatorar para pa- drões [34].

    Página 116

    Capítulo19 TDD:DesenvolvimentoGuiado porTestes “Eu não sou um excelente programador; eu sou apenas um bom programador com excelentes hábitos.”

    –Kent Beck O TDD (do inglêsTest-driven DevelopmentDesenvolvimento Guiado por Testes) é uma técnica para construç ão de software que guia seu desenvolvi- mento por meio da escrita de testes. Sua essência está em seumantra: testar, codificar e refatorar (veja na imagem a seguir). Essa técnica surgiu a partir da refatoraç ão, dando base para guiar a codificaç ão. TDD gera aprendizado, porque ajuda a aprender boas práticas de programaç ão e a criar testes auto- matizados.

    Página 117

    Casa do Código Fig. 19.1: Mantra do TDD: testar, codificar e refatorar Mas espere um pouco! Escrever testes antes de codificar? Sim, exata- mente! No TDD, primeiramente é escrito o código de teste e depois (somente depois) o de produç ão. Dessa forma, a codificaç ão será guiada por testes e o código de produç ão estará coberto por eles. Os testes guiarão o desenvolvi- mento. É uma mudança de paradigma que vale a pena conhecer.

    Joshua Kerievsky traz a visão desse mantra como um diálogo [34]:

    •Pergunta:você pergunta ao sistema por meio de um teste.

    •Resposta:você responde escrevendo código que passa no teste.

    •Refinamento:você refina a pergunta consolidando ideias, removendo itens desnecessários e clarificando ambiguidades.

    •Repetição:você mantém o diálogo fazendo novas perguntas.

    Na agilidade, trabalhamos com ciclos de trabalho em todos os níveis do projeto. No nível do negócio, utilizamos ciclos de entregas e de iterações para o desenvolvimento de software; no nível do trabalho em equipe, trabalhamos com ciclos em reuniões diárias; e no da codificaç ão, o TDD traz ciclos de trabalho para desenvolver as funcionalidades incrementalmente. Cada um

    Imagem 1 da página 117 (sem descrição)

    Página 118

    Casa do Código Capítulo 19. TDD: Desenvolvimento Guiado por Testes dura alguns minutos: adiciona-se um teste, fazendo-o funcionar com código de produç ão e refatorando-o.

    Sobre os benefícios do TDD, Maurício Aniche fez um compilado de re- sultados em pesquisas sobre isso [4]. Eles são bastante convincentes no uso de TDD:

    • Programadores produziram código que passaram em aproximada- mente 50% mais testes caixa-preta do que os que não utilizavam; • Reduç ão de 40-50% na quantidade de defeitos e um impacto mínimo na produtividade; • 87,5% dos programadores acreditam que facilitou entender os requisi- tos; • 95,8% acreditam que TDD reduziu o tempo gasto comdebug; • 78% acreditam que aumentou a produtividade da equipe; • 92% acreditam que ajuda a manter um código de maior qualidade; • 79% acreditam que promove um design mais simples.

    19.1 Padrões deTDD Para detalhar o TDD, Kent Beck [8] define quatro classes de padrões: padrões gerais de TDD, padrões de teste para TDD, padrões de barra vermelha, e pa- drões de barra verde. Vamos apresentá-las ao longo deste capítulo.

    Padrões gerais de TDD:

    • Teste seu software com testes automatizados; • Um teste não deve afetar a execuç ão do outro; • Mantenha uma lista de testes; • Escreva um teste antes de escrever código de produç ão; • Comece a escrita do teste pelo métodoassert(…);;

    Página 119

    19.1. Padrões de TDD Casa do Código • Os dados de testes devem ter significados evidentes.

    Padrões de teste para TDD:

    • Quando escrever casos de teste grandes, comece com sua menor parte que faç a quebrar; • Quando testar recursos caros ou complicados, utilize constantes que si- mulem o comportamento desses recursos (com estratégias dedummy, stub,spy,fakeemock); • Quando estiver programando sozinho, deixe o último teste quebrado.

    Quando você voltar a programar, ele dirá onde você parou.; • Quando estiver programando em time, deixe todos os testes rodando.

    Seu grupo precisará ter todos os testes rodando.

    Os três passos domantra do TDDsão descritos a seguir.

    Passo 1: escrever um teste que falhe Feedback ao programador é um ponto-chave no XP e é guiado por bons testes automatizados. Aí está a importância de automatizá-los: ter um feed- back, uma resposta rápida para guiar o desenvolvimento do software. Sua automatizaç ão é um investimento a curto e longo prazo, pois guia a codifica- ção e aumenta a qualidade do software a longo prazo.

    Uma dúvida bastante comum é se o TDD faz uso apenas de testes de uni- dade. A resposta é negativa, porque ele é ortogonal em relaç ão a ele. Estes verificam unidades de comportamento. O TDD utiliza, principalmente, tes- tes de unidade, mas também pode usar testes funcionais e de aceitaç ão para guiar o desenvolvimento das funcionalidades.

    Para facilitar sua escrita são utilizados frameworks xUnit: JUnit (Java), NUnit (.NET), CPPUnit (C++), PHPUnit (PHP), e mais uma grande diversi- dade dessas ferramentas. As expressões “barra vermelha” (Red bar ) e “barra verde” (Green bar) surgiram desses frameworks, pois são avisos visuais em uma barra colorida integrada no ambiente de desenvolvimento. A vermelha

    Página 120

    Casa do Código Capítulo 19. TDD: Desenvolvimento Guiado por Testes é o resultado de execuç ão de um ou mais testes falhando; já a verde é o resul- tado da execuç ão de todos os testes passando.

    Para escrever um teste que falhe (barra vermelha), Kent Beck define os padrões:

    • Escreva um teste que gere aprendizado e que se esteja confiante para implementar; • Inicie com um teste para uma operaç ão que não faz nada; • Peça explicações e esclarecimentos por meio dos testes; • Escreva testes para aprender o que um software externo faz; • Anote os outros testes que surgirem para não perder o foco do atual; • Quando houver um defeito encontrado, escreva um teste para apontar obug.

    Passo 2: escrever código funcional para rodar o teste Agora, com um teste já falhando, é hora de escrever o código de produç ão para fazê-lo passar (barra verde). Dessa forma, o código de produç ão ficará praticamente todo coberto por testes. Neste segundo passo, o objetivo é fazer o código passar, sem se preocupar tanto com o seu design, porque isso será feito na próxima etapa: a refatoraç ão.

    Ao usarmosbaby steps(passos de bebê), o código é produzido até dar barra verde. Rode os testes constantemente. Osbaby stepsajudarão a verificar cada passo, você terá feedback contínuo deles. Entregue frequentemente no repositório de código (algumas vezes ao dia). Todos eles devem estar rodando para enviar o código ao repositório; a integraç ão contínua garantirá isso.

    Padrões de barra verde para TDD, para fazer rodar o teste quebrado:

    • Retorne uma constante para simular o resultado e, então, transforme-a gradualmente em uma expressão com variáveis; • Transforme os retornos constantes em expressões, após possuir dois ou três exemplos;

    Página 121

    19.1. Padrões de TDD Casa do Código • Implemente diretamente as operações simples; • Quando a implementaç ão usar coleções de objetos, inicie sem coleções e, somente depois, utilize-as.

    Dica:utilize seus baby steps conscientemente Em seu livro sobre TDD, Maurício Aniche traz a dica de que osbaby stepsdevem ser realizados de maneira consciente: o desenvolvedor deve buscar pela soluç ão mais simples (e não necessariamente pela modifica- ção mais simples) [4]. Assim como um bebê, o desenvolvedor deve dar um passo seguro, de acordo com a complexidade do problema que está sendo resolvido.

    Passo 3: refatorar o código “O objetivo do TDD é escrever código limpo que funciona.”

    –Ron Jeffries O propósito do TDD está no design do código; o teste é apenas um efeito colateral (ótimo, por sinal). Agora com o código coberto pelo teste, é hora de melhorar seu design, refatorando-o. Um dos erros mais comuns no uso de TDD está em não refatorar constantemente. Tenha muita atenção nessa parte; se você não a fizer, terá um código mais complexo e não fará TDD.

    Segundo Martin Fowler, um dos gurus da refatoraç ão, esta é uma mu- dança feita na estrutura interna do software para deixá-lo mais fácil de enten- der e barato de modificar, sem mudar seu comportamento observável [23].

    Uma das mágicas do TDD está aqui: o comportamento observável é guiado pelo feedback dos testes! Eles apontarão se a refatoraç ão do código o alterou ou não.

    Cada refatoraç ão deve ser realizada embaby steps; ou seja, não se deve fazer grandes refatorações. O feedback contínuo é essencial para evitar que o comportamento observável não seja alterado. Caso seja, os testes automatiza- dos apontarão o problema. Umbaby stepdeve ser simples, mas não simplório.

    Página 122

    Casa do Código Capítulo 19. TDD: Desenvolvimento Guiado por Testes Assim como em um passo de bebê, você deve dar o maior passo para ir em frente com total segurança.

    Lembre-se de refatorar também seus testes. Eles fazem parte do software, e se não forem refatorados, se tornarão complexos e dificultarão a manuten- ção futura.

    19.2 Show me the code “Talk is cheap. Show me the code.”

    –Linus Torvalds Falar é fácil, mostre-me o código. Ok, vamos começar com um exemplo clássico praticado emCoding Dojos: a conversão de números decimais para romanos. Para isso, escolhemos a linguagem Java e o JUnit para escrever os testes de unidade. Como primeiro ciclo de TDD, vamos converter o número decimal1para romano. Segue o código do teste:

    import.junit.Assert.*; import public class @Test public void assertEquals("I",.converter(1)); } } Esse teste falhará a própria compilaç ão do código, pois inexiste a classe RomanNumberConverter, e muito menos seu método converter. Uma dica é utilizar a IDEIntegrated Development Environment(Eclipse, por exem- plo) para criar as classes e métodos automaticamente, a partir dos erros de compilaç ão. Precisamos fazer esse teste compilar com o código a seguir:

    public classRomanNumberConverter { public staticObjectconverter(int i) { return null; } }

    Página 123

    19.2. Show me the code Casa do Código Veja que o código está com uma má aparência, mas já compila e o teste já pode ser executado. Porém, ele falha, pois retornanulle deveria retornar I. Visto isso, faremos o primeiro teste funcionar:

    public class public static converter(int i) { return"I"; } } Nosso primeiro teste passou! Você pode estar achando estranho retornar uma constante, mas calma! Lembre-se dosbaby steps, além da simplicidade no XP. Como regra, deve-se retornar uma constante para fazer funcionar os primeiros testes, apenas depois abstrair em variáveis em uma fórmula.

    Agora, possuímos teste passando, portanto podemos refatorar. Faremos as seguintes refatorações, também com baby steps:

    • Tornar mais sugestivo o nome do método de testetestIpara deveRetornarI; • Mudar o retorno do métodoconverterdeObjectparaString; • Tornar o métodoconverterde classe para um método de objeto (removendo ostatic).

    Eis o código com essas refatorações aplicadas:

    public classRomanNumberConverterTest { @Test public voiddeveRetornarI() { assertEquals("I", newRomanNumberConverter().converter(1)); } } public classRomanNumberConverter { publicStringconverter(int i) { return"I"; } }

    Página 124

    Casa do Código Capítulo 19. TDD: Desenvolvimento Guiado por Testes Lembre-se de rodá-lo a cada pequena refatoraç ão. Desse modo, teremos garantido que não o quebramos.

    Fechamos o nosso primeiro ciclo do mantra do TDD: criamos um teste, fazemo-lo funcionar e o refatoramos embaby steps. Estamos aprendendo o problema. Agora, é o momento de irmos para o nosso segundo ciclo de TDD.

    Hey, atenção! Não saia escrevendo o código funcional! Você precisa de um teste falhando antes de tudo. Ok, então vamos escrever o próximo:

    public class @Test public void assertEquals("I", new().converter(1)); } @Test public void assertEquals("II", new().converter(2)); } } Ah, agora sim temos um teste falhando, então podemos escrever código funcional:

    public class publicint i) { if(i== 1) { return"I"; } else return"II"; } } Esse código está ruim, porém os testes estão rodando. Esses são osbaby steps. O XP foca no necessário e somente o necessário. Agora é hora de refato- rar, melhorando seudesign. Vamos fazer uma pequena refaforaç ão, tornando o nome da variável do métodoconverterdeiparadecimal. Resultando no código:

    Página 125

    19.2. Show me the code Casa do Código public class publicint decimal) { if(decimal== 1) { return"I"; } else return"II"; } } Acabamos nosso segundo ciclo de TDD. Vamos para o terceiro. Agora você já sabe: primeiro escreva um teste que falhe. Vamos escrever um teste para verificar a conversão do decimal três:

    public classRomanNumberConverterTest { @Test public voiddeveRetornarI() { assertEquals("I", newRomanNumberConverter().converter(1)); } @Test public voiddeveRetornarII() { assertEquals("II", newRomanNumberConverter().converter(2)); } @Test public voiddeveRetornarIII() { assertEquals("III", newRomanNumberConverter().converter(3)); } } Ok, temos o teste falhando para o valor três. Vamos agora criar código funcional. Só que dessa vez, realizaremos obaby stepum pouco maior, come- çando o algoritmo efetivo da soluç ão. Faremos uso da recursividade:

    public classRomanNumberConverter { publicStringconverter(int decimal) { if(decimal== 0) { return"";

    Página 126

    Casa do Código Capítulo 19. TDD: Desenvolvimento Guiado por Testes } return(decimal – 1) +"I"; } } Os três testes estão passando, excelente. Vamos refatorar? Que tal colo- carmos umelsecom chaves nessa condiç ãoif?

    public classRomanNumberConverter { publicStringconverter(int decimal) { if(decimal== 0) { return""; }else{ returnconverter(decimal – 1) +"I"; } } } Ótimo! Testes passando e código refatorado. Temos o terceiro ciclo de TDD completo.

    Para não ficar exaustivo esse exemplo, vamos adiantar alguns ciclos de TDD. Fizemos mais um ciclo de TDD para cada um dos números decimais:

    5, 6, 7, 8, 9, 10, 28 e 34. O código de testes resultante desses ciclos ficou dessa forma:

    public classRomanNumberConverterTest { @Test public voiddeveRetornarI() { assertEquals("I", newRomanNumberConverter().converter(1)); } @Test public voiddeveRetornarII() { assertEquals("II", newRomanNumberConverter().converter(2)); } @Test public voiddeveRetornarIII() { assertEquals("III",

    Página 127

    19.2. Show me the code Casa do Código new().converter(3)); } @Test public void assertEquals("IV", new().converter(4)); } @Test public void assertEquals("V", new().converter(5)); } @Test public void assertEquals("VI", new().converter(6)); } @Test public void assertEquals("VII", new().converter(7)); } @Test public void assertEquals("VIII", new().converter(8)); } @Test public void assertEquals("IX", new().converter(9)); } @Test public void assertEquals("X", new().converter(10)); } @Test public void

    Página 128

    Casa do Código Capítulo 19. TDD: Desenvolvimento Guiado por Testes assertEquals("XXVIII", new().converter(28)); } @Test public void assertEquals("XXXIV", new().converter(34)); } } O código funcional resultante ficou assim:

    public class publicint decimal) { if(decimal== 0) { return""; }else if(decimal<= 3) { return this.converter(decimal – 1) +"I"; }else if(decimal== 4) { return"IV"; }else if(decimal<= 8) { return"V"+this.converter(decimal – 5); }else if(decimal== 9) { return"IX"; }else if(decimal<= 39) { return"X"+this.converter(decimal – 10); } return null; } } Você deve perceber que a funcionalidade ainda não está pronta e o código não está totalmente limpo. Podemos ainda fazer algumas boas refatorações, como: mudar o retorno denullpara umaStringvazia ou criar uma enu- meração para os números romanos.

    Ainda precisamos fazer mais testes. Precisamos verificar casos de erro (quando o decimal for menor que zero), além de verificar as conversões de números maiores com as letras de cinquenta (L), cem (C), quinhentos (D) e

    Página 129

    19.2. Show me the code Casa do Código mil (M). Sugerimos que você pratique TDD com esse exercício e, de prefe- rência, que complete todos os casos de teste.

    Dica:pratique em umCodingDojo!

    Fazer uma sessão deCoding Dojopropicia um excelente espaço aberto e momento de aprendizado para treinar a programaç ão em pares, TDD, projeto simples e outras práticas do XP. Daniel Wildt tem um post queexplica mais sobre isso em [60].

    Página 130

    Capítulo20 Integraç ãocontínua “Integração contínua não livra os bugs, mas os tornam dramaticamente mais fáceis de encontrar e de remover.”

    –Martin Fowler Integraç ão contínua (IC) é uma prática, na qual o código que está sendo desenvolvido pelo time é integrado, versionado, construído e verificado di- versas vezes ao dia em um ambiente dedicado. Os programadores XP devem integrar e fazercommitem somente uma versão no repositório de código.

    Cada integraç ão é verificada por umbuildcom testes automatizados, detec- tando erros o mais cedo possível [24].

    Essa prática gera sinergia com as outras do XP. Osbuildsdas pequenas entregas são construídos por meio da IC. Ela auxilia na refatoraç ão, pois ve- rificará obuildautomaticamente a cadacommitrealizado no repositório. Em cada um, o padrão de codificaç ão pode ser verificado automaticamente.

    Página 131

    20.1. Como potencializar os benefícios? Casa do Código A integraç ão contínua é um processo simples que traz muitos benefícios:

    • Aumenta o feedback, a comunicaç ão na equipe e a moral do time; • Todos veem o que está acontecendo; • Previne e descobre os problemas de integraç ão mais cedo; • Reduz riscos e evita a baixa qualidade; • Não é necessário um integrador dedicado para a equipe; • Todos têm acesso à versão mais atualizada; • Auxilia na reutilizaç ão de código: os desenvolvedores terão sempre o código mais atualizado; • Evita problemas demerge, fazendo pequenas integrações ao longo do tempo.

    Para ter tais benefícios de um modo eficiente, é preciso seguir algumas regras que potencializam a integraç ão contínua. Além disso, é necessário a utilizaç ão de ferramentas para as tarefas automatizadas relativas. Para deta- lhar melhor, falaremos dessas regras e de ferramentas nas próximas seções deste capítulo.

    20.1 Como potencializar os benefícios?

    “Quanto maior for a razão aparente para criar um branch, mais você não deveria criar um branch.”

    –Jez Humble Um ambiente de integraç ão contínua precisa estar bem afinado para que gere excelentes benefícios. Para isso, trazemos um compilado de dicas:

    • Tenha um servidor de integraç ão dedicado; • Tenha apenas uma única fonte de repositório de código;

    Página 132

    Casa do Código Capítulo 20. Integraç ão contínua • O time faz oscommitsnobranchpadrão (head, trunk, master); • Não quebre obuild, toda mudança deve manter o código rodando; • Antes de fazer commit, todos os testes de unidade devem rodar e passar no build em seu ambiente de desenvolvimento local; • Arrume imediatamente osbuildsquebrados; • Automatize obuilde mantenha-o rápido; • Os testes automatizados devem ser rodados com sucesso nobuild, es- pecialmente os testes de aceitaç ão automatizados; • Torne fácil o acesso do últimobuilda todos do time; • Crie penalidades leves e descontraídas para quem quebrar osbuilds; • Automatize o deploy; • Teste em um ambiente clone do ambiente de produç ão; • Não desative a integraç ão contínua quando estiver sob pressão, nessa hora ela terá ainda mais valor.

    Você acha complicado para um time sempre usar integraç ão contínua?

    Pois saiba que o Google e o Facebook mantêm todo o seu desenvolvimento apenas notrunk! É uma questão de disciplina e atitude. Otrunké o prin- cipalbranch, gerando o nome Trunk Based Development(Desenvolvimento Baseado em Trunk) a essa abordagem.

    No Google, em 2010, já havia mais de 5 mil desenvolvedores trabalhando no mesmo repositório diariamente, em mais de 40 escritórios, com mais de 20 alterações por minuto, com 50% da base de código sendo alterada mensal- mente, e mais de 50 milhões de casos de testes executados diariamente [38].

    No caso do Facebook, ele possui trêstrunks: um para o www(web), outro para Android (mobile) e outro para iOS (mobile). Portanto, é bem acessível que um time apenas consiga utilizar integraç ão contínua, certo?

    Página 133

    20.2. Ferramentas Casa do Código “Vai ter que pagar bala!”

    Quando alguém da equipe for o responsável por ter quebrado obuild, ele deve comprar um pacote de doces para preencher o pote de balas do time. Essa é uma maneira leve e descontraída de evitar que ele seja quebrado por descuidos. O maior problema pode ocorrer quando o pote está cheio e o time não aguenta mais comê-las. 😉 20.2 Ferramentas Antes de falarmos de ferramentas, é preciso estar claro que integraç ão con- tínua é muito mais uma atitude do que apenas o uso de ferramentas. Ferra- mentas servem para dar suporte a um processo; ou seja, uma por si só não faz nada. Algumas das mais utilizadas para essa integraç ão atualmente são:

    o Jenkins (fork do Hudson), o Bamboo e o CruiseControl. Essas ferramentas trabalham em conjunto com as de versionamento, debuild, de qualidade de código e de testes automatizados. Há uma gama delas para cada tecnologia.

    As ferramentas de versionamento controlam o código-fonte, gerenciando as versões do software. Existem dois modelos principais:

    •Modelo cliente-servidor:todas as versões do código ficam centrali- zadas no servidor. Os clientes possuirão apenas a versão de trabalho e executarão comandos sobre o repositório central. Exemplos dessas ferramentas são o Subversion (SVN) e o Concurrent Version System (CVS); •Modelo distribuído:uma cópia integral de todo o repositório de có- digo fica em cada cliente, ou seja, cada um também é um servidor, não sendo necessário ter um central. Exemplos famosos desse modelo de ferramentas são o Git e o Mercurial.

    As ferramentas debuildempacotam os executáveis do software de acordo com as configurações e uma série de tarefas, também gerenciando dependên- cias de bibliotecas. Normalmente, as ferramentas de desenvolvimento (IDEs)

    Página 134

    Casa do Código Capítulo 20. Integraç ão contínua já têm integraç ão a essas debuild, sendo um processo transparente para o desenvolvedor. Exemplos desse tipo são o Ant, o Maven e o MSBuild.

    As ferramentas de qualidade de código preocupam-se com o seu design.

    Muitos problemas podem ser automaticamente detectados por elas. São os principais tipos:

    • Analisadores de código (por exemplo, o FindBugs e o PMD); • Verificadores de cobertura de código (por exemplo, o JaCoCo e o Code Coverage); • Verificador de padrão de codificaç ão (CheckStyle); • Frameworks de testes de código (JUnit e PHPUnit); • Gerenciador de qualidade de código (Sonar).

    Sobre ferramentas de teste, existem diversas para cada tipo. Para testes funcionais na web, existe o Selenium; para os de desempenho e de carga em Java, o JMeter; de integraç ão em Java, o Arquillian; e de cenários e critérios de aceitaç ão, o Cucumber, o JBehave (Java) e o SpecFlow (.NET).

    Quando obuildfalhar, a ferramenta de IC notificará todos sobre o ocor- rido. O Jenkins possui umpluginbem-humorado em que o Chuck Norris aparece em uma imagem com umacara de quem não gostounem um pouco dobuildcom falha, oufeliz da vidaquando ele foi realizado com sucesso. Veja nas imagens a seguir:

    Página 135

    20.2. Ferramentas Casa do Código Fig. 20.1: Chuck Norris não gostando nem um pouco que o build falhou.

    Fonte da imagem:https://wiki.jenkins-ci.org Fig. 20.2: Chuck Norris contente que o build foi construído com sucesso.Fonte da imagem:https://wiki.jenkins-ci.org

    Imagem 1 da página 135 (sem descrição)
    Imagem 2 da página 135 (sem descrição)

    Página 136

    Casa do Código Capítulo 20. Integraç ão contínua Essepluginpode ser encontrado emhttps://wiki.jenkins-ci.org/display/ JENKINS/ChuckNorris+Plugin.

    Página 137

    Página 138

    Capítulo21 Ritmosustentável “Desenvolvimento de software é uma maratona, não uma sprint.”

    –Robert C. Martin Imagine uma pessoa correndo em uma maratona. O caminho é longo, então a melhor estratégia é correr em um ritmo constante até a chegada. To- dos os corredores profissionais sabem disso. Caso alguém queira correr mais rápido que seu ritmo, em poucos minutos ele estará ofegante e terá que parar para descansar, também perdendo sua concentraç ão na respiraç ão. O mesmo ocorre ao desenvolver software.

    Ter ritmo sustentável é uma regra criada pelo XP para balancear o de- senvolvimento com as demandas do negócio. Todos têm seus ritmos equi- librados: o time XP, o cliente e pessoas envolvidas com o projeto. Utilizar a simplicidade traz soluções mais efetivas ao cliente, mais ainda quando há mais demandas do negócio do que a capacidade do time. A qualidade do software

    Página 139

    21.1. Velocidade do time Casa do Código é essencial para manter esse fluxo de trabalho normalizado, porque defeitos gerariam retrabalho para as próximas iterações.

    Produtividade em longo prazo é o ponto-chave aqui. Durante uma se- mana ou pouco mais, o time consegue produzir mais trabalhando com horas extras. Porém, a longo prazo é inviável, porque o rendimento vai decaindo semana a semana.

    Dica:culturaLean A dica é buscar a cultura Lean em seu desenvolvimento de software.

    No Lean, a sobrecarga é chamada deMuri, que é gerada pelo desbalan- ceamento de carga (chamado deMura), que, por sua vez, gera diversos tipos de desperdícios (chamados deMuda) [48]. A sobrecarga gera can- saço, que gera desatenção, que gera defeitos, que gera retrabalho: um ciclo que só vai diminuindo a produtividade e fazendo com que o timepossa abandonar outras práticas do XP.

    Planejar o trabalho, de acordo com a velocidade do grupo e em um ritmo de trabalho sem horas extras, auxilia no ritmo sustentável. Vamos falar dissonas seções deste capítulo.

    21.1 Velocidade do time “Os processos ágeis promovem desenvolvimento sustentável. Ospatrocinadores, desenvolvedores e usuários devem ser capazes de manter umritmo constante indefinidamente.”

    –Oitavo princípio do Manifesto Ágil Um bom jogo do planejamento ajuda no ritmo sustentável, uma vez que será o time que dará as estimativas e negociará as entregas com o cliente. Sua velocidade é importante para determinar um planejamento realista, sem des- balanceamento. Para o grupo encontrar sua velocidade, são necessárias algu- mas iterações. No XP, ela é dada emstory points. Existe uma variaç ão grande sobre estimativas, mas o que realmente interessa é que o time a conheça para estabelecer um ritmo sustentável.

    Página 140

    Casa do Código Capítulo 21. Ritmo sustentável É papel do time proteger-se de trabalho extra. Algo curioso pode acon- tecer com grupos que estão em um excelente ritmo sustentável com entregas de qualidade: a gestão pode ver que ele está indo muito bem e tentarempur- rarmais tarefas, o que pode comprometer o restante do trabalho e começar a produzir entregas atrasadas de baixa qualidade.

    Horas extras é um sintoma gerado por sérios problemas em um projeto [6]. Muitas vezes, a soluç ão mais rápida para um gestor é fazer com que seus funcionários trabalhem mais, em vez de arrumar o problema raiz. Isso vai contra a melhoria contínua, acoberta o problema real e gera novos.

    Dica:planeje e estime todas as tarefas necessárias Faça um planejamento de todas as atividades necessárias com suas es- timativas. Planeje todas as tarefas necessárias para implementar as histó-rias de usuário, com o objetivo de finalizar uma iteraç ão ou uma entrega com todo o trabalho pronto. Além das tarefas de codificaç ão, planeje e estime as de integraç ão, de teste (incluindo automatizados) e de deploy, como também outras importantes. Caso sobrem atividades para a pró-xima iteraç ão, negocie e replaneje o trabalho.

    21.2 40horas semanais “Eu quero estar revigorado e cheio de energia toda manhã, e cansado e satisfeito toda noite.”

    –Kent Beck O conceito de ritmo sustentável iniciou-se com a prática de 40 horas se- manais (40-hour week) no livro de origem do eXtreme Programming[6]. Ron Jeffries abstraiu esse conceito e o renomeou pararitmo sustentável[5]. Curio- samente, há várias décadas, em 1926, Ford já havia estabelecido a jornada de trabalho de 40 horas semanais, pois sabia que o problema seria resolvido com uma boa organizaç ão, e não com mais horas trabalhadas [37]. A imagem a se- guir ilustra a relaç ão da produtividade por semana de trabalho em um ritmo sustentável (40 horas semanais) e insustentável (60 horas semanais, fazendo horas extras).

    Página 141

    21.2. 40 horas semanais Casa do Código Fig. 21.1: Gráfico de produtividade por semana para o trabalho de 40 horas semanais e para o com horas-extras de 60 horas Pessoas não são máquinas, e desenvolver software não é uma atividade simples. É necessário raciocínio aprimorado para produzir cada funciona- lidade que é diferente da anterior já feita. Programadores não sãomão de obra, mas sim trabalhadores do conhecimento (chamados decérebro de obra).

    Sabe-se que, nos humanos, o cérebro é o órgão que consome mais energia, to- talizando até 20% do total da energia do corpo [57]. Comumente, um dia de trabalho rende pelo trabalho normal de uma semana, assim como o inverso; uma semana inteira não rende nem por um dia normal de trabalho.

    Algumas pessoas têm capacidade de trabalhar em todo seu potencial cri- ativo, atento e confiante em 45 horas por semana, outras em 35 horas, mas raramente alguém conseguirá isso em 60 horas, em longo prazo. Um time cansado trabalhará menos, não importa quanto tempo trabalhem a mais.

    Imagem 1 da página 141 (sem descrição)

    Página 142

    Capítulo22 IndoalémdoeXtreme programming “É o que você aprende, depois de você saber tudo, o que importa.”

    –John Wooden No capítulo2, já falamos sobreLean Software DevelopmenteScrum, que são complementares ao XP. A ideia deste capítulo é trazer brevemente algu- mas das principais abordagens e práticas para ir além do eXtreme Program- ming. Certamente, há muitas outras, mas já é um bom começo para aprender ou reforçar. Reflita com seu time sobre como esses assuntos poderão auxiliar no desenvolvimento.

    Página 143

    22.1. Jogos e dinâmicas Casa do Código 22.1 Jogos e dinâmicas Que tal discutir e aprender as práticas do XP de um modo divertido? Com jogos e dinâmicas, seu time pode trocar muito conhecimento sobre esse mé- todo. Na Industrial Logic, em 2001, Joshua Kerievsky desenvolveu cartas de baralho para aprender XP, além de uma lista de jogos com elas [33]. O ba- ralho possui cartasVque representam os valores do XP;Pque retratam os problemas no desenvolvimento de software; eSque são as soluções trazidas pelas práticas do XP (vide imagem a seguir).

    Fig. 22.1: Extreme Programming playing cards Em 2014, com a permissão da Industrial Logic, Jamile Alves e Dionatan Moura traduziram para português e as adaptaram para serem disponibiliza-das em um formato livre para impressão [3]. Assim, você poderá usá-las comseu time. Experimente os jogos de acordo com seu contexto e lembre-se de se divertir! 🙂

    Imagem 1 da página 143 (sem descrição)

    Página 144

    Casa do Código Capítulo 22. Indo além do eXtreme programming 22.2 Behaviour-D rivenDevelopment(BDD) OBehaviour-Driven Development(BDD Desenvolvimento Guiado por Com- portamento) possui o mesmo propósito do XP: unir as pessoas de desenvol- vimento com as de negócio. O BDD baseou-se no TDD [47], e serve também para análise ágil e teste de aceitaç ão automatizado. Ele utiliza a especificaç ão por exemplos [1], uma abordagem colaborativa para definir requisitos a par- tir de exemplos realistas, em vez de enunciados abstratos. Cada exemplo é entendido por meio de um cenário com dados reais. Uma história de usuário pode possuir diversos exemplos reais de utilizaç ão. Um de cenário poderia ser:

    •Cenário:pesquisandoextreme programmingno Google.

    •Dado queestou na pesquisa do Google •Edigitoextreme programmingno campo de busca •Quandopressiono a tecla Enter •Entãoé exibida a primeira página de uma lista dos websites com con- teúdo relevante sobre o assunto.

    Quando o software possuir essas especificações executáveis, ele terá a do- cumentaç ão viva; ou seja, ela estará conectada diretamente ao código por meio dos testes de aceitaç ão. Ferramentas de frameworks auxiliam a escrita e a execuç ão dos cenários JBehave (Java), Cucumber (Ruby), RSpec (Ruby), SpecFlow (.Net), e Jasmine (JavaScript).

    22.3 Domain-D rivenDesign(DDD) Domain-Driven Design(DDD Projeto Orientado ao Domínio) é uma abor- dagem criada por Eric Evans que conecta a implementaç ão do software a um modelo, em um contexto específico, por meio de uma linguagem ubíqua [19].

    Ela coloca o foco primário do projeto no domínio, além de permitir a co- laboraç ão entre as pessoas técnicas e as especialistas nele, tudo isso em um

    Página 145

    22.4. Kanban Casa do Código refinamento iterativo. No XP, o DDD é complementar às metáforas de sis- tema e auxilia a comunicaç ão do time para entender melhor sobre o negócio do cliente.

    22.4 Kanban Kanbansignifica “cartão visual” em japonês. Na linha de produç ão de uma fábrica, um kanban acompanha peças ou partes específicas para sinalizar vi- sualmente a entrega de uma determinada quantidade de itens, agilizando o processo.

    No desenvolvimento de software, o sistema kanban auxilia na visualizaç ão do trabalho em andamento e de cada passo na cadeia de valor (da demanda do cliente até estar em produç ão). Ele também permite limitar o trabalho em progresso (WIPWork in Progress), removendo gargalos na produç ão e dando vazão ao trabalho. Ele embasa as decisões no processo, visualiza sua consequência e identifica oportunidade de melhorias no fluxo da produç ão.

    Tudo isso dando base para a produç ão puxada (trabalhar com a demanda atual existente, e não com base em previsões).

    No XP, as histórias de usuário e tarefas vão para o quadro (escritas em cartões ou post-its) e são gerenciadas visualmente. Em termos do Lean, o uso desse sistema catalisa o pensamento Lean na entrega de sistemas de software.

    Para aprender mais sobre ele, sugerimos o livroKanban em 10 Passos, de Jesper Boeg [10].

    22.5 Estimando com planning poker Para estimar as histórias de usuário e conversar sobre elas durante o jogo do planejamento, você e seu time poderão utilizar oplanning poker. É uma téc- nica de dimensionamento e planejamento das histórias por meio de um con- senso do time. Para isso, cada integrante usará um baralho específico e pontu- ará a história; todos farão isso ao mesmo tempo, como em um poker. O grupo deve fazer rodadas de pontuaç ão até chegar em um consenso. O ponto-chave está na comunicaç ão.

    O baralho é baseado na sequência de Fibonacci; possui as cartas de0, 1, 2, 3, 5, 8, 13, 20, 40 e100(vide imagem a seguir). A razão

    Página 146

    Casa do Código Capítulo 22. Indo além do eXtreme programming do uso dessa sequência exponencial é relacionada à incerteza porque, quanto maior for a pontuaç ão, maior será a incerteza da estimativa. A unidade de es- timativa é a que o time definiu (story points, dias ideais, tamanhos de camiseta etc.). Para estimar cada história, o grupo deve conversar sobre seus detalhes e o que será necessário para desenvolvê-la. Lembre-se que estimativas são literalmente estimativas: uma aproximaç ão, e não um prazo formal.

    Fig. 22.2: Cartas do baralho de planning poker 22.6 Resolvendo dívidas técnicas Suponha que você precise implementar uma funcionalidade em seu sistemae você possui duas opções: a primeira é a de entregar um código bem feito e refatorado, com um bomdesign, mas que tomará um pouco a mais de tempo; e a segunda é a de entregar rapidamente um código confuso no qual você esperanunca mais tocar, porque as mudanças ali serão cada vez mais complicadas.

    A primeira opção poderá gerar algumas (raras) dívidas técnicas, porém a segunda certamente causará muitas. O XP defende a primeira opção, mas é possível que se comece a usá-lo em um sistema já existente. Por isso, ressal-tamos as dívidas técnicas.

    Dívida é dívida, e de algum modo você terá que pagar. Pensando por um lado ruim, você pagará apenas os juros (cada vez mais altos), que resultamem váriosbugs, assim como atrasos e custos maiores, entrega a entrega. E a dívida não para por aí: seu código ficará cada vez pior, seu time com maisestresse físico e mental, seu cliente insatisfeito, algumas pessoas se demitirão,ou até o sistema parará de vez.

    Imagem 1 da página 146 (sem descrição)

    Página 147

    22.7. Refatorando também o banco de dados Casa do Código Por um lado pior ainda, elas ficarão tão grandes que o trabalho será ape- nas resolverbugs. Já pensando por um lado positivo, você utilizará a refatora- ção para ir arrumando continuamente as maiores dívidas técnicas, automati- zando testes e resgatando o ritmo sustentável do time, assim como a satisfaç ão do cliente.

    22.7 Refatorando também o banco de dados Refatoraç ão no XP é uma disciplina que se aplica a todo o sistema, inclusive ao banco de dados. Você já pensou no impacto que uma base de dados com um péssimodesigntem? Esse tipo de refatoraç ão pode ser definida como uma mudança disciplinada na estrutura de uma base de dados que não altera sua semântica, porém melhora seu projeto e minimiza a introduç ão de dados inconsistentes [44].

    O princípio decode smellstambém é aplicado a banco de dados, chamado dedatabase smell(mau cheiro de banco de dados). Fabrízio Mello possui um material sobredatabase smellsem [45]. Essa área de refatoraç ão em banco é recente e possui poucos materiais, mas que já são bastante úteis para começar a refatorar o seu.

    22.8 Código limpo Ok, já falamos de código limpo (clean code) nos capítulos 12,19e18, mas a importância é tão grande no XP que vale a pena reforçar essa prática. O livro Código limpo[42] do Uncle Bob (Robert C. Martin) apresenta a disciplina de escrever código limpo, trazendo diversas dicas, como: nomes significativos, funções, comentários, formataç ão, objetos, estruturas de dados, tratamento de exceções, testes de unidade, classes, concorrência e odores de código. E lembre-se sempre: código limpo não é o que mais se refatora, mas o que me- nos se suja.

    22.9 Entrega contínua eDevOps Entrega contínua é um conjunto de princípios e práticas com o objetivo de compilar, testar e liberar software ao cliente de forma mais rápida e frequente.

    Página 148

    Casa do Código Capítulo 22. Indo além do eXtreme programming Essa abordagem encaixa-se muito bem com as práticas do XP de liberaç ão constante de pequenas versões e de integraç ão contínua. Podemos dizer que entrega contínua também é uma práticaextrema, pois está bastante alinhada com o primeiro princípio do Manifesto Ágil:nossa maior prioridade é satis- fazer o cliente por meio da entrega contínua e adiantada de software com valor agregado.

    Jez Humble e David Farley descrevem os princípios da entrega de software no livroEntrega contínua[20]:

    • Criar um processo de confiabilidade e repetitividade de entrega de ver- são; • Automatize quase tudo; • Mantenha tudo sob o controle de versão; • Se é difícil, faç a com mais frequência e amenize o sofrimento; • A qualidade deve estar presente desde o início; • “Pronto” quer dizer “entregue"; • Todos são responsáveis pelo processo de entrega; • Melhoria contínua.

    Seguindo tais princípios, você terá um processo aprimorado de entrega contínua.

    22.10 Leituras sobre desenvolvimento de soft- ware Ao longo dos capítulos, referenciamos diversos livros relacionados a cada as- sunto do XP. Vá além, lendo e pesquisando esses e outros livros. Procure também séries de livros e editoras especializadas em software. Lê-los é uma grandiosa fonte de aprendizado. Leia bastante e desperte em si a curiosidade em aprender mais e mais.

    Página 149

    22.11. Artesanato de Software Casa do Código No Brasil, temos a satisfaç ão de possuir uma editora com foco em livros de desenvolvimento de software nas área de Agile, Java, desenvolvimento Web, Mobile, Games e Front-End. Essa editora é a Casa do Código [15]. Seus livros são escritos por autores com renome na comunidade e são revisados por uma curadoria com experiência na área. Com certeza eles o ajudarão a ir muito além do XP.

    Lá existem livros na área de metodologia e tecnologia. Na de metodologia, existem livros sobre agile, startup, Scrum, TDD (com Java, .NET, Ruby), De- vOps, testes de Software; e na de tecnologia, livros sobre UX, jQuery, HTML5 e CSS3, web design responsivo, games em HTML, JavaScript, Android e IOs, Java 8, JSF, JPA, CDI, REST, Node.js, MongoDB, SQL, PHP, MySQL e muito mais. Show! Não é? 🙂 Um outro livro que é um excelente compilado da agilidade escrito por diversos agilistas brasileiros, referências no país e no mundo, é oMetodos ágeis para desenvolvimento de software[18]. Ele traz os assuntos sobre o Ma- nifesto Ágil, a história dos métodos ágeis no Brasil, Scrum, XP, OpenUP, FDD (Feature-Driven Development), Lean, Kanban, modelagem ágil, DDD (Domain-Driven Design), TDD, estimativas, gestão visual, coaching e facili- tação de times ágeis.

    22.11 Artesanato deSoftware Comumente, aprendemos que desenvolver software é uma atividade baseada na engenharia, na qual os desenvolvedores o constroem com métodos, téc- nicas e ferramentas fundamentadas na engenharia de software e no gerenci- amento de projetos. Existe uma lacuna nisso, pois desenvolvê-los não é uma tarefa simples que possa ser resolvida com métodos tradicionais de engenha- ria. Desenvolvê-los é uma tarefa do conhecimento e complexa.

    O movimento do Artesanato de Software (do inglês,Software Crafts- manship) reconhece que a produç ão de software é uma atividade artesanal, e não fabril. Dentro dessa área, o aprendiz deve estudar técnicas, tecnolo- gias e ferramentas para construir bem o código, aplicando bons princípios de programaç ão. E não para por aí: ele deve também criar hábitos de trabalho e investir em suas habilidades sociais (soft skills). Participar de uma comu-

    Página 150

    Casa do Código Capítulo 22. Indo além do eXtreme programming nidade também aprimora seu aprendizado. Desse modo, ele se tornará um artesão de software.

    Há um grande elo entre um programador XP e um artesão de software.

    Precisamos de melhores programadores, e não mais simplórios.Pense em quantas dívidas técnicas um programador simplório pode deixar no sistema ao longo de um ano! É um grande impacto! Provavelmente serão necessários dois ou mais para arrumar toda a bagunça.

    Da mesma forma que métodos ágeis, o Artesanato de Software possui um manifesto [64]. O Edson Yanaga, artesão de software, fez sua traduç ão [16]:

    Manifesto pelo Artesanato de Software:como aspirantes a artesãos de software, elevamos o nível do desenvolvimento de software profissional ao praticar e auxiliar outros a aprender o ofício. Por meio desse trabalho, passa- mos a valorizar:

    • Não somente software funcionando, mas também software bem feito; • Não somente responder a mudanças, mas também continuamente adi- cionar valor; • Não somente indivíduos e interações, mas também uma comunidade de profissionais; • Não somente colaboraç ão com o cliente, mas também parcerias produ- tivas.

    Ou seja, na busca pelos itens à esquerda descobrimos que os itens à direita são indispensáveis.

    Relacionado à arte do Artesanato de Software, temos a parte comporta- mental, de atitude, que representa a coragem e o respeito como dois dos cinco valores do XP. Adicionalmente a tais valores, Chad Fowler escreveu o livroO programador apaixonado[22]; e Uncle Bob (Robert C. Martin), o livroCo- dificador limpo(Clean coder) [43]. O primeiro traz diversas dicas para cons- truir uma carreira notável em desenvolvimento de software; já o segundo traz um código de conduta para profissionais de software, sendo pragmático com conflitos, prazos apertados, gerentes pouco razoáveis, dizer não e lidar com a pressão.

    Página 151

    Índice Remissivo Casa do Código ÍndiceRemissivo Épicos,, 39 40 horas semanais,123 Ambiente físico,31,94 Aprendizado,20,64,76,82,90,92, 132 Artesanato de Software,132 Atitude,13,133 Auto-organizaç ão,30 Baby steps,103 Balanceamento de carga do time,62 Banco de dados,130 Barra verde,102 Barra vermelha,102 Bugs de software,44 Código limpo,8,67,97,130 Casos de teste,102 Catálogo de refatorações, 98 Cenários de teste,50 Cleaner,25 Cliente presente,3,24,33 Coach XP,25,30,77,91 Cobertura de código,117 Code smells,67,97 Coding Dojo,112 Colaboraç ão,81 Comprometimento,32 Comunicaç ão,16,19,26,29,39,49, 72,76,81,85,113,115 Comunicaç ão face a face,12,20,33,37 Cooperaç ão no time,90 Coragem,16,21 Critérios de aceitaç ão,33,44,49 Cultura de experimentaç ão,77,92 Dívidas técnicas,7,25,67,129 Database smells,130 Debug,50 Desenvolvedor,24 Desenvolvimento Guiado por Com- portamento (BDD),50,127 Desenvolvimento Guiado por Testes (TDD),96,99 Desenvolvimento iterativo e incre- mental,20,54,58 Design de código,82,104,117 Design simples,20,22,53,101 Desperdícios,55 DevOps,24,130 Dimensionamento de histórias de usuário,44 Dinâmicas,32,126 Disciplina,32,115

    Página 152

    Casa do Código Índice Remissivo Engajamento,25,53 Entrega contínua,54,130 Entrega de valor,22 Entregas grandes,55 Entregas pequenas e frequentes,12, 16,44,50,53,58,130 Escopo,61 Especificaç ão por exemplos,127 Estimar histórias,44,60 Estimar tarefas,62 Estimativa por tamanhos de cami- seta,44,128 Estimativas,66,72,122,128 Experimentaç ão,66 Fail fast,3,53,64 Falta de padronizaç ão de código,86 Fator de carga do time,62 Feedback,3,13,16,20,31,63,81,102, 104,113 Ferramentas de integraç ão contínua, 116 Foco,32,63,75,89,91 Gerente,26 Gestão,30 Gestão do conhecimento,90 Habilidades sociais,24,90,132 Hansei,31 Histórias de usuário,8,16,24,26,32, 33,37,49,50,58,65,92,127, 128 Ilhas de conhecimento,82 Integraç ão contínua,8,16,20,25,54, 81,103,113,130 Interface de usuário,44 INVEST,42 Iterações, 14,44,58,61,66,68 Jogo do planejamento,25,33,57,65, 77,92,122,128 Jogos,126 Kaizen,31 Kanban,128 Lean,13,31,55,82,122 Lean Software Development,13,125 Legibilidade de código,96 Liderança situacional,30 Linguagem ubíqua,72,127 Métricas de projeto,26 Macrogerenciamento,30 Manifesto Ágil,11,19,29,38,55,130 Manifesto pelo Artesanato de Soft- ware,133 Melhoria contínua,9,12,14,31,123, 131 Metáfora de sistema,71,127 Microgerenciamento,30 Mocking,102 Modelo 3C,39 Modelo de história de usuário,40 Motivaç ão,7,12,22,29,90 Multidisciplinaridade,24,30 Orientaç ão a Objetos,95 Os três Is da metáfora,73

    Página 153

    Índice Remissivo Casa do Código Padrão de codificaç ão,8,85,113,117 Padrões de TDD,101 Papéis do XP,23,49,121 Peer review,89,92 Personas,43,44 Pessoas de negócio,12,24,58,59 Planejamento de iterações, 49,58 Planejamento de releases,58 Planning poker,128 Posse coletiva,21,81,85,96 Pressão do par,91 Pressão do time,91,92 Prioridade,34,46 Produtividade,7,75,101,122,123 Produto mínimo viável (MVP),68 Programaç ão em par,8,24,82,85,89 Programador,24 Projeto Orientado ao Domínio (DDD),127 Projeto simples,8,67 Projetos marcha da morte,57 Prototipaç ão,66 Puxar tarefa,62 Quadro de kanban,92 Qualidade,4,7,16,22,25,53,54,89, 96,101,113,121,122 Qualidade de código,117 Quebrar histórias,60 Quebrar tarefas,62 Reúso de código,72,96,113 Refatoraç ão,8,22,25,67,81,85,95, 99,104,113,129,130 Refinamento de histórias de usuário, 42 Release planning,57 Requisitos de usuário,2,16,24,37 Requisitos não funcionais,44 Respeito,16,22 Reunião diária em pé,25,75 Reuniões de retrospectiva,9,25,31 Reuniões remotas,35 Revisão de código,90 Revisão por pares,89,92 Risco,5,58,61,65,113 Ritmo sustentável,8,12,16,63,121 Satisfaç ão do usuário,53 Scrum,14,125 Sequência de Fibonacci,44,128 Sequência de múltiplos de dois,44, 128 Simplicidade,4,12,16,20,63,67,75, 121 Sincronizaç ão do time,76 Sinergia entre as práticas,16,19,32, 82,113 Sistema Toyota de Produç ão,13 SMART,43 Software Craftsmanship,132 Spikes de planejamento,65 Story points,44,122,128 Story smells,46 Tarefas de implementaç ão,24,33,43, 58,128 Testador,25

    Página 154

    Casa do Código Índice Remissivo Testes automatizados,6,16,24,50,54, 67,81,99,101,102,113 Testes de aceitaç ão,16,24,25,32,33, 39,49,102,127 Testes de unidade,20–22, 102 Testes funcionais,102 Time coeso,12,29 Time de desenvolvimento,59 Trabalho em par,94 Trabalho em time,29 Trabalho puxado,6 Tracker,26 Transparência,49 Trunk Based Development,115 Valor de negócio,5,38,53,58,61,63, 130 Valores do XP,19,29 Velocidade do time,6,44,61,64,122 xUnit,102 YAGNI (You’re Not Gonna Need It), 68

    Página 155

    Página 156

    Casa do Código Referências Bibliográficas ReferênciasBibliográficas [1] Gojko Adzic.Specification by example: how successful teams deliver the right software. Manning Publications, 2011.

    [2] Dionatan Moura; Jamile Alves. Big picture do extreme programming.

    https://github.com/dsmoura/xp-big-picture, 2015.

    [3] Dionatan Moura; Jamile Alves. Xp playing cards: aprendendo extreme programming com muita diversão!http://dionatanmoura.com/2015/05/ 06/xp-playing-cards/, 2015.

    [4] Maurício Aniche.Test-Driven Development: teste e design no mundo real.

    Casa do Código, 2012.

    [5] Christoph Baudson. What is sustainable pace?http://www.

    sustainablepace.net/what-is-sustainable-pace, 2012.

    [6] Kent Beck.Extreme Programming: embrace change. Addison-Wesley, 1999.

    [7] Kent Beck.eXtreme Programming explained: embrace change. 2. ed.

    Addison-Wesley, 2004.

    [8] Kent Beck.TDD Desenvolvimento Guiado por Testes. Bookman, 2010.

    [9] Rilla Khaled; James Noble; Robert Biddle. System metaphor in “extreme programming”: a semiotic approach. 2004.

    [10] Jesper Boeg. Kanban em 10 passos.http://www.infoq.com/br/ minibooks/priming-kanban-jesper-boeg, 2012.

    Página 157

    Referências Bibliográficas Casa do Código [11] Paulo Caroli; Tainã Caetano.Fun retrospectives: activities and ideas for making agile retrospectives more engaging. Lean Publishing, 2014.

    [12] Paulo Caroli.Thoughtworks antologia Brasil: histórias de aprendizado e inovação. Casa do Código, 2014.

    [13] Mike Cohn.User stories applied: for Agile software development.

    Addison-Wesley Professional, 2004.

    [14] Lisa Crispin.Agile testing: a practical guide for testers and agile teams.

    Addison-Wesley Professional, 2009.

    [15] Casa do Código. Casa do código: livros e tecnologia.http://www.

    casadocodigo.com.br/, 2015.

    [16] Signatários do manifesto. Manifesto pelo artesanato de software.http:

    //www.yanaga.com.br/2011/12/manifesto-pelo-artesanato-de-software.

    html, 2011.

    [17] Kent Beck; et al. Manifesto para desenvolvimento ágil de software.http:

    //www.agilemanifesto.org/iso/ptbr/, 2001.

    [18] Rafael Prikladnicki; Renato Willi; Fabiano Milani; et al.Metodos ágeis para desenvolvimento de software. Bookman, 2014.

    [19] Eric Evans.Domain Driven Design: atacando as complexidades no cora- ção do software. Alta Books, 2010.

    [20] Jez Humble; David Farley.Entrega contínua. Bookman, 2014.

    [21] Free Software Foundation. Gnu coding standards.https://www.gnu.

    org/prep/standards/, 2014.

    [22] Chad Fowler.O programador apaixonado: construindo uma carreira no- tável em desenvolvimento de software. Casa do Código, 2014.

    [23] Martin Fowler.Refatoração: aperfeiçoando o projeto de código existente.

    Bookman, 2004.

    Página 158

    Casa do Código Referências Bibliográficas [24] Martin Fowler. Continuous integration.

    articles/continuousIntegration.html, 2006.

    [25] Martin Fowler. Flaccidscrum.http://martinfowler.com/bliki/ FlaccidScrum.html, 2009.

    [26] Martin Fowler. Catalog of refactorings.http://refactoring.com/catalog/, 2013.

    [27] Martin Fowler. Storypoint.http://martinfowler.com/bliki/StoryPoint.

    html, 2013.

    [28] Jr. Frederick P. Brooks. No silver bullet: essence and accident in software engineering.null, 1987.

    [29] Google. google-styleguide. https://code.google.com/p/ google-styleguide/, 2015.

    [30] Ron Jeffries.Extreme Programming installed. Addison-Wesley Professi- onal, 2000.

    [31] Ron Jeffries. Essential xp: card, conversation, confirmation.http:

    //ronjeffries.com/xprog/articles/expcardconversationconfirmation/, 2001.

    [32] Ron Jeffries. Context, my foot!http://ronjeffries.com/xprog/blog/ context-my-foot/, 2009.

    [33] Joshua Kerievsky. Extreme programming playing cards.http://www.

    industriallogic.com/blog/xp-playing-cards/, 2001.

    [34] Joshua Kerievsky.Refatoração para padrões. Bookman, 2008.

    [35] Joshua Kerievsky. Interview: Joshua kerievsky on system metaphor.http:

    //www.infoq.com/interviews/kerievsky-metaphor, 2009.

    [36] Joshua Kerievsky. Stop using story points.http://www.industriallogic.

    com/blog/stop-using-story-points/, 2012.

    Página 159

    Referências Bibliográficas Casa do Código [37] Ashish Kumar. Ford factory workers get 40-hour week. http://www.history.com/this-day-in-history/ ford-factory-workers-get-40-hour-week, 2009.

    [38] Ashish Kumar. Development at the speed and scale of google.http:

    //www.infoq.com/presentations/Development-at-Google, 2011.

    [39] Daniel Wildt; Guilherme Lacerda. Conhecendo o extreme program- ming (xp).https://codingbyexample.wordpress.com/artigos/, 2010.

    [40] Esther Derby; Diana Larsen.Agile retrospectives: making good teams great. Pragmatic Bookshelf, 2006.

    [41] Jeffrey K. Liker.O modelo Toyota: 14 princípios de gestão do maior fabri- cante do mundo. Bookman, 2005.

    [42] Robert C. Martin.Código limpo: habilidades práticas do Agile software.

    Alta Books, 2011.

    [43] Robert C. Martin.O codificador limpo: um código de conduta para pro- gramadores profissionais. Alta Books, 2012.

    [44] Fabrízio Mello. Database refactoring.https://codingbyexample.

    wordpress.com/2013/07/29/database-refactoring/, 2013.

    [45] Fabrízio Mello. Bad smells em bancos de dados.http://www.slideshare.

    net/fabriziomello/xpconf-42476328, 2014.

    [46] Sun Microsystems. Development at the speed and scale of goo- gle.http://www.oracle.com/technetwork/java/javase/documentation/ codeconvtoc-136057.html, 1997.

    [47] Dan North. Introducing bdd.http://dannorth.net/introducing-bdd/, 2006.

    [48] Roman Pichler.The three m’s: the lean triad.http://www.infoq.com/ articles/lean-muda-muri-mura, 2008.

    [49] Roman Pichler. 10 tips for writing good user stories.http://www.

    romanpichler.com/blog/10-tips-writing-good-user-stories/, 2010.

    Página 160

    Casa do Código Referências Bibliográficas [50] Mary Poppendieck; Tom Poppendieck.Implementando o desenvolvi- mento Lean de software. Bookman, 2011.

    [51] Jeff Sutherland; Ken Schwaber. Scrum guides.http://www.scrumguides.

    org/, 2015.

    [52] James Shore.The decline and fall of agile.http://www.jamesshore.com/ Blog/Th e-Decline-and-Fall-of-Agile.html, 2008.

    [53] James Shore.That funky metaphor stuff.http://www.jamesshore.com/ Blog/Th at-Funky-Metaphor-Stuff.html, 2008.

    [54] James Shore.The art of agile development: Spike solutions.http://www.

    jamesshore.com/Agile-Book/spike_solutions.html, 2010.

    [55] Jeff Sutherland. I am jeff sutherland, the co-creator of scrum. ask me anything!http://www.reddit.com/r/IAmA/comments/2hw05i/i_am_ jeff_sutherland_the_cocreator_of_scrum_ask/, 2014.

    [56] Ron Jeffries; Jeff Sutherland. A two day deep dive into agile: Scrum, extreme programming(xp) and lean steps to software development suc- cess.http://www.gbcacm.org/deep/deepagile2007/, 2007.

    [57] Nikhil Swaminathan. Why does the brain need so much power?http:

    //www.scientificamerican.com/article/why-does-the-brain-need-s/, 2008.

    [58] Linus Torvalds. Linux kernel coding style.https://www.kernel.org/doc/ Documentation/CodingStyle.

    [59] Don Wells. Extreme programming: a gentle introduction.http://www.

    extremeprogramming.org/, 1999.

    [60] Daniel Wildt. Quer praticar programaç ão? co- ding dojo! http://blog.danielwildt.com/2013/06/06/ quer-praticar-programacao-coding-dojo/, 2013.

    [61] Rafael Helm; Daniel Wildt. Histórias de usuário.http://www.

    historiasdeusuario.com.br/, 2014.

    Página 161

    Referências Bibliográficas Casa do Código [62] Alistair Cockburn; Laurie Williams.The costs and benefits of pair pro- gramming. 2001.

    [63] Klaus Wuestefeld. L and c: learning and coolness.http:

    //klauswuestefeld.blogspot.com.br/2010/07/l-learning-and-coolness.

    html, 2010.

    [64] Edson Yanaga. Manifesto for software craftsmanship.http://manifesto.

    softwarecraftsmanship.org/, 2009.

    [65] Edward Yourdon.Death march. Prentice Hall, 2003.

  • Uma família ingleza Scenas da vida do Porto

    Uma família ingleza Scenas da vida do Porto

    Aproximadamente 124.879 palavras.

    VI

    AO DESPERTAR DE CARLOS

    Jenny ficou ainda por muito tempo immovel junto da porta, onde se
    despedira do pae. O olhar corria-lhe pelos objectos que a rodeiavam; o
    pensamento porém não acompanhava o olhar.

    Aquellas feições, em que se podia reconhecer, mysteriosamente, combinada
    á candura de uma creança não sei que severidade, toda maternal, tomavam
    agora um ar de preoccupação e melancolia, uma d'essas sombras, que as
    ideias graves parece projectarem no semblante de quem não aprendeu a
    dissimulal-as.

    Jenny presentia haver chegado uma nova occasião de ser necessario
    intervir com a sua influencia pacificadora e angelica para dissipar a
    nuvem, embora tenue, que assomava no horizonte domestico.

    Exercera já de um dos lados essa influencia, conseguira adoçar as
    disposições acerbas de Mr. Richard para com o filho; faltava-lhe porém o
    resto, estava ainda incompleta a obra; era preciso ensaial-a sobre
    Carlos tambem.

    E Jenny, que bem conhecia o irmão, tinha fé em que o não tentaria
    debalde.

    Rompia porisso um raio de confiança por entre as sombras d'aquella
    preoccupação.

    Foi n'este estado de espirito que chamou André para que fosse acordar o
    irmão.

    André era o mais antigo criado da casa, especie de mordomo jubilado, que
    servia Mr. Whitestone desde o seu estabelecimento no Porto e trouxera já
    ao collo os dois filhos do inglez.

    –Vá,–disse Jenny–diga a Charles que eu o espero na bibliotheca.

    Carlos dormia tranquillamente, quando o velho André lhe entrou no
    quarto. A respiração profunda, pausada e regular denunciava um somno,
    livre de pesadelos e de sonhos importunos.

    O criado, depois de escutar algum tempo aquelle som, unico que, com o do
    bater da pendula vizinha, se percebia no quarto, caminhou com precaução,
    bem escusada a quem vinha para despertar, até uma das janellas, que
    entreabriu.

    Espalhou-se então no aposento uma meia claridade, coada através das
    longas cortinas que, soltas das abraçadeiras douradas, rojavam pelo
    tapete.

    Pôde então o velho observar a completa desordem que ia n'aquella sala.

    Estes raios de luz, menos felizes do que os evocados pelo _fiat lux_ do
    _Genesis_, póde dizer-se que vieram ainda illuminar um cháos; pois
    difficilmente se encontraria mais apropriada expressão para designar o
    aspecto do aposento, a cuja vista se dissolveu em sorrisos toda a sisuda
    gravidade, desenhada nos labios e nas feições do mordomo.

    A scena, de facto, escapa á mais esmiuçadora descripção.

    Parecia que todos os objectos, alli contidos, haviam, durante a noite,
    entrado em dança phantastica, de tal sorte os surprendera o dia,
    deslocados da natural situação.

    As cadeiras, amontoadas em desordem no meio da sala, haviam usurpado as
    attribuições dos guarda-roupas; estes, abertos de par em par,
    patenteavam o interior desordenado e quasi vazio, como após um saque de
    cidade conquistada.

    Nas mesas, nos sofás, em _voltaires_, no chão, por toda a parte emfim,
    menos nos logares competentes, via-se casacos, coletes, calças, mantas
    de differentes côres e feitios. O pavimento achava-se literalmente
    alastrado de objectos de impossivel enumeração; aqui, umas luvas,
    calçadas pela primeira vez na vespera e já postas de lado como inuteis;
    alli, alguns ramos de flores desfolhadas e murchas, cuja posse,
    procurada talvez com incansavel insistencia, trouxe depressa após si o
    abandono e o esquecimento; n'outros pontos, charutos meio consumidos, os
    fragmentos de uma preciosa jarra de porcelana da India, um livro, que
    commettera o delicto de não excitar a curiosidade, uma cadeira derrubada
    com o fardo que lhe pesou sobre o espaldar; cartas, collarinhos,
    retratos, lenços, chicotes. As esporas no logar do relogio; este pousado
    na beira do marmore do fogão; sobre o leito, um dominó de setim;
    pendente á cabeceira, o jornal da vespera e um longo cachimbo com tubo
    de gutta-percha; aos pés polvorinho de caça, o robe-de-chambre de
    damasco e o teliz da horsa favorita; no velador, um tinteiro de prata,
    transformado em cinzeiro de charutos; um chapéo pendurado na chave da
    porta; o candieiro no chão, alguns livros e mappas geographicos quasi
    debaixo da cama. Um _abat-jour_ de cartão envernizado com figuras
    extravagantes, representando chins em posições todas chinezamente
    ridiculas, servia de barrete ao busto de Shakespeare, cujo pescoço
    estava além d'isso diplomaticamente enfeitado com uma gravata de baile;
    defronte, Byron, coberto com chapéo de feltro de abas largas, o qual lhe
    pendia galhardamente sobre a orelha esquerda, parecia fitar com
    petulancia o seu illustre conterraneo; no outro angulo, era aquella
    figura séria e bondosa de sir Walter Scott, com não sei que ares de
    acanhado debaixo do barrete turco, que a guerra da Crimeia pozera então
    á moda; e finalmente um quarto busto occultava, sob mascara de setim
    preto, a expressão de candura e de soffredora tristeza do cantor dos
    combates dos anjos e demonios, o sublime Milton.

    Dir-se-hia que estes grandes personagens da litteratura ingleza,
    obedecendo á voz do carnaval, haviam surgido da sepultura, para virem
    celebrar tambem entre si, com as suas cabeças pallidas, a mais estranha
    mascarada.

    No meio de toda esta confusão, um enorme _terra-nova_, de ventas
    leoninas e corpulencia de touro, languidamente recostado nas molles
    almofadas do sofá luxuoso, pousava as patas musculosas e pelludas sobre
    um magnifico album de gravuras, com a mais absoluta irreverencia pela
    preciosidade, que assim lhe servia de cabeceira e de estrado.

    Imagine-se o resto.

    André, o methodico André, sorria e abanava a cabeça no meio de tanta
    desordem. Demorou-se alguns instantes a examinar todo aquelle
    desarranjo, que bem simulava os vestigios de recente lucta; depois
    caminhou para o leito, afastou vagarosamente, de má vontade ainda, as
    cortinas brancas, que o resguardavam, e curvando a cabeça, fitou os
    olhos na fronte espaçosa e liza de Carlos, sem que se resolvesse a
    acordal-o de dormir tão tranquillo.

    Carlos tinha a physionomia sympathica e expressiva. O melhor do typo
    saxonio encontrava-se alli. Os cabellos louros, curtos e naturalmente
    annelados, deixavam-lhe livre a fronte ampla, de bossas proeminentes, e
    cujos angulos se prolongavam por sobre as temporas; as côres eram do
    alvo delicado, proprio dos typos septentrionaes; o nariz de perfil, em
    que não entrava o elemento da mais desvanecida curva; os labios, algum
    tanto grossos e levemente encrespados n'um sorriso, entre ironico e
    affectuoso, prompto a caracterisar-se com facilidade igual n'um ou
    n'outro d'estes sentidos; as palpebras longas, salientes e nas quaes, em
    curvas azuladas, transparecia uma rede de pequenas veias, e em torno ás
    orbitas o circulo de côr desmaiadamente rôxa, vestigio de longas noites
    de agitadas vigilias; taes eram os traços principaes d'aquella
    physionomia aberta e attrahente, que, em alguns d'elles, offerecia o que
    quer que era de Byron. Os olhos, n'aquelle momento velados, possuiam
    fogo correspondente á vivacidade do espirito que os animava; as feições,
    paralysadas agora pelo somno, gosavam em vigilia de mobilidade extrema e
    eloquente, outro ponto de analogia com as do poeta inglez, segundo a
    crença dos seus biographos.

    André acabou emfim por o chamar, mas com voz, que parecia de quem
    desejava não ser escutado.

    –Snr. Carlos–disse elle.

    Apesar de pronunciada em tom baixo, e quasi a mêdo, bastou esta palavra
    para o despertar.

    Abriu immediatamente os olhos, fitou-os no criado e, estendendo os
    braços n'aquelle quasi involuntario movimento, com que todas as manhãs
    despedaçamos as ultimas cadeias com que nos algema o somno, deixou-lh'os
    cair em volta do pescoço, como para apoiar-se, dizendo ainda com voz mal
    distincta:

    –Bons dias, André. Que horas são?

    –Meio dia.

    Foi a resposta que obteve, acompanhada de significativo sorriso.

    –_Save us!_–exclamou Carlos, imitando a despenseira ingleza, de quem
    era esta a phrase habitual, e ao mesmo tempo voltou os olhos para o
    relogio fronteiro, o qual, como em resposta a esta mimica
    interrogatoria, bateu doze lentas e sonoras pancadas.

    –Pois não me parecia–continuou Carlos, ao acabar de contal-as.–Ia até
    estranhar-te a madrugada, sabes tu? E… e… o pae?

    –Saíu já.

    –E… e que disse?

    André encolheu os hombros, respondendo:

    –Nada.

    Era a maneira de exprimir que alguma cousa dissera.

    Carlos comprehendeu isto mesmo, mas não perguntou mais nada.

    –Toca a pôr a pé, que são horas!–dizia o André, occupando-se a
    levantar alguns dos objectos que via pelo chão.

    –Deshumano, cruel, que me recordas?–respondeu-lhe Carlos em tom de
    recitação tragica.

    –Vamos, vamos, preguiçoso.

    Carlos abriu ainda outra vez a bôca em gesto quasi sentimental de
    despedida ao somno que se afastava; afagou com a mão o colossal
    _terra-nova_, que veio pousar-lhe a cabeça nos joelhos, e abriu ao acaso
    o livro que encontrou á mão, um romance de Dickens, do qual leu algumas
    linhas distrahido.

    –Então?–insistiu o André, vendo-o pouco disposto a levantar-se–Fica
    ahi?

    –Vae-me buscar o almoço, homem. Traze-me só café. Parece-me que inda
    agora terminei aquelle turbulento jantar de hontem.

    –Então quer almoçar aqui?

    –E julgo que é uma resolução muito louvavel.

    –Mas…

    –Mas o quê?… Que objecções lhe pões? Falla.

    –É que miss Jenny espera-o na bibliotheca.

    Carlos de um salto sentou-se na cama.

    –Ó pateta! e inda agora me vens com isso? Depressa–chega-me d'ahi esse
    robe-de-chambre.–Isso não… não vês que é um dominó?… Anda…
    avia-te… Aquelle lenço… O outro… Bem… Vae… Dize a Jenny que
    n'um momento estou com ella.

    E depois de proceder com a maior celeridade áquelle ligeiro _toilette_
    de manhã, Carlos entrou na bibliotheca, onde Jenny o esperava.

    Era n'esta bibliotheca que muitas vezes os dois irmãos se entregavam a
    leituras communs, restos de habitos adquiridos na infancia, quando pelos
    mesmos livros estudavam, formando um gracioso grupo de cabeças louras,
    objecto das contemplações apaixonadas e das bençãos cordiaes de Mr.
    Richard Whitestone.

    –Bom dia, Charles–disse Jenny, estendendo-lhe a mão, que elle apertou
    affectuosamente.

    –Fiz-te esperar muito, filha? Perdôa-me; mas aquelle pateta não soube
    dizer-me logo que tu…

    –Desculpa mandar-te acordar, mas…

    –Fizeste bem; senão, dormiria até á noite.

    –Vieste hontem muito tarde, Charles–disse Jenny, abaixando-se
    disfarçadamente para acariciar o _terra-nova_, que se lhe deitára aos
    pés.

    –Pois ouviste-me?

    –Ouvi.

    –Então acordei-te, Jenny? Não foi por falta de cautela, porém… sempre
    sou um desastrado!

    –Não, não acordaste. Eu não tinha adormecido ainda.

    –Não tinhas adormecido! Ás quatro horas! Estiveste doente, Jenny?

    –Não, mas…

    Carlos olhou para a irmã com uns modos, que procurou tornar severos.

    –Querem ver que foi por minha causa?… Então que te tenho eu dito,
    Jenny? Fico de mal comtigo se tornas a ter essas canceiras por mim, a
    ponto de…

    –Não, não foi por canceira, é que…

    –É que tu és uma teimosa e o que merecias…

    –Não se trata agora d'isso. Dize-me: vens hoje mais cêdo?

    –Hoje! Á terça-feira de entrudo! Ó Jenny! Deixa ao menos passar o
    carnaval, deixa já agora acabar esta maldita época, e depois… depois
    verás que hei de ficar muitas noites em casa ao pé de ti e de… Tens-te
    enfastiado muito aqui só, não tens, pobre pequena?

    –Ora, não fallo por mim; mas… é que… isso faz-te doente por certo,
    Charles. Esses jantares tão longos… Essas noites tão mal dormidas…

    –A mim?! A mim nada me faz mal, filha; lá por isso…

    –E depois… Olha, Charles, ha devéras tanto tempo já que te não vemos
    comnosco, á noite… Não é por mim que fallo, repito; mas o pae… bem
    sabes, antigos habitos… gosta de nos ver reunidos todos… a certas
    horas. Coitado! Não digo sempre, mas… ás vezes, de quando em quando,
    se te não custasse…

    –Pois sim, Jenny, pois sim. Deixa voltar o verão, que eu prometto…
    prometto que, muitas vezes até, hei de fazer o que dizes. Mas as noites
    de inverno! As noites de inverno, não obstante tudo quanto imaginou
    aquelle bom Thomson nas suas _Estações_, são tão longas para se passarem
    em casa!

    –As de estio… depois… já sei… has de achal-as tão formosas que…

    –Não–replicou Carlos, sorrindo;–então depois de eu te prometter havia
    de… Mas, olha cá, Jenny, tu és muito boa, e já sei que me vaes até
    ralhar por o que eu vou dizer; mas deves concordar em que de facto é
    pouco agradavel, para um rapaz da minha idade pelo menos, a maneira por
    que o pae costuma passar aqui as suas _soirées_. Aquelle eterno _Times_,
    aquelle _Times_ sem fim aterra-me, Jenny. A _Biblia_ é um livro que
    respeito e admiro, mas tremo um pouco das paraphrases dos nossos
    reverendos lettrados; confesso que tremo. O _Tristam Shandy_ do Sterne
    já o sei de cor; no _Tom Jones_ de Fielding, quando o não tivesse ainda
    lido, não haveria já capitulo de que não fosse bem informado, á força de
    o ouvir citar; e, a fallar verdade, ter de passar uma noite a escutar,
    mais uma vez, os commentarios a um e outro, com que fatalmente nos
    flagella o inesgotavel enthusiasmo paterno… a fallar verdade!

    –Charles!–disse Jenny, em tom reprehensivo.

    –E para cumulo dos males–proseguiu Carlos–estar sempre debaixo da
    permanente ameaça de uma visita do _spleen_ de Mr. Morlays ou da, não
    menos para temer, jovialidade de Mr. Brains, Heraclito, e Democrito,
    inglezes que o sabor nacional tornou mais difficeis de digerir ainda, do
    que os proprios philosophos gregos. Ahi está o que me faz procurar
    aquelles logares onde, como diz Thomson: «sussurra um publico, possuido
    de todos os assumptos, e animado de mixtos discursos».

    Jenny não pôde deixar de sorrir ás reflexões do irmão; mas, como para
    diminuir o effeito d'esta fraqueza, apressou-se a dizer-lhe:

    –Pois sim, Charles; mas nem hontem! Hontem, na verdade!… no dia dos
    teus annos!…

    –Então que queres, menina? Não me lembrei de tal, realmente. Acredita.
    Reputo tão pouco motivo para festas o facto do meu nascimento!

    –Mas os que te estimam formam melhor opinião d'esse dia. Nem lhes
    queres dar o prazer de t'o affirmarem?

    –Daria se… se me lembrasse.

    –O pae destinava-te uma surpreza. Coitado! Fez-me pena a maneira por
    que elle me encarregou, ainda ha pouco, de te entregar este
    relogio–disse Jenny, passando para as mãos do irmão o presente de Mr.
    Richard.

    –Devéras?! Pois elle… Pobre pae! Vês? E eu que lhe roubei esse
    prazer! Ai Jenny, esta minha cabeça! Tu inda ao menos sabes o que me vae
    no coração, não é assim?

    –Sei, Charles, sei.

    –Mas os outros…

    –Todos te fazem justiça, só tu é que…

    –Mas repara, Jenny, é um relogio magnifico este; pois não é?! Bem; não
    ha que ver, snr. Carlos; é preciso que pela sua parte faça alguma cousa
    tambem. Está dito; não esperarei pelo verão. O carnaval está a expirar;
    acabando elle … penitenciar-me-hei na quaresma.

    –O carnaval! Muito divertidos devem ser esses bailes de mascaras, para
    assim te attrahirem, Charles!

    –Enganas-te, Jenny; são insipidos, mas… Tu não pódes talvez entender
    isto, que não obstante é exacto… são insipidos, mas irresistiveis ao
    mesmo tempo.

    –Ora!

    –Acredita-me. Rara é a noite em que me não encho de tédio, em que não
    morro de semsaboria no meio d'aquelle infernal tumulto, e então, se de
    lá me lembro de ti, do socego dos teus serões, do silencio das tuas
    noites, do teu bonito quarto côr de violeta, pergunto a mim mesmo,
    Jenny, por que me conservo longe d'alli, o que me afasta das portas
    d'esse paraizo, voluntariamente perdido por este louco, que nem merece
    ser teu irmão. Sinto vontade então de soltar uma lamentação como a de
    Eva por errar n'um mundo, que ao pé do teu, Jenny, é tambem obscuro e
    selvagem; por estar a respirar n'um ar bem menos puro.–Não é assim que
    diz o Milton?–E comtudo não tenho nenhum archangelico poder a impôr-me
    a expatriação. Vês?

    –Estás a gracejar, Charles?

    –Acredita que não. Outros te poderiam dizer o mesmo se…

    –E é isso que te conservou por lá, ainda hoje, até ás quatro horas da
    manhã?

    –Hoje? Ah, mas… perdão, Jenny; tudo tem suas excepções. A noite de
    hontem, por exemplo, não me deixou desagradavel memoria de si; devo
    confessal-o.

    –Então?

    –Então… é que eu tenho que te contar, e se tiveres a paciencia de me
    escutar e prometteres não me ralhar muito…

    –Ah! pois temos culpas?

    –Eu sei? Desconfio tanto de mim, que já me não atrevo a affirmar que
    procedesse bem. Mas tu o dirás.

    Jenny sorriu.

    –Ouçamos–disse ella, preparando o almoço, que um criado acabava de
    trazer para a sala.

    VI

    REVISTA DA NOITE

    –Como te disse, Jenny,–principiou Carlos, procedendo áquelle
    extemporaneo almoço, ás horas a que muita gente encetava a séria e
    importante tarefa da digestão do jantar–hontem correu-me a noite mais
    agradavel que de costume.

    –Sim? Então que te succedeu?

    –Eu te conto. Levantamo-nos da mesa ás onze horas; foi um longo jantar,
    ao qual os brindes continuados não deixaram nunca desfallecer a
    animação. Entrei no theatro, um pouco atordoado e um pouco pezaroso;
    atordoado pelos effeitos excitantes d'aquellas muitas libações e
    d'aquelle ruído todo…

    –E pezaroso…

    –Com os remorsos que a tua carta me veio despertar.

    –Ah!… remorsos?!…

    –Afianço-te que os tive. N'estas disposições de animo parecia-me um
    inferno o theatro, verdadeiros demonios aquellas insulsas mascaras,
    gritos de condemnados as desafinações da orchestra…

    –E ficaste?

    –E fiquei; fiquei, ancioso por que o final do divertimento me
    auctorisasse a retirada. Já vejo que nem ideia fazes sequer d'estas
    cousas, que aliás são verdadeiras. Deixa-me continuar.

    –Continúa–disse Jenny, folheando ao acaso um livro de gravuras
    inglezas, que estava na mesa.–Mas é devéras estranha essa maneira de te
    divertires… martyrisando-te.

    –É, confesso que é. Mas outros muitos estão n'este caso; pódes crel-o.

    –Bem; vamos adiante–replicou Jenny, fitando os olhos nas lettras
    douradas da brochura.

    Carlos proseguiu:

    –Deixei os meus companheiros e sentei-me extenuado; nem queria ver, nem
    apreciava nada do que em torno de mim succedia. A final, porém, por
    fazer alguma cousa, reparei nos vizinhos de hombro a hombro, entre quem
    a sorte me arrojára.

    Jenny ergueu para o irmão a vista, com um modo particular.

    –Do lado direito, encontrei um homem gordo, que dormia. Como a
    felicidade alheia não é espectaculo de que nos venha conforto, quando o
    infortunio nos punge, desviei com despeito os olhos d'esta
    bemaventurança e voltei-os…

    –Para o lado esquerdo?

    –Justamente; para o lado esquerdo.

    –E… e o que achaste d'esse lado do coração, Charles?–perguntou
    Jenny, sorrindo.

    –Ai, Jenny! ai, minha pobre irmã! prepara a tua santa paciencia, que
    aqui venho eu confiar-te mais uma das minhas paixões.

    –Eu logo vi; não sei porque foi que t'o estava a ler no rosto. Então é
    devéras uma paixão?

    –Receio que sim.

    –Pobre Charles! Que fatalidade!

    –Estás a rir?–disse Carlos, sorrindo tambem e estendendo a chavena
    para a encher outra vez–Ora ouve. Ao meu lado esquerdo, do lado do
    coração, como dizes, estava um dóminó feminino, fitando-me de uma
    maneira … como nem te sei dizer… e com uns olhos… mal sabes que
    bonitos olhos eram aquelles, Jenny!

    –Os da mascara?–perguntou Jenny, preparando a chavena.

    –Não; os da mascarada, os quaes eu percebia através das aberturas
    oculares da elegante mascara de setim preto que ella trazia. A cabeça
    descaía-lhe ligeiramente sobre o hombro em postura de tanta languidez e
    melancolia, e n'esta posição a sêda da mascara descobria-lhe um canto de
    labios e um principio de collo tão bem modelados, que eu não pude
    desviar mais d'alli o olhar extasiado, e… e… Então que quer dizer
    agora esse teu sorriso, Jenny?

    –Estou a admirar a rapidez com que te apaixonas e extasias.

    –É que não imaginas que bonito cortôrno o d'aquelle rosto; não
    imaginas! Eu digo-te uma cousa, Jenny; bem sei quantas illusões andam
    ligadas á mascara de sêda, que, por descuido estudado, se afasta um
    pouco, o preciso… o conveniente… Porque na maior parte dos rostos ha
    pequenos pontos fracos, que a mascara artificiosamente occulta, deixando
    só apparecer as perfeições. Conheço que é facil illudir-se então o olhar
    e phantasiar-se falsamente o todo pela parte que se póde ver, conheço…

    –Basta, basta, Charles. Pena é que de tão pouco te sirva o tanto que
    conheces, visto que ainda hontem…

    –Hontem não havia, não podia haver illusão. Isso é que não. Aquella
    cabeça não era d'essas cabeças buliçosas, como folhas de alamo, que
    morrem por ser adivinhadas. Era uma cabeça scismadora, melancolica,
    cheia de sentimento, estremecendo a cada belleza que, com pezar seu, não
    podéra occultar…

    –Ah! Que singular cabeça!

    –E depois ha certos extremos de perfeição, que a natureza, quando os
    cria, não os vae desperdiçar assim em qualquer rosto, que nas mais
    feições destroe d'esses primores parciaes. E n'este caso estava tudo o
    que eu vira do perfil da minha sympathica vizinha, a quem dirigi a
    palavra!

    –A quem dirigiste a palavra!

    –Sim; que achas tu de extraordinario n'isto, para fazeres esse
    movimento? N'um baile de mascaras prescinde-se das apresentações,
    ridicula invenção da etiqueta, que eu desconfio ser originaria da nossa
    diplomatica Inglaterra.

    A reflexão historica transformou n'um sorriso o movimento de surpreza de
    Jenny.

    Carlos continuou:

    –E depois vaes ver que tudo quanto lhe disse podia bem ser repetido á
    mais ingenua lady n'um dos nossos bailes de familia. A final de contas,
    irmanzita, eu, que arranjei por ahi, não sei bem como, a reputação de
    atrevido, tenho ainda canduras, de que muitos dos mais timidos se riam
    já aos quinze annos.

    Esta confissão, na qual alguma cousa havia verdadeira, desafiou em Jenny
    um gesto de duvida, que o mesmo sorriso affectuoso veio porém suavisar.

    –Olha que é assim–proseguiu o irmão–e senão… escuta. Como te disse,
    fallei á minha sympathica vizinha. Perguntei-lhe se estava muito
    fatigada. Ahi tens; a pergunta é mais do que ingenua, é quasi ridicula.
    Que lhe censuras tu?

    –A essa, de certo que nada. E depois?

    –Ella respondeu-me:–«Bem mais fatigada d'isto tudo do que esperava,
    vindo aqui, snr. Carlos.»

    –Como disseste?… Snr. Carlos?!

    –É verdade, «snr. Carlos». Sabia o meu nome a mysteriosa incognita;
    sabia o meu nome! Está de ver que augmentou a minha curiosidade.
    Continuando a conversar, vim a saber d'ella que tinha vindo alli
    acompanhada de outros dóminós femininos, cujo humor mais galhofeiro
    contrastava com aquella melancólica seriedade. Ficamos a conversar um
    com outro, amigavelmente, innocentemente, assim como eu converso agora
    comtigo. E… queres que te diga? havia até alguma cousa do teu fallar,
    maneiras de dizer tuas, na conversa d'aquella rapariga; e era isto
    talvez o que me impunha certo acatamento para com ella, de que não podia
    livrar-me. Não imaginas a graça, o bom senso, a viveza, que revelou em
    todo aquelle dialogo commigo. Mostrou-se muito informada a meu respeito
    e até a respeito da nossa familia; houve um momento, em que deu mostras
    de querer fallar de ti; eu porém evitei a conversa…

    –Porquê?!–perguntou Jenny, fingindo-se offendida.

    –Porque…–balbuciou Carlos embaraçado, e depois, com mais resolução,
    continuou:–Digo-te a verdade Jenny; respeito-te muito; tenho por o teu
    nome uma veneração muito grande, para que me fosse agradavel ouvil-o
    pronunciar n'aquelles logares, e pronunciado de mais a mais por…–não
    obstante o favoravel conceito que continuo a fazer da
    desconhecida–mas… por labios que… não sei ainda… que não tenho a
    certeza se serão dignos d'isso. Passadas duas horas talvez n'este
    inoffensivo conversar, chegaram, já fartos de alvorotar o salão, alguns
    dos rapazes, que me tinham acompanhado. Foi-me pouco agradavel,
    confesso-o, a presença dos meus amigos e sobretudo desagradabilissimos
    os galanteadores conceitos que dirigiram á minha interlocutora e os
    gracejos com que a respeito d'ella me mimosearam.

    –Coitada!

    –Coitada? Ai, se já principias assim a lamental-a … mal vae á minha
    historia.

    –Pois acaso?…

    –Escuta. Ao principio, ella não mostrou timidez; sustentou com
    vivacidade o dialogo, aparando e retribuindo triumphantemente os
    galanteios, que elles lhe dirigiram. Mas a lucta era desigual; porque
    emfim os contendores, n'esta esgrima de palavras, tinham de reserva
    armas, de que ella não podia servir-se. Foi então, ao reconhecer isto,
    que se mostrou inquieta e ergueu-se para retirar-se; seguimol-a; á porta
    do salão ella e as companheiras voltaram-se, viram-nos e pareceram
    atemorisadas. Ella então, a desconhecida, dirigiu-se a mim e pediu-me
    que lhes servisse de protector, appellou para a minha generosidade e
    eu…

    –Tu protegeste-as, não é verdade?–disse Jenny, juntando as mãos, e
    fixando no irmão um olhar de sympathia–Protegeste, não protegeste?

    –Fui, fui um D. Quixote de donzellas perseguidas. Então que queres tu?
    Não te dizia eu que havia ainda em mim muito da candura dos quinze
    annos?

    –Não te arrependas, Charles, não te arrependas de ser generoso.

    –É certo que consegui afastar os meus associados, o que não foi pequena
    tarefa; fiz valer porém os direitos de descobridor e prometti-lhes
    revelar o segredo d'aquella mascara, segredo cuja investigação me
    competia. Feito isto, segui-as. Ao principio tudo foram effusões de
    gratidão á minha nobreza de caracter, ao meu coração, aos meus
    sentimentos, etc., mas, quando nos livramos das ruas mais centraes e
    passou o perigo da perseguição que temiam, tudo mudou de figura e
    principiaram já a pedir-me para tambem me retirar. Esta ingratidão
    offendeu-me e recusei… Então? ahi estás séria outra vez!

    –E com razão, Charles. Pois pediam-te e tu… Isso já não é de
    generoso… Quem sabe os motivos?

    –Perdôa-me, Jenny; tu é que não sabes nada d'estas cousas. Pouco
    generosas eram ellas. E demais, esses pedidos seriam sinceros? A regra é
    recusal-os sempre; e está certa de que quasi nunca a recusa offende.

    –Basta que uma vez…

    –Mas repara, Jenny… Valha-me Deus!… Ora vem cá. Tu estás-me ahi a
    phantasiar uns bailes de mascaras á tua moda. Suppões que todos estes
    dóminós eram… eu sei lá… outras tantas princezas disfarçadas ou
    outras Jennys como tu.

    –Pois bem, uma vez que o disseste, vamos que era eu?…

    Carlos previu o mau terreno, em que se collocava, admittindo a hypothese
    e porisso interrompeu a irmã, dizendo:

    –Mas não supponho, nem posso suppôr, porque… porque ainda ninguem viu
    uma Jenny n'aquelles logares; e demais ouve, que eu não sou ainda assim
    merecedor de tantas severidades. Teimei, como disse, em seguil-as; para
    desistir, exigia conhecel-as; ellas porém recusaram tirar a mascara e
    sobretudo a tal, que eu mais desejava saber quem era. Ás tres horas e
    meia estavamos aqui defronte de casa, aonde me tinham trazido
    manifestamente para me tentarem a entrar. Resisti á tentação e transpuz,
    sem hesitar, a porta, continuando a seguil-as. As companheiras da minha
    incognita levavam já o caso a rir e acredito que não poriam grande
    duvida em darem-se a conhecer; ella porém mostrava-se… ou fingia-se,
    deveras afflicta; dirigiu-se a mim e de mãos juntas pediu-me que me
    retirasse.

    –E tu?…

    –Eu… eu recusei.

    –Ó Charles!

    –Ouve. Ella insistiu. Disse-me que lhe poderia fazer muito mal se
    teimasse, e eu insisti…

    –Como és ás vezes tão mau!

    –Mas se eu não acreditava na sinceridade d'aquelles mêdos, e agora
    mesmo… Mas a final, a rapariga disse-me com uma voz chorosa e na qual
    me pareceu descobrir tanta sinceridade: «–Peço-lhe este favor por…»
    Adivinhas por quem ella me foi pedir?

    –Não.

    –«Peço-lhe este favor por sua irmã, por Jenny»; sim, por ti, foi por ti
    que ella me pediu e fêl-o ajuntando as mãos com tal candura, que eu…
    Precisas de perguntar-me se condescendi d'esta vez?

    Jenny estendeu a mão ao irmão.

    –Obrigada. A final o bem triumpha sempre no teu coração. Estava certa
    d'isso.

    Carlos baixou a cabeça, como mortificado com estes louvores da irmã.
    Dir-se-hia que aquellas palavras lhe estavam a fazer sentir remorsos,
    longe de os desvanecerem.

    Depois de uma hesitação de momentos, terminou por dizer, com evidente
    enleio:

    –Olha, Jenny… eu por fim de contas não sou homem para aceitar
    louvores que não mereço… repugna-me esta hypocrisia; custa-me deveras,
    mas… sou forçado a dizer-te que… que não sou digno d'esses
    applausos.

    –Porquê?

    –Porque… alguma cousa se passou… Eu não disse tudo ainda e… É
    verdade que… condescendi… sim… mas não tão desinteressadamente
    como… sim… porque exigi… usurpei… á maneira de compensação…

    –O quê?

    –Um beijo, ao qual a pobre rapariga não retirou a tempo a face e que a
    lançou n'uma especie de desespêro, fingido talvez, de certo… mas bem
    fingido…

    Jenny reproduziu o gesto de desgosto.

    –Mas não me condemnes, Jenny,–apressou-se Carlos a acrescentar–porque
    a final eu nem lhe vi o rosto, e estou provavelmente condemnado a nunca
    descobrir quem ella seja. Além d'isso cumpri religiosamente o
    promettido, renunciando a acompanhal-a, o que me custou devéras; ainda
    hoje me preoccupa o olhar, a voz d'aquella rapariga e quasi lamento…
    Vamos, não continues a olhar-me d'esse modo. Pois recusas perdoar-me,
    quando eu…

    –A fallar verdade, mereces bem pouco que te perdoem. Mas, como cedeste
    em meu nome, quasi me tiraste o direito de ser severa. O final… o
    final… na verdade…

    –E vês o meu endurecimento na culpa? foi isso de toda a aventura o que
    me deixou mais agradavel memoria de si…

    –Então!–disse Jenny, batendo-lhe com o livro na mão–Olha se queres
    que retire ainda o perdão que já te dei. Que mais terás a pezar-te na
    consciencia? aproveita o ensejo d'esta minha disposição benevola.

    –Julgo que não tenho mais nada.

    –Ahi está uma alma com excellente opinião de si! Visto isso, tens
    cumprido todos os teus deveres?

    –Mas… deveres de que genero?

    –Que pergunta! Pois nem sabes os deveres que tens?! Maus indicios!
    Deveres de christão, de cidadão, de filho, e de…

    –O que ahi vae! o que ahi vae! Por quem és, Jenny! vamos por partes,
    senão…

    –Pois bem, quero fallar-te agora só de uns, que me parece teres
    descurado um pouco.

    –Falla.

    –Dize-me: tens ido ao escriptorio?…

    –Ai, o escriptorio!–disse Carlos, rindo–Então era d'isso que me
    querias fallar? Bem longe estava eu de pensar no escriptorio.

    –Tens lá ido?

    –Eu não.

    –Não!

    –Ha já bastante tempo que lá não vou, ha… mas… achas isso grande
    peccado?

    –E pergúntal-o? Não é o trabalho um dever?

    –O trabalho será.

    –Então…

    –É que faz sua differença. Tu não sabes como eu trabalho no
    escriptorio? É outra d'essas imposturas sociaes, que me fariam rir
    devéras, se não fossem tão fastidiosas. É preciso que saibas, minha boa
    Jenny, que no escriptorio, o trabalho real, o trabalho util, o
    trabalho–trabalho, está encarnado na pessoa de Manoel Quentino. Esse
    sim. É quem alli faz tudo, quem a tudo dá solução, e parece-me que o
    unico até capaz de o fazer. Exige-se que eu vá lá tambem, não para
    trabalhar; a minha cooperação o mais que faz é impacientar o bom do
    homem, distrahir os outros caixeiros e alterar a ordem methodica dos
    papeis commerciaes. Eu vou só para fingir que entro n'aquellas cousas,
    para representar de commerciante, embora não penetre em nenhum dos
    segredos ou transacções, em que anda empenhada a firma. Hoje lembram-se
    de me communicar o principio de certo negocio, do qual se julgam depois
    tão dispensados de dizer-me o resultado, como eu de perguntar por elle;
    ámanhã, dar-me-hão parte da conclusão de outro, cuja existencia eu
    ignorava ainda. Ora aqui tens como eu sou commerciante. O pae gosta de
    me ver lá em baixo, como representante da firma Whitestone & C.ª, e mais
    nada. Chego ao escriptorio, abro a janella, mostro-me ao publico como
    uma especie de taboleta da casa, dou tres passeios na Praça, converso em
    tudo, menos no negocio, e venho embora. Se isto é trabalhar…

    –Mas, já que te repugna essa ociosidade, porque não trabalhas devéras?

    –Porque não é costume. O trabalho é para o guarda-livros. Nós somos uma
    especie de padrinhos; damos o nome á creança e pagamos-lhes o enxoval,
    mas não nos encarregamos das fadigas da sua educação. Comtudo, já uma ou
    outra vez tentei trabalhar, por descargo de consciencia; mas lembrança
    minha era saudada com uma risada do Manoel Quentino e com o riso mal
    disfarçado dos outros caixeiros. Pelos modos era disparate certo.

    –Pois bem; porisso mesmo que tão pouco se exige de ti é que devias ser
    mais assiduo.

    –Mas é tão monotono! Fazes lá ideia! Odeio aquella rua dos Inglezes,
    Jenny; abomino-a.

    –E preferes mortificar o pae, que já hoje se queixou das tuas faltas,
    quando um pequeno sacrificio…

    –Não lhe chames pequeno; mas, grande que seja, estou resolvido a
    fazel-o para te agradar. Ámanhã…

    –Ámanhã!–disse Jenny, encolhendo os hombros.

    –Pois então? queres que já hoje?…

    –E porque não?

    –Mas vê que já é tarde…

    –Mais tarde será se te demorares.

    Carlos emmudeceu.

    –E ao mesmo tempo–proseguiu Jenny–aproveitaria a occasião de mandar
    saber d'aquella pobre viuva ingleza, que ha já tantos dias não apparece.
    Não tenho querido que lá vá nenhum criado, porque, por mais que lhes
    recommende, todos gostam de a aperrear, e ella, coitada, afflige-se
    tanto… Se tu fosses hoje ao escriptorio, ficava-te em caminho…

    Jenny sabia que qualquer acção generosa servia a Carlos de estimulo para
    realisar sacrificios: por isso lhe lembrou esta visita de caridade a uma
    das muitas pobres, que a familia Whitestone soccorria. Não se enganou a
    previdencia da irmã.

    –Está dito–disse Carlos com modo resoluto.–Vou hoje … trabalhar.
    Mal sabe Manoel Quentino, que é o grande motor d'aquella machina
    commercial, o que lhe está imminente. O homem dá ao demo o meu auxilio;
    mas que t'o agradeça, Jenny. Manda-me o José para me ajudar a vestir;
    inda hoje me não deu o gosto de o ver, o mariola.

    –Ai, o José?–disse Jenny, pousando a mão no hombro do irmão–Olha,
    Charles, o pobre rapaz tem a mãe tão doente, que eu tive pena d'elle e
    mandei-o…

    –Basta, basta; fizeste bem. Eu não me lembrava d'isso, senão…
    Passaremos sem o José, e não passaremos mal.

    Jenny abraçou o irmão, e saiu contente da sala.

    Em consequencia d'este dialogo, Carlos appareceu na Praça Commercial
    pelas duas horas da tarde.

    VIII

    NA PRAÇA

    Havia grande actividade na larga rua chamada dos Inglezes, á hora a que
    o filho de Mr. Richard Whitestone alli chegou.

    A vida commercial estava então no seu auge; numerosos grupos occupavam
    os passeios, o centro da rua e os portaes das velhas casas, que de um e
    de outro lado limitam. Presta-se a curioso estudo o aspecto da Praça em
    occasião assim.

    Nas posturas, no ademan e em varias outras exterioridades dos
    differentes individuos, que compõem estes grupos, póde-se encontrar
    indicios da posição commercial, que elles occupam.

    Vêem-se homens de aspecto grave, de movimentos pausados, de palavras
    medidas e espremidas, escutados, aqui e além, por um auditorio attento,
    mudo, boquiaberto, cujas cabeças, balançando-se, como as dos bonecos de
    porcelana, commentam com movimentos de approvação as palavras d'estes
    oraculos;–são directores de bancos, ou de companhias commerciaes de
    outra qualquer natureza, bem ou mal reputados as primeiras capacidades
    da Praça; os accionistas, sempre inquietos pelo seu futuro dos capitaes,
    meditam cada palavra d'elles, como as de uma mensagem de Napoleão III,
    na abertura do parlamento francez.

    Mais longe, passeiam, com ar de quem está confiado em si, outros que não
    escutam os primeiros, mas que os saudam com fraternal familiaridade. Não
    teem tão numeroso cortejo a rodeial-os, porém são igualmente
    cumprimentados por todas as cabeças da Praça; chamam aos labios das
    pessoas, a quem se dirigem, um sorriso de affabilidade, e obrigam-lhes o
    tronco á inclinação expressiva de acatamento, pouco differente da
    eloquencia persuasiva, a qual, segundo um escriptor humorista, é
    representada por o angulo de 85º 1/2 com o horizonte.–São estes os
    negociantes, que não administram capitaes alheios, mas que dispõem de
    grandes capitaes proprios; de quem menos directamente depende portanto a
    numerosa turba dos pequenos capitalistas, mas cujos destinos influem,
    mais ou menos, sobre os de toda a Praça. Além d'isso teem a fazel-os
    valer o prestigio da riqueza, prestigio que se impõe até aos que nada
    esperam d'ella.

    Observa-se ás vezes um espectaculo, á primeira vista de difficil
    interpretação. Um homem, humildemente vestido, de aspecto triste, de
    cabeça baixa e barbas crescidas, é escutado com anciedade na roda dos
    mais esplendidos membros do corpo commercial; todos parecem esforçar-se
    por não perder a menor palavra das poucas e sumidas, que o tal homem
    pronuncia. De vez em quando, elle murmura não sei que phrase e limpa ou
    faz que limpa uma lagrima, e os outros levantam as mãos ao céo, cruzam
    os braços, encolhem os hombros, coçam a cabeça, dão uma volta, como a
    distrahir mágoas, e tornam a acercar-se d'elle, como se fosse o centro
    de attracção d'aquelles elementos dispersos; e toda a scena se produz de
    novo. Que quer dizer isto?–É um negociante fallido de pouco e rodeiado
    de credores, a quem, na sua humiliação, domina e que, de quando em
    quando apavora, calculando com voz dolente o diminuto dividendo que lhes
    concederá. Não ha posição social, situação na vida, por mais abjecta e
    precaria que pareça, que não tenha a sua aristocracia. Os ladrões teem
    os monarchas conquistadores; os homicidas, os duellistas e guerreiros; a
    pobre, a opprimida, a miseravel classe dos devedores, tem os grandes
    negociantes fallidos.

    O olhar exercitado em estudar a physiologia da praça talvez possa
    distinguir do negociante, cujos pagamentos ainda em época alguma foram
    suspensos, aquelles, cujas remotas _fracturas_ teem sido miraculosamente
    _consolidadas_ pelos dotes das esposas. Mas a segurança e franqueza de
    maneiras é tão igual nas duas especies, que á nossa analyse não é
    possivel a discriminação.

    A contrastar com todos estes, vê-se uma turba, igualmente numerosa,
    agitar-se na Praça, sempre a passo rapido, rapazes pela maior parte com
    papeis, saccas ou amostras na mão; sáem de um portal para entrar em
    outro; descem a calçada do Terreiro em direcção á alfandega, ao caes ou
    a bordo de algum navio mercante; consultam os individuos dos grupos, que
    já mencionamos, ou aguardam pacientes que elles os descubram e
    interroguem; dirigem-se-lhes então, tirando o chapéo–attenção nem
    sempre retribuida–; são estes os segundos caixeiros, os chamados «de
    fóra», os praticantes de escriptorio, os cobradores, e ainda os
    despachantes; aquelles, emfim, sobre quem mais pesada se exerce a carga
    da vida do commercio e que menos proventos auferem d'ella. Distinguem-se
    pelo grau de velocidade dos passos; a dos despachantes chega a ser
    incommoda de ver-se.

    É digna de nota tambem a posição que tomam mais ordinariamente os dois
    interlocutores dos curtos dialogos, que a cada momento se travam no meio
    da rua, entre os representantes das diversas hierarchias sociaes, que se
    dizem–caixeiro e patrão–. O caixeiro está perfilado, com a mão na aba
    do chapéo e os olhos fitos nos labios do negociante; este responde-lhe,
    olhando para o lado e, ás vezes, sorrindo até para um collega, que de
    longe falla por acênos–distracção perigosa para a clareza da ordem
    dada, mas cujas consequencias são attribuidas depois a quem a recebeu;
    os patrões mais accessiveis levam a sua bondade a ponto de puxarem por o
    botão do casaco, ou de desapertarem o do collete do subordinado,
    emquante lhe dão instrucções. Quando o caixeiro expõe o resultado da
    commissão que executou, é-lhe permittido o accionado, mórmente se, na
    execução d'ella, houve a vencer a renitencia de algum devedor emerito,
    circumstancia, na qual póde até tentar um epigramma, com a certeza de
    que agradará. Porém quando são mais modestos os ares do caixeiro e mais
    impertinentes os do patrão, é quando o segundo está sendo convencido por
    o outro de um erro, que repugna ao seu amor-proprio confessar.

    Ha ainda outra classe, tambem inquieta, apressada, incansavel, porém
    muito longe das disposições para a reverencia d'esta ultima, em que
    fallamos. Ha nas suas cortezias rasgadas alguma cousa de artificial, que
    não illude ninguem, e ás vezes a menos ceremoniatica familiaridade
    substitue até essas apparencias de respeito. São espantosos de
    tenacidade a perseguirem em certos casos o commerciante, que em vão
    tenta fugir-lhes; passam-lhe da esquerda para a direita, da direita para
    a esquerda; atravessam-se-lhe no caminho; entram com elle nos portaes,
    sobem com elle as escadas, invadem-lhe o ádito dos escriptorios,
    transpõem a barreira dos mostradores, encostam-se sem ceremonia ás
    escrivaninhas, batem-lhe amigavelmente nos hombros, collocam-lhe diante
    dos olhos garrafas, vidros, massos de fazenda, tabellas de preços,
    amostras de todos os generos commerciaveis, de que andam constantemente
    munidos e a custo se resolvem a soltar das mãos a victima, que chegaram
    a atacar.–São estes os corretores e agentes de casas estrangeiras.

    A classe dos primeiros guarda-livros é a porção aristocratica d'esta
    _bureaucracia_ ou escriptoriocracia commercial. Mostra-se principalmente
    á janella dos primeiros andares, onde vem, de vez em quando, descansar
    das fadigas de uma escripturação. De ordinario, conservam a penna entre
    os dedos, como para significar que é momentanea a pausa–o que nem
    sempre succede. Mais necessarios, e porisso mais apreciados e
    attendidos, gosam já de certas franquias e privilegios entre os da sua
    classe. É-lhes concedido fallarem da janella para a rua com algum
    collega ou amigo que passa; a alguns até se permitte fumar na varanda um
    charuto, e ausentarem-se algum tempo do escriptorio sem prévia
    requisição; na rua, saudam mais desassombrados os patrões e são menos
    distrahidamente correspondidos por estes.

    Acrescente-se agora a progenie ociosa dos grandes
    capitalistas–commerciantes honorarios, cuja vida commercial se reduz,
    como a de Carlos, a passeiar na Praça até ás quatro horas da tarde; o
    brazileiro retirado, distrahindo-se a presenciar, como espectador, o
    labutar do negocio, á maneira da maritimo velho que se senta á beira-mar
    a olhar para as ondas, de que vive arredado já; acrescente-se ainda o
    empregado da alfandega, fumando o cigarro, nas frequentes entreabertas
    de descanso de suas laboriosas manhãs; os carrejões em disponibilidade,
    estacionados a cada esquina; os moços de escriptorio encostados ás
    ombreiras das portas: os meninos dos directores de companhias, confiados
    á vigilancia de algum empregado subalterno; isto tudo composto de
    inglezes ruivos, de allemães louros, de brazileiros escuros, de
    portuguezes de todas as côres, e ter-se-ha imaginado o aspecto da Praça
    commercial do Porto, á hora em que Carlos Whitestone a atravessou.

    Carlos passava pelos differentes grupos alli reunidos como por entre
    gente, que toda lhe era igualmente familiar.

    Como sempre, e como em toda a parte, não se constrangia alli tambem.

    O genio que tinha não lhe consentia etiquetas; a sua posição social não
    deixava que ninguem lhe estranhasse as familiaridades.

    Enfiava o braço no de um dos mais sisudos commerciantes, a quem tratava
    pelo nome de baptismo; de repente, deixava-o, para accender o charuto no
    cigarro de um segundo caixeiro de escriptorio, que o estava saboreando
    ás occultas, e alli mesmo pactuava com este qualquer partida de caça.
    Aproximava-se do grupo de capitalistas e barões, que discutiam
    acaloradamente o relatório de uma companhia, e cêdo, com suas reflexões
    e commentarios, fazia degenerar a conversa para assumpto mais frivolo e
    jovial; abandonava-os, e ia abraçar alguns rapazes, tão laboriosos como
    elle, que fallavam dos bailes da vespera ou abriam a bôca de enfadados;
    d'alli dirigia-se a cumprimentar um inglez esgalgado, que passava sobre
    uma hursa, mais esgalgada ainda, e examinava com olhos de conhecedor as
    qualidades physicas do quadrupede e os expedientes da arte do
    cavalleiro; tolhia a passagem do despachante que atravessava a correr a
    Praça e, apesar de tantas pressas, conseguia fazel-o parar a escutal-o:
    chamava pelo nome o gallego da esquina, para que lhe viesse sacudir a
    lama das botas, e, durante esta operação, divertia-se a bater-lhe com o
    chicote na copa do chapéo. Ás vezes ouvia com apparente attenção um
    homem, que lhe vinha fallar de certo negocio pendente do escriptorio
    Whitestone, mas, se a exposição se demorava, o seu interlocutor, quando
    menos o esperasse, achava-se só, porque Carlos fora, sem ceremonia,
    conversar com o guarda-livros, seu amigo, que avistára na janella de um
    primeiro andar. Tão depressa entrava em um dialogo com o mendigo que lhe
    pedia esmola, como com qualquer rapariga, cujas graças o attrahissem.

    N'este genero de occupações se demorou Carlos Whitestone na Praça
    aquelle dia, procurando ser visto pelo pae,–unico fim que tinha na
    ideia.

    Mr. Richard estava porém na Assembleia Ingleza ou Feitoria, da qual era
    assiduo frequentador.

    Um dos muitos grupos, de que Carlos Whitestone se aproximou, compunha-se
    das mais graduadas individualidades da praça.

    Carlos passou o braço por cima do hombro de um barão, enfiou o outro no
    de um capitalista brazileiro, e cumprimentou familiarmente um velho
    inglez, que estava na companhia tambem.

    –O que não ha em toda a Europa é uma Bolsa assim como a do Porto–dizia
    um commerciante bem intencionado, em quem se encarnára a balda, muito
    portugueza, de pendurar no pinaculo da perfeição alguma cousa boa, que
    temos ainda por cá.

    O inglez estremeceu de pasmo.

    –_What!!_–A exclamação saiu-lhe ingleza na violencia da explosão–Na
    Europa! Que diz, senhor? Vocemecê já viajou?

    –Nada, não, senhor; ainda não saí do Porto; mas dizem entendedores…

    –Ora então… então… A Bolsa de Londres… o Royal Exchange… não
    vamos mais longe… o Royal Exchange, o moderno; porque o primeiro Royal
    Exchange foi do tempo da rainha Elisabeth, construido por um architecto
    chamado Gresham, em 1500 e tantos; ardeu em 1667. Dois annos depois
    levantou-se o segundo; este foi construido por Jerman; ainda me lembra
    bem d'elle; ardeu em 1838. Estava eu em Londres. Em 1842 lançou-se a
    primeira pedra de novo, que foi segundo o plano de Tite, e dentro em
    tres annos estava completo.

    –E esse quando ardeu?–perguntou Carlos.

    O inglez sorriu, sem responder á pergunta, e preparava-se para entrar em
    circumstanciada descripção da planta baixa e alta do edificio.

    Carlos interrompeu-o outra vez:

    –O que estou vendo, Mr. Lyons, é que ha em Londres uma terrivel
    disposição para _arderem as bolsas_.

    O barão e o brazileiro acharam extraordinaria graça ao dito de Carlos, e
    batendo-lhe no hombro e chamando-lhe «maganão, patusco, cabeça de
    vento», e outras injurias assim amaveis, não quizeram mais saber do que
    lhe dizia o inglez, o qual se viu constrangido e engulir o resto da
    noticia historica e architectonica.

    –Mas, senhores!–dizia em outro grupo, para o qual Carlos se dirigiu, o
    meticuloso possuidor de umas cinco acções de certa companhia, a um dos
    directores da mesma–Eu não vejo as cousas bem figuradas. Para que hei
    de estar a dizer o contrario? Negocios com o governo nunca me agradaram.
    O governo! Quem é o governo? O governo a final não é pessoa que se
    penhore; porisso voto que…

    –Mas repare,–dizia o director com exemplar paciencia–repare que as
    garantias offerecidas são das mais seguras; o governo compromette-se…

    –E adeus, minhas encommendas!–tornou o outro–Ora que é scisma! Mas
    quem é o governo? Eu não sei quem é o governo! Uns valdevinos, que hoje
    são tudo e ámanhã são nada… Faz-se o contracto com uns e ámanhã
    respondem por elle caras novas. Não me entendo com isso. Muito bonitas
    fallas, sim, senhores; mas como não respondem por o que é seu… E os
    nossos capitaes…

    Estes capitaes eram cem mil réis por junto.

    O director pedia resignação a Deus, para não romper com o obstinado.

    Carlos representou aqui de enviado celeste. Tomou o braço do accionista
    dissidente, e, sem lhe attender aos esforços, afastou-o para o passeio,
    dizendo-lhe a meia voz:

    –O senhor já sabe do que se trata hoje na Praça? Vae organisar-se uma
    companhia monstro.

    –Pois sim, sim; mas deixe-me, que tenho que discutir alli com o
    senhor…

    –Ouça–insistia Carlos–é negocio dos accionistas ganharem quarenta por
    cento, avaliando muito por baixo.

    O homem, que era de ingenuidade proverbial entre os collegas, olhou para
    Carlos com gesto entre desconfiado e inquiridor.

    Depois a phrase «quarenta por cento» era de uma sonoridade!

    A physionomia de Carlos tomára uma expressão de sisudez irreprehensivel.

    –Pois sim, mas… eu agora…–dizia ainda o homem.

    Carlos insistiu:

    –Olhe que lhe fallo serio. É uma companhia de capitalistas inglezes,
    que se vae metter n'isso. Meu pae está encarregado do trabalho da
    instituição. É porisso que eu…

    –Mas que é a final?–perguntou o sujeito com curiosidade.

    –Demais espera-se que o governo conceda um subsidio…

    O homem teve vontade de perguntar quem era o governo, mas resistiu á
    tentação d'esta vez.

    –Mas qual é o fim?–perguntou em vez d'isso.

    –E o commercio do Porto vae resentir-se vantajosamente d'este
    commettimento–continuava Carlos, devéras embaraçado em organisar a tal
    companhia.

    –Mas o fim da empreza? … o fim?–bradava já o outro.

    –O fim? Um grande fim… uma nova via de trafego commercial entre a
    cidade alta e a baixa.

    –Como? Alguma rua…

    –Não, senhor; aproveita-se uma riqueza ainda inexplorada, que ha no
    seio da cidade.

    Um enxame de ideias extravagantes esvoaçaram na imaginação do
    accionista, que já com ardente curiosidade perguntou:

    –Mas… que é? como?

    –Nada menos do que tornar navegavel o rio da Villa.

    O accionista dissidente olhou ainda alguns instantes para Carlos; mas
    cêdo depois voltou-lhe as costas _desapontado_ e procurou o director,
    que estivera interpellando; este porém aproveitára o ensejo e
    desapparecera, esquivando-se a resolver o difficil problema que o outro
    lhe apontára ao peito–Quem era o governo?

    O leitor, que é do Porto, permitta-me que eu explique aos que o não são,
    que este nome pomposo de rio da Villa é dado a um pequeno riacho de
    aguas menos limpas que se despenha por uns sitios escusos e não mais
    asseiados do que ellas, até desaguar furtivamente e como envergonhado,
    no Douro.

    O primeiro individuo de quem, depois d'este, Carlos se avizinhou, era
    uma potencia commercial, que ouvia amavelmente o pedido que lhe fazia um
    collega, para elle pedir a outro, para este pedir a terceiro e este
    terceiro pedir ao ministro para o ministro empregar na alfandega o filho
    do cunhado do primeiro que pedia. Esta complicação enredada de
    pedidos–da qual inevitavelmente se havia de resentir o periodo, como
    resentiu–parecia clarissima para o que estava sendo exorado, pois, sem
    pedir explicações, e como homem que logo á primeira vista entrou no
    ámago da questão, não fazia senão prometter applicar todo o seu
    valimento e ser até importuno para servir o amigo.

    Carlos chegou no meio d'essas promessas cordialissimas. É preciso que se
    diga que Carlos sabia, por acaso, que este capitalista havia recebido,
    aquella mesma manhã, uma carta de Lisboa, assegurando-lhe que fora
    provido, no logar disputado, um parente seu. Esta circumstancia fez com
    que o pouco dissimulado irmão de Jenny ficasse verdadeiramente abysmado
    diante da impavidez, com que o negociante illudia o amigo. Obedecendo á
    franqueza pouco de sociedade, que dissemos ser um dos elementos do
    caracter d'elle, Carlos não pôde emfim reprimir-se, que não dissesse:

    –Mas, senhor F., olhe o que promette; esqueceu-se de que o seu parente
    C. foi, hontem mesmo, despachado para esse logar?

    Seguiu-se uma careta entre os dois interlocutores, que trocaram algumas
    phrases, em taes casos forçosamente tolas; fartos emfim de mastigar
    orações sem nexo, separaram-se friamente.

    O capitalista ralhou muito com Carlos; porém Carlos ainda ralhou mais
    com elle pela sua pouca lisura.

    E o certo é que ficaram amigos. Ha nos caracteres francos e generosos
    como o de Carlos, o que quer que seja que dissipa resentimentos ainda
    aos mais reservados e egoistas.

    Resolveu finalmente o irmão de Jenny entrar no escriptorio.

    Ao dirigir-se para lá, viu que lhe vinha ao encontro um homem gordo,
    baixo e córado, que já de longe lhe estava fazendo cortezias.

    Parou a escutal-o.

    –V. s.ª passou bem?–disse o recem-chegado.

    Carlos correspondeu ao cumprimento.

    –Ora eu–continuou o homem–já ha pouco fui ao escriptorio de v. s.ª;
    mas nem v. s.ª nem o senhor seu pae lá estavam. Eu não sei se v. s.ª me
    conhece.

    –Não, senhor–disse Carlos, entretido a olhar para o laço da gravata do
    seu interlocutor.

    –Eu sou o Anastacio Rebello, que fiz aquelle carregamento de laranjas o
    anno passado…

    Carlos fez distrahidamente um gesto affirmativo, e passou a examinar o
    botão de peito do snr. Anastacio Rebello.

    –Ora v. s.ª–proseguiu este–ha de estar certo de que ha dois mezes…
    um meu correspondente de Braga me pediu… Eu não sei se o pae de v. s.ª
    lhe disse… Talvez não dissesse…

    –Talvez não–disse Carlos, sem o attender…

    –Pois o negocio é simples: este meu correspondente… que é também meu
    compadre… isto é, eu é que sou padrinho do filho d'elle, uma creança
    de treze annos, que esteve ha mezes em minha casa, a banhos na Foz, por
    causa de uns humores frios que…

    Carlos assobiava já.

    –Mas agora quer este meu compadre… Olhe; aqui está a carta que elle
    me escreveu;–proseguiu o homem, procurando-a no casaco–eu julgo que a
    trago commigo… Por ella fará ideia.

    E principiou a tirar papeis sobre papeis, cartas, escriptos, ordens,
    letras, contas, recibos… dizendo, ao passo que examinava cada qual por
    sua vez:

    –Não… isto é outra cousa… é a ordem para me pagarem uns cincoenta e
    tantos mil réis… E já não veem sem tempo… Mas onde diabo puz eu a
    carta?… Não é isto… Isto é o escripto de arrendamento da minha casa
    do Forno Velho… Isto é… Que S. Pedro é isto?… Ah! a carta do
    Maranhão… isto … isto é uma encommenda que me fazem de Bragança…
    V. s.ª não me sabe dizer onde se vende… a estampa da guerra da
    Crimeia?

    –Eu não, senhor–disse Carlos, dando dois passos para o escriptorio.

    –Encommendaram-m'a e eu…–continuava o homem, seguindo-o–Ah! achei;
    cá está a carta!–exclamou, segurando Carlos pela manga do casaco–Ora
    quer ler?

    –Eu não, senhor–respondeu este, tentando evadir-se.

    –«Prezado amigo e compadre–principiou o homem a ler.–«Recebi a sua de
    13 e agradeço-lhe as recommendações, que me manda. A comadre…–é a
    mulher d'elle–recommenda-se á snr.ª D. Maria do Carmo–é a minha
    mulher…–e o Juca…–é o tal meu afilhado…–manda muitos beijos ao
    padrinho…

    –Que é o senhor–disse Carlos, já impaciente com a massada.

    –Justamente–respondeu o homem, sorrindo á perspicacia de Carlos.

    –Pois sim, mas eu agora não posso demorar-me–acrescentou Carlos,
    fazendo outra tentativa para fugir.

    –Isto tambem não interessa…–concordou o homem–aqui mais abaixo é
    que… tal, tal, tal… sim, senhores…–«A festa do Bom Jesus este
    anno promette ser feita com espavento e eu espero que
    vocemecê…»–Elles querem que eu…

    –Com licença, que estou com pressa.

    –Sim; isto tambem não faz ao caso. É aqui abaixo…–«A camara
    municipal foi reeleita, como sabe; a gente da opposição levou uma
    derrota que…»

    Carlos já não podia mais.

    –Ora, meu caro senhor, que tenho eu com isso? Faz favor de me dizer?

    –Tem v. s.ª razão… É que eu julgava… Tal, tal, tal–«O seguro não
    quer pagar os prejuizos do incendio da minha casa da rua do
    Souto…»–Olhe que tambem isto de seguros…

    –Adeus–disse Carlos, rompendo de todo com o snr. Anastacio Rebello.

    –Ah! é aqui; agora sim–exclamou este triumphantemente–Cá
    está…–Aquella encommenda que eu fiz para Inglaterra…

    Justamente quando o snr. Anastacio chegava ao ponto desejado, através
    d'aquelle mar, cheio de baixios, da carta do seu correspondente, Carlos
    vendo uma galante costureira, que a passos apressados atravessava a rua,
    deixou-o sem ceremonia para se dirigir a ella.

    –Adeus, minha flor.

    A rapariga respondeu-lhe:

    –Ninguem o conheceu hontem no baile.

    –Então esteve lá?

    E proseguiu o dialogo, mesmo em presença de toda a sisuda classe
    commercial, que ao filho de Richard Whitestone tudo desculpava.

    Anastacio Rebello dobrou a carta do compadre, e afastou-se escandalisado
    com o que via.

    Outros rapazes aproximaram-se. A rapariga fugiu.

    Carlos, depois de alguns instantes tomados por occupações analogas ás
    que descrevemos, caminhou emfim para o escriptorio.

    Era assim que elle tratava negocios na Praça Commercial; vejamos no
    escriptorio.

    IX

    NO ESCRIPTORIO

    Na velha sala de paredes cinzentas e de soalho carcomido pelo caruncho,
    onde Mr. Richard Whitestone tinha o escriptorio, havia vinte annos que
    escrevia, addicionava, subtrahia, multiplicava, e dividia algarismos, e
    isto tudo resmoneando, cantarolando e tossindo, o snr. Manoel Quentino,
    personagem da idade do seu seculo, primeiro guarda-livros da casa, e
    homem de habitos de vida, tão beneficiadores da saude do corpo, como
    mantenedores da serenidade do espirito.

    Manoel Quentino era a alma d'aquelle recinto. Na confusão de papeis, com
    que lidava, taes como:–correspondencias, facturas, contas correntes,
    contas de venda, conhecimentos, primeiras, segundas e terceiras vias de
    letras, minutas de seguros, recibos e mais documentos commerciaes, elle
    só, habituado desde muitos annos áquillo, podia descobrir uma disposição
    ordenada.

    D'isto mesmo se gabava; o que não se devia taxar de presumpção da sua
    parte.

    Pedissem-lhe de repente a mais insignificante carta, que elle, sem
    hesitar, iria dar com ella. Era porém seu o segredo d'esta singular
    classificação, que dera ás cousas; para o proprio Mr. Richard,
    antolhava-se um dédalo o escriptorio, dédalo onde, ao querer
    orientar-se, não dispensava nunca o fio conductor das explicações do
    guarda-livros.

    Homem de habitos regulares, a mais não poder ser, invariavelmente ao
    soarem as sete horas da manhã no verão, e as oito, no inverno, estava
    Manoel Quentino movendo a chave na porta do escriptorio; e meia hora
    depois, sentado já á banca, todo entregue ao trabalho da escripta. Ás
    tres da tarde, no inverno, e ás quatro, no verão, movia segunda vez a
    chave, mas em sentido contrario; exceptuando uma ou outra occasião
    extraordinaria, em que a affluencia de serviço o obrigava a serões.

    Não era Manoel Quentino d'estes guarda-livros de mão rapida, e de
    prompto expediente, que n'um momento dão solução a muitos negocios
    juntos. Elle tudo queria feito com tempo, e, como a cada momento dizia:
    «para pressas é que não era»; graças, porém, á paciencia e á
    regularidade de trabalho, que não perdia nunca, insensivelmente o
    serviço adiantava-se-lhe nas mãos e difficil seria acharem-o atrazado
    alguma vez.

    Observava pontualmente o judicioso preceito: _festina lente_, e
    comprovava, com o exemplo, a efficacia d'elle.

    Queria Manoel Quentino immensamente áquelle escriptorio, tal qual se
    achava, assim mesmo desataviado e nú. Por vezes, Mr. Richard, e
    principalmente Carlos, haviam procurado realisar n'elle certos
    melhoramentos, que o fizessem mais commodo; tiveram porém de recuar
    diante das repugnancias do velho guarda-livros, que declarou affligir-se
    devéras com isso; e, como era elle a parte mais interessada no caso,
    visto que alli passava grande parte da vida, foi-lhe facil vencer.

    Em resultado d'isso, continuava a deliciar-se com aquellas quatro
    paredes escuras, com o tecto de castanho apainelado, que o tempo
    ennegrecera, com o chão aspero e picado pelos insectos, com as janellas
    de construcção antiga, de pequenos caixilhos, e abundantes em fechos,
    aldrabas e postigos, com a porta de fortaleza, cujos gonzos perros
    tinham um chiar, que era para Manoel Quentino como o timbre de uma voz
    de amigo, agradavel ainda quanto pouco harmoniosa, com as escrivaninhas,
    os mochos, os cabides, o lavatorio e toda a mobilia emfim, feita segundo
    os velhos modelos dos escriptorios antigos.

    Eram aquellas as testimunhas do encanecimento dos seus cabellos; como
    taes as amava.

    Além de Manoel Quentino, compunha-se o pessoal do escriptorio de dois
    segundos caixeiros e um rapaz de serviço, a todos os quaes o
    guarda-livros accusava constantemente de mandriões e ao mesmo tempo
    quasi os impedia de trabalhar, pela excessiva disposição que tinha para
    fazer tudo por suas mãos.

    Momentos antes de Carlos chegar, Manoel Quentino havia dado aos
    escripturarios duas cartas insignificantes a copiar e entregára-se elle,
    com todos os seus cinco sentidos, á redacção da correspondencia para
    Londres.

    Dos escripturarios, um, tendo terminado a sua facil tarefa,
    aproveitou-se da distracção de Manoel Quentino, tirou ás escondidas da
    escrivaninha um romance de Paulo de Kock e pôz-se a lel-o, com a sôfrega
    curiosidade dos dezesete annos; o outro occupou o tempo a escrever uma
    carta de amores á dama dos seus pensamentos, carta em que, por
    incidente, foram inclusas algumas allusões epigrammaticas ao
    guarda-livros, a quem entre outras cousas se chamava «Argos
    desapiedado»; o rapaz de serviço, deixado tambem em disponibilidade,
    entretinha-se a perseguir as moscas da vidraça ou a traçar com o dedo
    lettras maiusculas nos vidros, que humedecia com o bafo. Qualquer
    d'estas tres occupações, sendo pouco ruidosa, mantinha-se no escriptorio
    um silencio, que agradava a Manoel Quentino.

    Elle era o unico a interrompel-o, graças ao singular monologo, que
    estava de contínuo murmurando á penna com que escrevia.

    Dava-se effectivamente em Manoel Quentino uma illusão singular.

    Á força de lidar com a penna, á força de tão indissoluvelmente a ver
    associada ao seu destino, o velho guarda-livros acabára por julgal-a
    quasi dotada de certa intelligencia e fallava-lhe, animando-a,
    reprehendendo-a, sopeando-lhe os impetos, como a caprichoso corcel que
    se pretende guiar.

    –Anda, anda,–dizia elle–que ronceira que estás hoje! Olha que não
    temos esse tempo, que julgas… Então?… Que é isso agora?… Pois já
    queres mais tinta? Depressa gastaste a que bebeste! Vá, avia-te…
    Bonito R! Isso não esperava eu de ti!… Adeus! Agora mais este
    cabello!… E sujas-me todo!… Trapalhona!… Ai, que impertinente que
    estás!… Adiante! adiante! adiante!… Espera, espera… Lá te esqueceu
    um D!… E agora?… Agora vê se te mexes entre essas duas lettras…
    Assim… Ah! … não toques nos SS … assim… Bem… Continúa, mas com
    tento… Então! Não querem ver que páras outra vez? Ora isto é
    demais!… Deixa estar que… Oh!

    Era um borrão, que lhe caía no meio da pagina e lhe inutilisava a
    correspondencia quasi no seu termo.

    «Trai la rai, la rai, larai lai
    Trai, larai, larai, larão, lão
    Trai larai lai, larai larai lai,
    Trai lari, lari, lari, larão lão.
    Trai lari, lari, lari, larão lão.»

    Isto era a trautear o hymno da Carta, cousa que elle fazia sempre
    n'estas occasiões criticas. E sem mais alguma observação pôz a folha
    suja de lado, preparou outra e encetou nova correspondencia, não sem
    primeiro substituir a penna, dizendo-lhe ao deixal-a:

    –Descansa. Hoje não estás nos teus dias. Vem cá tu–dizia para
    outra.–Vê lá como te portas!

    E, olhando fixo para ella:

    –Umh! Não tens lá muito boa cara! não… Ora vamos a ver… Vá,
    despacha-te, que tenho mais que fazer!… Abre os bicos… abre…
    Assim… bem! Sim, senhora!… Bravo… Ninguem havia de dizer que tu…
    Caspite!…

    E com estas palavras de animação ia applaudindo o bom serviço da penna e
    quasi lhe parecia vel-a trabalhar com mais ardor, assim estimulada.

    Foi n'este momento que um valente encontrão abriu a porta do
    escriptorio, e o _terra-nova_, precedendo Carlos Whitestone, invadiu o
    até alli silencioso e tranquillo recinto, principiando logo por entornar
    a infusa com agua, collocada a um dos cantos da sala.

    Manoel Quentino, que estremecera com a subita apparição do quadrupede,
    ao ver o estrago que a sua impetuosidade produzira, pôz-se a olhar
    silencioso para elle e em seguida para a porta, como se contasse com
    mais alguma invasão, não menos revolucionaria do que esta.

    Effectivamente Carlos não se fez esperar.

    –_Good Morning_, Mr. Manoel Quentino!–bradou Carlos do limiar, fazendo
    para o guarda-livros uma reverencia muito rasgada.

    –_Good Morning_, Mr. Charles–respondeu Manoel Quentino, encolhendo os
    hombros e dando ás feições um ar de paciente resignação, uma especie de
    bondoso mau humor.

    Cumpre advertir aqui que Manoel Quentino fallava o inglez, graças á sua
    longa convivencia com os _Her Majesty's subjects_ residentes na nossa
    cidade; mas o inglez de Manoel Quentino era, até certo ponto, como o
    portuguez do patrão. Causava especial sensação ouvil-o pronunciar todas
    as palavras inglezas n'um tom, inflexão e maneiras, do cunho mais
    genuinamente portuguez. Podia dizer-se que Manoel Quentino fallava
    portuguez em inglez.

    –Ditosos olhos que o vêem!–disse elle a Carlos; e depois para o rapaz
    do escriptorio:–Olha aquella agua que se entornou…–e para Carlos
    outra vez com gesto velhaco:–Então esteve doente?

    –Eu? Tenho gosado a mais florescente saude do mundo–respondeu Carlos.

    –Como não tem apparecido!–Anda, avia-te rapaz!

    –Tenho-lhe talvez feito aqui muita falta?

    –Umh!–resmungou Manoel Quentino.

    Os caixeiros, que com a entrada de Carlos haviam escondido, um o
    romance, outro o modelo epistolar, sorriram entre-olhando-se.

    –E você como tem passado por aqui sem mim, minha flor?–perguntou
    Carlos, mexendo-lhe nos papeis–Cada vez mais bonito, cada vez mais
    contente.

    –Adeus, adeus. Não bula ahi, homem! Que é o que quer? que é o que quer?

    –Lumes. Não ha lumes n'esta casa? que diabo!…

    –Eu logo vi. Não pensa senão em fumar. Espere lá, espere lá. Não me
    desarranje isso. Eu dou-lhe lumes, eu dou. Ora ahi tem. E deixe-me.

    Carlos accendeu um charuto e offereceu outro a cada um dos caixeiros,
    que os afagaram com olhares ávidos, mas sem se atreverem a aceital-os.

    –Fumem–insistia Carlos.

    Manoel Quentino levantou os olhos e fixou-os nos dois rapazes.

    Sob a influencia d'aquelle olhar, hesitaram ainda.

    Carlos obrigou-os porém a aceitar, offereceu-lhes lume para accenderem,
    e emquanto o faziam, voltou-se para Manoel Quentino, e vendo a cara de
    contrariado com que ficava, aproximou-se d'elle:

    –Que tem você, Manoel Quentino? Deixe fumar os rapazes. Não seja
    fossil.

    –Se o pae vier por ahi, cuida que ha de gostar de… E demais a mais, é
    distrahil-os do serviço…

    –Que serviço? Olhem o grande serviço que elles
    faziam!–Rapaz–acrescentou logo depois, dirigindo-se ao perseguidor das
    moscas da janella–vae á rua de Santo Antonio saber se aquelle meu
    casaco está prompto… e chega de caminho ao theatro de S. João,
    pergunta pelo bilheteiro e dize-lhe que vaes de meu mando tomar seis
    cadeiras para a recita de quinta-feira… entendes? Seis cadeiras;
    depois…

    –E faz favor de me dizer quando é que elle ha de levar a
    correspondencia ao correio?–perguntou com mau humor Manoel Quentino.

    –Eu sei lá d'isso? Anda, vae…

    –Mas…

    –Ora! mande ao correio quem quizer… Avia-te. Salta.

    O rapaz saíu a correr.

    Manoel Quentino encolheu os hombros.

    Carlos dirigiu-se á janella, que abriu de par em par. Uma rajada de
    vento, entrando na sala, fez esvoaçar toda a papelada da banca de Manoel
    Quentino.

    –Lá vae! lá vae! lá vae tudo com os diabos!–exclamou o
    guarda-livros–Adeus, minha vida; estou arranjado!

    Carlos desatou a rir.

    –Isso; ria-se, que tem muita graça! Então os senhores que
    fazem?–perguntou, descarregando as iras sobre os caixeiros–Ponham-se á
    palestra e a fumar, e eu que trabalhe; hein?

    –Deixe estar que eu apanho isso–disse Carlos, continuando a rir.

    E todos quatro principiaram a apanhar os papeis, dispersos por a sala.

    –Vão lá saber agora…–proseguiu Manoel Quentino–vão lá saber agora a
    ordem em que eu tinha tudo isto! Olhem… olhem… Ficou bonita a carta
    do correspondente de Liverpool! Sim, senhores! Olhem para estas contas
    da gerencia da capella ingleza! Tambem ficaram asseiadas! Pois estas
    apolices… E o maldito cão a afocinhar-me na agua aquella minuta!…
    Passa fóra! Eh!… passa fóra, tratante.

    E voltando á escrivaninha pôz-se a coordenar outra vez os papeis.

    –Ó Manoel Quentino–perguntou-lhe Carlos já da janella–quem é aquella
    rapariga que está aqui defronte no terceiro andar? Aquella cara é nova
    para mim.

    –Eu sei lá d'isso, homem? Tomára que me deixassem.

    –Quem é, ó Paulo, você ha de saber. Um rapaz da sua idade…–disse
    Carlos, dirigindo-se familiarmente a um dos caixeiros.

    Era este um rapaz ainda imberbe, pallido, com certo fundo de melancolia,
    transparecendo por debaixo do jovial sorriso, proprio dos seus, ainda
    incompletos, dezoito annos.

    Á pergunta de Carlos, aproximou-se da janella.

    –Não sei–disse depois de ver a pessoa designada–não a conheço. O
    Pires ha de saber.

    Pires era o nome do outro caixeiro, que por sua vez foi chamado.

    E todos tres, em resultado d'esta conferencia, ficaram encostados á
    varanda, praticando em varios assumptos de igual momento.

    Manoel Quentino, que já tinha posto por ordem os papeis, olhava de
    quando em quando para a janella e principiava:

    Trai la rai…

    trauteava o hymno da Carta.

    O vento, depois de prejudicar a papelada do guarda-livros, dirigiu os
    seus furores contra a pituitaria do mesmo; Manoel Quentino começou a
    espirrar.

    –Deus me salve!–dizia elle de cada vez.

    Á quinta não teve mão em si, que não dissesse a Carlos:

    –O' snr. Carlos! Ora a fallar a verdade, homem! Isso sempre é um gosto
    exquisito! Ahi posto á janella com este vento dos diabos! Eu já
    estou…–e espirrava outra vez–já estou constipado.

    –N'esse caso recolho-me–disse Carlos, fechando a janella e vindo
    debruçar-se na escrivaninha de Manoel Quentino, o qual começára de novo
    a correspondencia.

    –Sim, senhor, snr. Manoel Quentino;–dizia Carlos expellindo uma
    baforada de fumo, á qual o velho fez caretas–você será parente de
    Quentino Durward, de que falla o Walter Scott? Você sabe quem era o
    Walter Scott, Manoel Quentino?

    –Eu não, senhor…–respondeu o velho, continuando a escrever.

    –Walter Scott era um romancista. Sabe o que é ser romancista? Diga-me,
    já leu algum romance?

    –Não, senhor, que tenho mais que fazer.

    –Pois deixe estar que lhe hei de emprestar romances para ler…

    –Muito agradecido.

    –O primeiro ha de ser _O Cavalheiro de_…

    Os dois caixeiros fungaram do outro lado da sala.

    –_De Harmental_–concluiu maliciosamente Carlos–e acrescentou:–Não
    sei de que se riem estes senhores.

    –É porque teem a vida muito canceirosa–respondeu Manoel Quentino.

    –Depois hei de emprestar-lhe a _Mademoiselle_…

    O mesmo effeito nos caixeiros.

    –_Mademoiselle de La Seiglière_–delicada concepção de Jules
    Sandeau–concluiu Carlos, olhando-os com gravidade comica.

    –Adeus, já me fez enganar!–exclamou Manoel Quentino–Por sua causa
    escrevi agora–cavalheiro–em vez de–Companhia.

    –Isso emenda-se.

    –Ha de emendar boas cousas.

    –Emenda, sim. Olhe d'esse _a_ faz-se bem um _o_; depois o _m_ fórma-se
    do _v_ e do…

    –O remedio é outro…

    E com exemplar paciencia começou nova carta.

    –Oh! com os diabos! Então vae outra vez principiar?

    –É o que o senhor faz.

    –O caso é que você tem bonita lettra! Invejo-lh'a. Se me ensinasse a
    escrever assim!

    –Não precisa.

    E, para fixar a attenção, ia dizendo em voz alta o que escrevia:

    –Recebi o seu favor de 14 do corrente e em resposta…

    –Não preciso? Preciso tal–proseguiu Carlos–rapariga a quem eu
    escreva…

    –Do nosso ajuste–dizia Manoel Quentino, e fallando para Carlos
    alternadamente:–Elle ahi vem com as raparigas; o que eu lhe queria eram
    os cuidados!…–O preço do genero…

    –Então parece-lhe indigno o assumpto? Ora diga, Manoel Quentino, diga
    se, quando era rapaz, não massava tambem com o tal assumpto os velhos do
    seu tempo.

    –E a competente commissão.–Não que eu, quando era rapaz, já tinha mais
    em que cuidar…–Em vista pois das ordens recebidas…–Cuida que me
    levantava ao meio dia para pensar em moças, e que me deitava lá por
    altas horas, inda por causa d'ellas?

    –Então que fazia você?–insistia Carlos, tomando a penna e desenhando
    uma figura na margem do jornal do dia.

    –Com lucros provaveis…–O que eu fazia bem o sei; ainda me não
    esqueceram as madrugadas dos meus vinte annos…

    –Ah! madrugadas!… Bem entendo!…

    –Para trabalhar, para trabalhar! Está muito enganado, se cuida que
    todos tiveram a sua vida. Bom era isso!–A fallencia da casa Rodrigues
    e…

    –Grande vida a minha!–continuava Carlos–Ha lá nada mais semsabor?
    Veja que precioso tempo perdido n'esta soturna sala.

    E ao dizer isto ia, insensivelmente, sem reparar no que fazia,
    aproximando a penna da borda da carta, que Manoel Quentino escrevia, e
    quasi principiava a desenhar algum ornato n'ella.

    –Oh! oh!–exclamou o velho, arredando-lhe a mão–Que ia fazer? Se lhe
    parece, suje-me agora a carta.

    Carlos ergueu-se rindo e pôz-se a passeiar na sala.

    –O pae inda não veio hoje aqui?

    –Ha que tempos!

    –E não volta?

    –Ha de voltar, se Deus quizer.–É preciso fechar isto mais cêdo
    hoje–continuou Carlos.–Estes senhores precisam de gosar o carnaval.

    –Bom carnaval é o d'este mundo!

    –Que horas são?

    –Duas e vinte minutos–Respondeu Manoel Quentino, sem olhar para o
    relogio e não errando meio minuto.

    –Se meu pae…–principiava a dizer Carlos, mas foi interrompido pelo
    ranger das botas de Mr. Richard, que se ouviu nas escadas.

    Restabeleceu-se a ordem no escriptorio.

    Os caixeiros pozeram-se a escrever, e o proprio Carlos pegou em uma
    folha ingleza e fez que a examinava na secção commercial.

    Manoel Quentino curvou-se ainda mais sobre a banca e moveu com maior
    agilidade a penna sobre o papel paquete, em que estava escrevendo.

    Mr. Richard entrou no escriptorio com o rosto jovial e assobiando uma
    das suas predilectas toadas inglezas; mas, graças ao duro ouvido musical
    de que era dotado o velho _gentleman_, tão transtornada lhe saía ella,
    que o proprio auctor lhe custaria de certo a reconhecel-a.

    O _Butterfly_, com a leveza, que justificava o nome de lepidoptero, que
    lhe tinham posto, atravessou a sala e foi cumprimentar o seu companheiro
    _terra-nova_, o qual, sentado, com a lingua de fóra, o recebeu com
    benevola, mas sisuda, magestade.

    Todos se ergueram á entrada de Mr. Richard, em cujo rosto um olhar,
    exercitado em estudal-o, facilmente descobriria certa expressão de
    contentamento, despertada pela vista do filho, o qual, elle, n'aquelle
    dia, estava bem longe de esperar alli.

    O plano de Jenny sortira bom effeito.

    Mr. Richard dirigiu-se immediatamente ao seu gabinete particular. Carlos
    foi ter com elle, para lhe pedir a benção e ao mesmo tempo aproveitou a
    occasião para lhe agradecer o relogio e para desculpar-se de não ter
    assistido na vespera ao jantar de familia.

    Mr. Richard Whitestone já não tinha cousa alguma no coração contra o
    filho. A vinda d'este ao escriptorio fora bastante para dissipar a menor
    sombra de resentimento.

    –Não teve duvida–repetia elle muitas vezes, interrompendo a longa
    justificação de Carlos–não teve duvida, não teve duvida… Pois… esse
    relogio é de um fabricante muito acreditado, e, segundo o homem affirma
    aos compradores, não fará differença de meio minuto em cinco annos!
    Talvez seja confiança de mais!–acrescentou, rindo com vontade.

    –Ou cegueira paternal–observou Carlos, rindo como elle.

    –Sim, sim, ou isso, cegueira paternal, sim–concordou Mr. Richard,
    rindo cada vez mais e experimentando elle mesmo tambem os effeitos da
    tal cegueira.

    E em seguida destapou duas garrafas de cerveja de Bass, tirou do armario
    uma copiosa provisão de bolacha e, na companhia do filho, celebrou a sua
    terceira refeição d'aquella manhã.

    Passados minutos, voltaram ambos ao escriptorio nas melhores disposições
    d'este mundo.

    Se Jenny os podesse ver então, como exultaria de contentamento!

    Mr. Richard encaminhou-se para a escrivaninha de Manoel Quentino, Carlos
    sentou-se na escrivaninha opposta, e fingiu examinar os livros
    commerciaes.

    Mr. Richard dirigiu varias perguntas ao guarda-livros, sobre alguns
    negocios pendentes, ás quaes Manoel Quentino deu respostas laconicas,
    mas peremptorias.

    O inglez consultou depois algumas cartas, entregou outras ao
    guarda-livros, tomou notas, expediu ordens, examinou a escripturação,
    abriu o copiador e, de repente, voltando as costas a Manoel Quentino e
    dirigindo-se a Carlos:

    –Já leste a carta do nosso correspondente em Londres?–perguntou com
    affabilidade.

    –Ainda não, senhor.

    –Manoel Quentino! Então porque lh'a não mostrou?!–disse o pae,
    voltando-se outra vez para o guarda-livros; e depois acrescentou de novo
    para Carlos:–Ha noticias importantes e que fazem prever a probabilidade
    de ser este um anno de vantajosas transacções, se por acaso…

    –É um homem diligente, Mr. Leeson–notou Carlos, querendo dizer alguma
    cousa, mas com tanta infelicidade, que trocou o nome do correspondente
    de Londres pelo do de Liverpool.

    –Ho!–disse logo Mr. Richard, mortificado–Leeson!… de Londres!
    Repara!… de Londres!?

    Carlos conheceu que tinha sido inconveniente a observação, mas o peior
    era que não sabia corrigil-a, pois que de todo lhe esquecera o nome do
    tal correspondente.

    –Ai, de Londres…–dizia elle embaraçado.–Eu julguei que… sim, de
    Londres; é que me pareceu…

    Mr. Richard esperava ouvir o verdadeiro nome, pronunciado por o filho;
    mas não succedeu assim.

    Manoel Quentino, que tinha bem fundados motivos–motivos, que o leitor
    deve prever quaes fossem–para não julgar de instante necessidade pôr
    Carlos Whitestone ao corrente das noticias commerciaes, abriu comtudo a
    escrivaninha e, procurando a carta em questão, levou-a a Carlos, não
    podendo disfarçar um sorriso, ao qual este correspondeu com ligeiro
    movimento de hombros.

    Carlos, em vez de citar o nome do correspondente, pôz-se portanto a
    examinar a carta.

    –Falle-lhe n'aquelle negocio da aguardente–disse Manoel Quentino quasi
    ao ouvido de Carlos, antes de se retirar outra vez para a banca onde
    escrevia.

    Mr. Richard pozera-se a passeiar na sala, esfregando as mãos, e de
    quando em quando parava junto da vidraça, onde tocava um ligeiro rufo.
    Não estava ainda de todo restabelecido da má impressão que lhe causára o
    haver encontrado o filho tão pouco sciente do nome dos correspondentes
    da casa.

    Carlos ficou a olhar para a carta commercial, mas julgo que nem a lia.
    Estava pensando como havia de aproveitar o conselho, pouco explicito, de
    Manoel Quentino e fallar ao pae no tal problematico negocio da
    aguardente, para elle inteiramente mysterioso.

    Temia, referindo-se-lhe aventuradamente, aggravar as difficuldades da
    sua posição, longe de diminuil-as.

    Manoel Quentino continuava a escrever, lançando para Carlos, ao molhar
    da penna, um sorriso malicioso.

    Este pousou a carta.

    O pae olhava-o obliquamente, como a esperar alguma reflexão.

    Carlos fitou ainda Manoel Quentino, o qual lhe fez um imperceptivel
    signal.

    Carlos aventurou-se:

    –Emquanto ao negocio da aguardente…–disse elle com certa
    hesitação–nada…

    O effeito foi maravilhoso!

    Mr. Whitestone voltou-se com viveza e, sem disfarçar a intima
    satisfação, que lhe causava ver o filho tão bem informado, exclamou:

    –Ah! tambem reparaste? Foi o que logo me deu que entender. Cuidei que
    nem estavas ao facto!

    Carlos, animado com o resultado, proseguiu com mais coragem:

    –Como era negocio de vulto…

    Manoel Quentino fez porém uma carêta, que o levou a corrigir.

    –Isto é… de vulto não digo… mas…

    –Mas que podia bem vir a sel-o para o futuro … é assim–atalhou Mr.
    Richard.

    –Exactamente–concordou o filho.

    Manoel Quentino sorria.

    –Mas já estive a pensar–proseguiu Mr. Richard–talvez influissem
    n'isto as condições do mercado em Londres. Subiria o genero a ponto de
    exceder o maximo indicado nas nossas cartas.

    –Póde ser, mas…–dizia Carlos, olhando para Manoel Quentino, á espera
    de receber inspirações d'alli.

    Este affeiçoou os labios como para pronunciar uma palavra, que a Carlos
    pareceu dever ser «juro». Por isso abalançou-se outra vez a dizer:

    –E tambem o juro…

    Parou, porque devéras não sabia o que devesse dizer do juro, nem se era
    natural imaginar que tivesse subido ou descido.

    Manoel Quentino moveu a cabeça em direcção do tecto, exprimindo
    mimicamente a primeira hypothese.

    –Talvez o juro subisse–concluiu, em vista d'isto, Carlos Whitestone.

    Mr. Richard aproveitou a insinuação do filho, e evidentemente satisfeito
    notou com vivacidade:

    –Effectivamente o juro está muito alto em Londres.

    –Ha muito tempo que o não tivemos tão desfavoravel–apressou-se Carlos
    em dizer, d'esta vez sem hesitar, visto que dava apenas nova fórma á
    mesma ideia.

    –É verdade que não. Creio até que ainda n'estes ultimos dez annos não
    subiu tanto, como agora.

    Carlos percebeu em Manoel Quentino um movimento de desapprovação, que o
    animou a dizer:

    –Isso é que não sei; dez annos será demais, comtudo…

    –Olha que não é demais–insistiu Mr. Richard, devéras admirado das
    informações do filho; e, depois de meditar algum tempo, continuou,
    voltando-se para o guarda-livros:–Em que anno teve logar aquella quebra
    da casa Blackfield de Londres, Manoel Quentino?

    –Em outubro de 1847–respondeu este, sem levantar os olhos da escripta.

    –Em 47?–Ai, então tens razão, tens; 47 a 55… 8… É isso… Porque
    eu lembro-me de que estava então o juro a 8 por cento.

    –E d'essa vez–acrescentou Manoel Quentino–o cambio era-nos mais
    desfavoravel que hoje.

    –É isso, é isso.

    Esta conversa prolongou-se por algum tempo com visivel satisfação de Mr.
    Richard, com bastante difficuldade para Carlos e com superior diplomacia
    do bondoso Manoel Quentino, que estava sendo collaborador de Jenny, na
    obra de pacificação domestica, encetada por ella.

    Ouviram-se emfim tres horas na torre de S. Francisco, e Mr. Richard,
    depois de ultimo exame aos livros e algumas recommendações mais, saíu do
    escriptorio, dando as boas tardes a Manoel Quentino, fazendo a Carlos um
    signal de despedida, menos sêcco do que de ordinario, e, o que mais era,
    afagando na passagem o _terra-nova_, cousa que não praticava, senão em
    occasiões de grande harmonia com o filho.

    Ainda mal se tinha perdido nas escadas o som dos passos de Mr. Richard e
    o dos latidos de contentamento do _Butterfly_, impaciente de liberdade,
    já a carta do correspondente de Londres, descrevendo uma parabola, vinha
    caír na escrivaninha ao lado de Manoel Quentino, e Carlos accendia novo
    charuto e dispunha-se a seguir o exemplo paterno.

    –Até que soou a hora da redempção!–exclamou elle, pondo o chapéo na
    cabeça.

    –Então já se vae embora?–disse Manoel Quentino, maliciosamente.

    –E acha você que não tomei dóse bastante de commercio esta manhã? Isto
    em pleno carnaval? Que impiedade!

    –Eh! eh! eh! E que me diz do tal negocio da aguardente? Então com que,
    está alto o juro, hein? Eh! eh! eh!

    –Vi-me devéras embaraçado com a tal aguardente!

    –Mas saíu-se bem.

    –Agradeço-lhe o auxilio.

    –Quer mandar dizer alguma cousa ao correspondente a tal respeito?

    –Que vá para o diabo! Não me pôde occorrer o arrevezado nome d'esse
    maldito. Como se chama elle?

    –Então não sabe ainda? Woodfall Hope… Uma das primeiras firmas
    commerciaes de Londres; e n'este negocio da aguardente…

    –Não, isso mais devagar, Manoel Quentino–atalhou Carlos–não lhe aturo
    nem mais uma palavra a respeito do tal negocio da aguardente. Boas
    tardes. Adeus, meus senhores. Deixem isso e vão ver as mascaras. Adeus.

    –_Farewell_! Mr. Charles… Eh! eh! eh!…

    Dentro em pouco, ouvia-se o descer apressado de Carlos, e a pancada
    violenta da meia cancella do portal impellida de encontro ao batente.

    O escriptorio voltou ao primeiro silencio. A Praça estava quasi deserta.
    Como era terça-feira de carnaval, terminára mais cêdo a azafama do
    commercio. Os caixeiros bocejavam e o chiar da penna de Manoel Quentino
    augmentavam o effeito somnifero do logar.

    De repente porém foi mais ruidosamente interrompido o silencio por o
    «Trai larai, larai, larai, lai» do guarda-livros.

    O bom homem, revendo o trabalho feito, descobriu omissões e enganos, que
    o obrigavam a refazel-o outra vez; a isto procedeu com exemplarissima
    paciencia.

    Voltou a si todas as culpas.

    –Ora eu devia ter mais juizo. Ainda me deixo distrahir como as
    creanças; merecia palmatoadas.

    Depois, lembrando-se de Carlos:

    –Aquelle traquinas tambem! Valha-me Deus!

    Em seguida para os caixeiros:

    –Os senhores podem ir embora. Vão ás mascaras, vão; e olhem se teem
    juizo e não arruinem a saude. Adeus. Eu ainda fico.

    –Mas se quer que o ajudemos, snr. Manoel Quentino…–disseram elles,
    por deferencia.

    –Eu quero, mas é que me deixem. Vão com Deus.

    Os caixeiros não se fizeram rogar.

    –Agora, juizo–continuou Manoel Quentino, ficando só–juizo, senão só
    chego a casa á noite, e a Cecilia ha de estar com canceira já. Como se
    transtornou hoje tudo! Eu, que contava acabar com isto mais cêdo, pois
    levava o serviço adiantado e vae… Como diabo lhe deu o rapaz para vir
    hoje ao escriptorio?… Bom moço, isso lá é, um coração de pomba… A
    cabeça é que… E n'isto de negocio, então!… Eh! eh! eh!… E o pae a
    imaginar ha pouco… A gente sempre tem cegueiras pelos filhos! Cala-te,
    bôca, que tambem não pódes fallar! Coitados dos paes! E o velho quer-lhe
    devéras… Toda a sua pena é o rapaz não tomar gosto para o commercio.
    Aquillo tambem muda… Verduras! Bom rapaz! bom rapaz! Tem a quem saír.
    O pae, um homem de bem ás direitas… a mãe era uma santa senhora…
    Pois a irmã? Isso então nem fallemos… Um anjo! E pensar que não são
    catholicos! A fallar a verdade! Ora adeus! protestantes d'estes, que
    remedio tem S. Pedro senão ir recebendo-os no céo.

    Em consequencia da visita de Carlos, só ás tres e meia foi que Manoel
    Quentino pôde terminar a sua tarefa e fechar o escriptorio, para voltar
    a casa com appetite no estomago e tranquillidade no coração. Já vê o
    leitor que tinha razão Carlos ao assegurar que não era das mais
    proveitosas a sua ingerencia nos negocios commerciaes.

    X

    JENNY

    Jenny entrou no seu quarto, logo depois da partida de Carlos para o
    escriptorio. Era um delicioso quarto, côr de violeta, onde se divisava o
    bom gosto e a elegancia desaffectada, maravilhosamente unidos a um não
    sei quê de austeridade ingleza, não em tal grau que destruisse a feição
    leve e graciosa, que compete aos aposentos de uma mulher de vinte annos,
    mas bastante para os despojar de certo excesso de ornamentos, que em
    extremo agradam a alguns espiritos, mais que femininos, pueris.

    Não lhe era cabida a descripção, que um romancista francez nos faz do
    quarto de uma das suas heroinas, pintando-nos tão abundantes as
    tapeçarias e alcatifas que, em todo elle, se não mediria uma pollegada
    de madeira a descoberto, e tão flacidas e macias, que n'essa gaiola
    perfumada poderia qualquer avesita voar, de canto a canto, sem receio de
    magoar as azas.

    Este requinte de molle elegancia parisiense mal se quadrava com a indole
    séria e com a actividade natural de Jenny Whitestone. Ha em toda a
    ingleza um pouco de puritana; no caracter das mais ternas conserva-se
    sempre alguma cousa que, debaixo do ponto de vista moral, corresponde
    áquelle esbelto e inflexivel de fórma, que lhes é proprio, tão diverso
    do requebrar indolente e quasi morbido das mulheres meridionaes.

    Não se encontrava no quarto de Jenny um unico objecto d'essa mobilia,
    quasi de boneca, dos _boudoirs_ da moda, onde predominam o _papier
    maché_, o pau rosa, a madeira branca e dourada; e os primores de uma
    arte, que, á força de querer apurar em delicadeza os seus productos, os
    faz ás vezes acanhados e ridiculos.

    A elegancia, alli, não abdicava certa dignidade, á qual hoje é raro
    combinar-se. Nenhum dos costumados artificios da industria moderna; tudo
    era o que parecia ser; o marmore, marmore; o bronze, bronze; o damasco,
    damasco; as rendas, rendas verdadeiras. Não havia nos moveis esses
    tenuissimos folheados, mascarando, com madeiras de preço, outras de
    menos valor; nenhumas d'essas maravilhas de imitação, obtidas com
    vernizes e tintas; nenhuns metaes enfeitados, pelo galvanismo, com
    falsos titulos de nobreza. Nem um só objecto mentia dentro d'aquelle
    recinto.

    Os caracteres, naturalmente observadores da boa fé, até n'estas cousas a
    amam.

    A côr predominante do quarto, de um tom que agradaria a pintores, fazia
    vantajosamente sobresair a alvura dos cortinados do leito, castamente
    descidos.

    Côres mais garridas só as das camelias, que, em singelas jarras de
    _biscuit_ e porcellana, adornavam o toucador e o fogão.

    Não usurpavam o logar, devido ás pobres flores, essa profusão de
    quinquilharias, hoje tanto á moda: vidros de essencias, de pomadas, de
    oleo, cartonagens de todos os feitios, figuras de porcellana e de jaspe,
    flores de pennas, de papel, de sola, de cascas de cebolas, de tudo com
    preferencia ás verdadeiras; retratos de rainhas e de reis, sabonetes de
    varias côres e fórmas e uma infinidade de pequenos objectos, que dão a
    qualquer d'esses gabinetes a apparencia de bazar ou de exposição de
    feira.

    Alguns bronzes de arte, alguns purissimos crystaes de Inglaterra,
    algumas bonitas floreiras e uma ou outra obra de litteratura ou de
    religião, n'aquellas inimitaveis brochuras inglezas, era o mais que alli
    se podia ver.

    As paredes estavam limpas de arrebicadas lithographias coloridas,
    representando meninas a disfarçarem um sorriso atraz do leque, a
    brincarem com um gato, a cheirarem uma flor, a olharem-nos através de
    uma luneta e em outras muitas posições todas affectadas, de tão
    graciosas que querem ser; em vez d'este adorno, então commum nas salas
    do Porto, notavam-se as mais afamadas producções do inexcedivel buril
    britannico e algumas aquarellas, cópias fieis de paizagens inglezas.

    A luz penetrava na sala por entre discretas venezianas e cortinas, que
    lhe temperavam a intensidade, até o grau adequado aos habitos de viver
    de Jenny.

    De tudo emfim vinha a este quarto um aspecto de placido recolhimento, em
    que se aprazia o espirito, pensador e inclinado á melancolia, da
    amoravel irmã de Carlos.

    Era alli dentro que, corridos os reposteiros e as cortinas, recostada ás
    mãos a fronte pensativa, em silencio, a sós, tantas vezes, como agora, a
    sympathica menina se entregava a meditações abençoadas de Deus, e das
    quaes dimanavam jubilos suaves para quantos de perto a rodeiavam.

    Agitado o coração de saudades, sempre vivas e pungentes, contemplava
    n'esses momentos, com fervor quasi religioso, o retrato da mãe, fiel e
    mimosa miniatura, que recatava como a mais preciosa das suas joias.

    A imagem d'aquella, que a estremecera tanto e que parecia ainda olhal-a
    com um bondoso sorriso, que nem a morte lhe apagára dos labios, produzia
    em Jenny a mais poderosa impressão.

    Ás vezes, á força de muito a contemplar, figurava-se-lhe que essas
    amadas feições se animavam, que um ligeiro movimento lhe corria nos
    labios, que um raio de vida fulgia, por instantes, nos olhos tão cheios
    de piedade e de tristeza.

    Que alegria para o coração da pobre Jenny! Persuadia-se de que a alma da
    mãe, evocada pela sympathia filial, passára alli, illuminára
    momentaneamente a imagem inerte, e abençoára a filha, que tão pequena
    deixára orphã de apaixonadas caricias.

    Esta illusão vivia com Jenny; era n'ella um d'esses intimos segredos do
    coração humano, para os quaes não há confidentes possiveis. Perante a
    amizade mais provada, perante o amor mais extremoso, a alma, por
    expansiva que seja, não se revela toda. Ha uma parte obscura do nosso
    mundo interior, sempre inaccessa aos olhares estranhos, onde se refugiam
    esses muitos segredos do eu para o eu, segredos, de que nós mesmos nos
    ririamos, se os labios ousassem pronuncial-os um dia;–que não ousam. Ha
    exemplos de perfumes tão subtis, que, aberto o vaso que os contém, quasi
    instantaneamente se dissipam na atmosphera; assim estes mysterios
    interiores, inconsistente alimento da nossa phantasia, perdem-se tambem,
    ao tentarmos communical-os.

    Guarde cada um para si essa parte do pensamento, superstições
    infundadas, crenças pueris, que não podem separar-se de nós, sem que nós
    proprios as desconheçamos e com os estranhos zombemos d'ellas, das
    pobres, que não nasceram para viver senão assim, presas á alma, de cuja
    essencia parece receberem vida.

    São como umas delicadas algas maritimas, cuja textura tenuissima se
    expande na agua em formosas arborisações, illudindo as esperanças dos
    que, namorados de tanta belleza, as arrancam de lá; fóra do ambiente, em
    que vegetam, cêdo se mirram e desformam.

    Bem lucida e forte era a razão de Jenny, e comtudo, no mundo interior,
    nutria a crença illusoria–pelo menos illusoria me parece, a mim que de
    fóra a examino–de que aquelle retrato de sua mãe não tinha uma
    expressão invariavel.

    Eu queria dizer que isto era sentido, e não pensado, pela bondosa
    menina; mas não sei se o rigor philosophico me permittirá a linguagem; e
    comtudo não vejo como de outra sorte dar conta d'este frequente
    phenomeno psychologico–o da persistencia de certas crenças irracionaes,
    nos espiritos mais vigorosos e logicos.

    Dias havia, em que nos traços e delineamentos d'aquella miniatura, Jenny
    julgava descobrir um ar de alegria, que logo se lhe insinuava no
    coração; outros em que, pelo contrario, ganhavam vulto a seus olhos não
    sei que sombras de tristeza que a faziam estremecer, como se fossem
    presagio de mal.

    Seriam reflexos de presentimentos proprios, que então a illudiam?
    Talvez; e ficar-se-ha comprehendendo melhor o mysterio, interpretando-o
    assim?

    Presentimentos! Que espirito philosophico ha ahi, que os admitta?

    Jenny era ainda uma creança, quando perdeu a mãe; no meio dos jogos e
    dos brinquedos infantis veio um dia surprendel-a este profundo golpe no
    coração; ao seu lado, crescera o mal ameaçador e terrivel, mas, no
    descuido de tão tenros annos, só dera por elle, quando a victima lhe
    caía prostrada nos braços. Feliz idade, a d'estas imprevidencias! N'um
    momento a vida inteira se lhe affeiçoou muito diversa, do como até então
    a antevira. Cêdo, muito cêdo, aquella creança franzina e debil, recebeu
    a solemne investidura da sacrosanta missão de mulher; transmittiu-lh'a a
    mãe, já moribunda; legou-lhe, nos derradeiros instantes, a tarefa
    abençoada, que até o fim cumprira, sem um só dia de desalento.

    Apertando nas mãos já frias as da filha lacrimosa, que só então vira a
    morte, que, tanto havia, a ameaçava nos seus mais queridos affectos,
    incumbiu áquelles poucos annos o pesado encargo da familia; e com a voz
    trémula e os olhos turvados pelas sombras do adormecer final, disse-lhe
    que a essas mãos ia deixar entregue a paz da vida interior, a felicidade
    dos seus; que a ellas confiava os thesouros e balsamos de affeições e de
    carinhos, com que, no lar domestico, se sanam tantas dores e
    desillusões, colhidas lá fóra, nas luctas da sociedade; depois, cingindo
    ao peito a filha, como em extrema recommendação, para a qual as palavras
    lhe faltavam já, morreu beijando-a; ungiu-a de suas ultimas lagrimas e
    impressionou-lhe a mente infantil a ponto que a orphã, depois de a
    chorar sobre o tumulo, levantou-se mulher, mulher apesar dos seus doze
    annos, mulher pela sisudez dos pensamentos, pela consciencia viva e
    fervente da sua nova missão.

    É um ensino efficaz o do infortunio! Desde essa hora fatal, como que se
    abriram os olhos de Jenny para verem mais fundo no coração d'aquelles
    que era dever seu tornar felizes. Só então principiou a reflectir que,
    entre os corações mais nobres e puros, se estabelecem ás vezes
    contrastes, de que podem resultar conflictos dolorosos; que o infortunio
    e as miserias da vida nem sequer proveem da funesta influencia do mal,
    de que se tenha deixado eivar completamente uma alma humana; que mais
    vezes é do encontro de duas paixões, na essencia generosas, que a
    tempestade se origina. No alto mar, um vento dominante póde governar o
    movimento e a derrota de um navio, mas é necessario que seja extrema a
    sua violencia, para que elle, por si só, o faça sossobrar; penetre porém
    o vaso mais poderoso no seio d'esses redemoinhos, que formam os ventos
    encontrados; e a submersão será quasi inevitavel.

    É assim na vida.

    Não basta que sejam grandes e sympathicos os caracteres, que laços de
    familia ou de sociedade prendem uns aos outros, para que entre elles
    exista harmonia. Que nas suas orbitas os animem movimentos contrarios, e
    serão já de temer os embates e as perturbações fataes.

    A natureza physica tambem nos mostra como venenos energicos resultam ás
    vezes da combinação de elementos inoffensivos.

    Tudo isto se foi esclarecendo, á força de meditações, no espirito da
    pequena Jenny, que tão precoce adeus teve de dizer áquellas espontaneas
    e não motivadas alegrias da infancia, que n'ella findaram com o ultimo
    suspiro da mãe.

    E cêdo foi, muito cedo para uma creança ingleza que, de ordinario, na
    idade em que as outras principiam já a querer ser senhoras, brinca
    alegre e descuidada nos parques, correndo, saltando, rindo, sem se
    affligir por a fimbria dos vestidos ainda se lhe não humedecer na relva.

    Esta livre expansão, que sabem e costumam dar á alegria as pequenas
    inglezas, é talvez a causa de serem desaffectadamente sérias, quando
    emfim a natureza, e não a arte prematura, as faz mulheres.

    Cessaram pois em Jenny os risos d'essa idade, risos expansivos e
    irreprimiveis, que a cada palavra, que á menor causa rebentam, como da
    laranjeira florida chovem sobre o prado as pétalas nevadas e fragrantes,
    á mais leve viração que lhe agita a folhagem.

    Afez-se a reflectir, a votar-se toda á felicidade dos seus, procurando
    insinuar-se nos pequenos segredos de caracter de cada um, para os
    dirigir, sem lucta funesta, na mesma esphera de acção, no mesmo circulo,
    em que tinham de viver.

    Desde essa época principiou a crescer e a vigorar com rapidez o
    predominio de Jenny em toda a familia–suave sujeição, grata aos que a
    supportavam, como uma benção do céo.

    Até então amára-se em Jenny uma creança meiga, cujas graças joviaes
    faziam distrahir o espirito de preoccupações mais sérias; cêdo porém
    tomou esse amor diverso e mais respeitoso caracter.

    Em Mr. Richard Whitestone á affeição protectora, de que rodeiava a
    filha, principiou a misturar-se uma deferencia, que tinha seus vestigios
    de veneração; em Carlos, a familiaridade que as idades quasi iguaes e os
    jogos e estudos communs haviam feito nascer entre ambos, degenerou
    gradualmente em um sentimento de mais respeito, em uma docil submissão,
    que em todos os seus actos se denunciava.

    Forte com esta dupla preponderancia, ía cumprindo Jenny religiosamente o
    legado da mãe, sempre com o pensamento n'ella, sempre com os olhos na
    sua imagem, na qual julgava entrever os reflexos da alegria ou da
    tristeza, que a sorte da familia devia por certo despertar n'aquella
    alma de justa, que a contemplava do céo.

    Este oraculo, para todos mudo, só eloquente para os sentidos da filha,
    consultava-o Jenny com ardente fé ao encerrar-se sósinha no quarto, onde
    a luz e o rumor de fóra penetravam discretamente, como convinha a logar
    de tão piedosos mysterios.

    Era triste a imagem d'esta vez!

    Triste porquê?

    Se os labios da irmã de Carlos trahissem n'aquelle momento as ideias,
    que tão profundamente a absorviam, elles fallariam d'este modo:

    –Pobre mãe! porque venho encontrar-te assim triste? Não passaria ainda
    a nuvem d'esta manhã?… Mas era tão ligeira!… tão leve! que a mim
    mesma me inquietou pouco. Que adivinhas tu, boa mãe?–Isto pensava, ao
    beijar o retrato–Alegra-te; Carlos deve estar agora no escriptorio;
    pobre Carlos! É tão bondoso aquelle coração! Como elle havia de amar-te,
    como havia de acariciar-te, mãe, se ainda vivesses comnosco! Poucos o
    conhecem bem. Mas por que estás ainda triste? Has de ver como voltarão
    amigos. É facil reconciliar aquelles corações, que a final tanto se
    estremecem! Uma ou outra nuvem, que passe entre ambos, gera-a o mesmo
    excesso de amor. Parece-me que ia dizer como tudo se passou. A vista de
    Carlos foi bastante para dissipar todo aquelle resentimento…
    resentimento proprio de quem muito estima!… Então! Já não tens
    confiança na tua filha? Bem vês como todos aqui me querem. Elles de
    certo vêem em mim alguma cousa do teu espirito, mãe, para serem assim
    tão doceis com uma pobre rapariga. É á tua alma, á tua alma, que me
    acompanha, que elles obedecem a final. Continúa ao meu lado, mãe, e eu
    serei forte; não me abandones, e verás que não ha fundamentos para
    apprehensões. E ainda triste!–E beijava o retrato–E ainda!… e
    ainda… e ainda!…–beijava-o repetidas vezes.

    Depois tentava a razão dissipar aquelas piedosas illusões:

    –Estou louca!–pensava então Jenny–Pois como póde um retrato…

    Aproximava-se mais da luz.

    As illusões voltavam outra vez, como volta o enxame de abelhas que o
    vento afasta das flores.

    –Não sei, não sei como isto é, não posso saber… mas esta expressão é
    mais triste do que a de hontem… De que procede esta tristeza?… A
    maneira por que me fallou do baile de hontem… O baile! … acaso …
    aquela mascara?… Mas que póde resultar d'alli?… Meu Deus! diria que
    ainda te pozeste mais triste! Deverei pois acreditar…

    N'isto ouviu passos fóra da porta.

    Quebrou-se o encanto! Como que se extinguiu toda a impressão do retrato
    para os sentidos, meio allucinados, da commovida…
    visionaria–chamar-lhe-hei assim?–Apressou-se em escondel-o.

    A figura de Luiza, aquella mesma criada que já conhecemos, appareceu no
    limiar.

    –Que é, Luiza?

    –É a filha do snr. Manoel Quentino.

    –Ah! chegou finalmente Cecilia? Que entre, Luiza, que entre. Nem sei
    para que a fez esperar–acudiu Jenny com vivacidade.

    Era Cecilia uma das suas mais affeiçoadas amigas.

    XI

    CECILIA

    Passados momentos, entrava no quarto, ligeira como uma andorinha,
    risonha como uma creança, a filha de Manoel Quentino. Era a unica
    familia que o velho guarda-livros tinha no mundo.

    Jenny estendeu-lhe affectuosamente a mão … e «beijaram-se», pensará a
    leitora. Pois não beijaram, não, minha senhora; as inglezas poupam muito
    mais esse thesouro dos beijos, do que as mulheres dos outros paizes; um
    amigavel aperto de mãos, um sorriso, uma phrase affectuosa… e mais
    nada. Será para os fazer mais apreciados, quando concedidos?

    Cecilia era um modelo da belleza portugueza, e portuense talvez, nas
    suas mais felizes realisações.

    É costume entre nós, quando se quer exaltar, no conceito dos leitores, a
    belleza de uma mulher, classifical-a entre as hespanholas, entre as
    italianas, entre as allemãs, e entre as inglezas, mas nunca entre as
    nossas compatriotas, que soffrem, ha muitos annos, com sublime
    resignação de martyres, esta velha e flagrante injustiça.

    Parece que o typo nacional é indigno de referencia, e que só quando
    d'elle aberra e, por um capricho da natureza, reveste a feição
    estrangeira, é que uma figura de mulher merece as fórmulas, mais ou
    menos sonoras e hyperbolicas, da nossa admiração.

    É vulgar ouvir-se dizer:–«Como é bella! Ha n'aquelle todo vaporoso
    certo ar germanico!»–«Que mulher! Tem o _salero_ de uma
    hespanhola!»–«Que magestade! que _morbideza_! É uma perfeita _madonna_
    italiana!»–«Que poetica gravidade! Dir-se-hia uma candida _lady_!» O
    que porém se não ouve, pelo menos o que eu ainda não ouvi, é: «–Que
    sympathica rapariga! É uma portugueza perfeita!»

    A causa d'isto é o sermos nós uma nação pequena e pouco á moda, acanhada
    e bisonha n'esta grande e luzida sociedade europeia, onde por obsequio
    somos admittidos, dando-nos já por muito lisongeados, quando os
    estrangeiros se deixam, benevolamente, admirar por nós.

    Falta-nos certo uso de sociedade, que ensina cada qual a occupar o seu
    logar. Quando não encarecemos exageradamente as cousas patrias, á
    maneira d'aquelle sujeito que vimos n'um dos grupos da Praça, caímos no
    excesso opposto e nem sequer fallamos d'ellas, como se nos corressemos
    da origem.

    Bem que peze á vaidade nacional, é forçoso o fazer aqui, em familia, uma
    confissão:–Nós temos o defeito d'aquelles provincianos que, nos
    circulos da capital, suffocam envergonhados, como cousa de mau gosto,
    uns restos de amor da terra, que ainha os punge, e deitam-se a exaltar,
    com affectação altamente comica, os prazeres e commoções da vida das
    grandes cidades, que ainda mal gosaram e ainda mal saboreiam;–fallam
    dos theatros, dos bailes, da cantora da moda, do escandalo do dia, sem
    se atreverem a dizer uma palavra pelo menos das arvores, das paizagens,
    das tradições, dos costumes locaes, do conchego domestico da sua
    provincia, o que porventura os outros lhe escutariam com mais vontade; e
    no fim de tudo ficam mais ridiculamente provincianos, do que nunca.

    Assim tambem os portuguezes, acanhados nos circulos da Europa, não ousam
    conferir diplomas de excellencia a cousa que lhes pertença;
    envergonham-se de fallar nas riquezas patrias, emquanto abrem a bôca,
    por convenção, a tanta insignificancia que, em todos os generos, a
    vaidade estrangeira apregôa como primores: levam o excesso da modestia,
    se é só modestia isso, até receiarem que as vistas dos estranhos
    averiguem do que lhes vae por casa, e agradecem, com effusões de
    sensibilidade, uma ou outra phrase de louvor, que, em momentos raros,
    elles lhes concedem.

    Se ousamos fallar de Camões, ao mesmo tempo que de Tasso, de Dante e de
    Milton; se ousamos apregoar o vinho do Porto, junto com o de Xerez,
    Chateau-Laffite e Tokay, é porque lhes deram lá fóra o diploma de
    fidalguia; que por nós … continuariamos, calados, a ler um e a beber o
    outro, sem bem conhecermos a preciosidade que liamos e que bebiamos, ou
    pelo menos correndo-nos de uma nos parecer sublime, e a outra deliciosa.

    Ainda que se taxe um dos similes de menos delicado, é certo que o mesmo
    succede com as bellezas femininas; costumamo-nos ás exclamações á
    moda:–«Ah! as hespanholas!»–«Oh! as italianas!»–«Ai, as allemãs!» e
    julgariamos de mau gosto dizer em publico:–«As portuguezas!» até sem
    interjeição prévia a encarecer-lhes a valia.

    E isto fazem-o até muitos, que nunca transpozeram as barreiras d'esta
    cidade, onde não abundam os typos d'essas varias bellezas exoticas.

    Eu porém atrever-me-hei a arvorar a bandeira puritana n'esta campanha
    gloriosa.

    De certo não serão os leitores que m'o levarão a mal.

    Deus me defenda de querer, por forma alguma, ferir a fama tradicional de
    todas as já estudadas e classificadas bellezas, admittidas e exaltadas,
    como taes, no mundo inteiro; a minha tolerancia abrange todas; queria
    sómente que se abrisse tambem logar para as nossas patricias, que bem
    merecem essa distincção.