Code Simplicity The Science of Software Development Max Kanatalexander Download
Code Simplicity The Science of Software Development Max Kanatalexander Download
https://ebookbell.com/product/code-simplicity-the-science-of-
software-development-max-kanatalexander-2544646
https://ebookbell.com/product/code-of-ethics-for-nurses-with-
interpretive-statements-2nd-edition-american-nurses-
association-44916222
https://ebookbell.com/product/code-of-practice-for-project-management-
for-construction-and-development-6th-edition-ciob-the-chartered-
institute-of-building-45705064
https://ebookbell.com/product/code-conspiracy-carol-ericson-46089580
Code The Hidden Language Of Computer Hardware And Software 2nd Edition
2nd Charles Petzold
https://ebookbell.com/product/code-the-hidden-language-of-computer-
hardware-and-software-2nd-edition-2nd-charles-petzold-46193804
Code Club Book Of Scratch Rik Cross
https://ebookbell.com/product/code-club-book-of-scratch-rik-
cross-46225760
https://ebookbell.com/product/code-of-justice-liz-johnson-46253058
https://ebookbell.com/product/code-of-ethics-lynette-eason-46253186
https://ebookbell.com/product/code-of-valor-lynette-eason-46253214
Code Wars How Ultra And Magic Led To Allied Victory John Jackson
https://ebookbell.com/product/code-wars-how-ultra-and-magic-led-to-
allied-victory-john-jackson-46272670
Code Simplicity
Max Kanat-Alexander
Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.
O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions
are also available for most titles (http://my.safaribooksonline.com). For more information, contact our
corporate/institutional sales department: (800) 998-9938 or [email protected].
Editors: Andy Oram and Mike Hendrickson Cover Designer: Karen Montgomery
Production Editor: Melanie Yarbrough Interior Designer: David Futato
Copyeditor: Rachel Head Illustrator: Robert Romano
Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of
O’Reilly Media, Inc. Code Simplicity, the cover image of a ring dove, and related trade dress are trade-
marks of O’Reilly Media, Inc.
Many of the designations used by manufacturers and sellers to distinguish their products are claimed as
trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a
trademark claim, the designations have been printed in caps or initial caps.
While every precaution has been taken in the preparation of this book, the publisher and authors assume
no responsibility for errors or omissions, or for damages resulting from the use of the information con-
tained herein.
ISBN: 978-1-449-31389-0
[LSI]
1332356930
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
What’s Wrong with Computers? 1
What Is a Program, Really? 3
4. The Future . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
The Equation of Software Design 19
Value 20
Effort 21
Maintenance 22
The Full Equation 23
Reducing the Equation 23
What You Do and Do Not Want 24
The Quality of Design 26
Unforeseeable Consequences 27
5. Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Change in a Real-World Program 31
The Three Flaws 34
Writing Code That Isn’t Needed 34
Not Making the Code Easy to Change 36
Being Too Generic 38
iii
Incremental Development and Design 40
7. Simplicity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Simplicity and the Equation of Software Design 49
Simplicity Is Relative 49
How Simple Do You Have to Be? 51
Be Consistent 53
Readability 54
Naming Things 55
Comments 56
Simplicity Requires Design 56
8. Complexity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Complexity and Purpose 61
Bad Technologies 62
Survival Potential 63
Interoperability 63
Attention to Quality 64
Other Reasons 64
Complexity and the Wrong Solution 64
What Problem Are You Trying to Solve? 65
Complex Problems 65
Handling Complexity 66
Making One Piece Simpler 68
Unfixable Complexity 68
Rewriting 69
9. Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
iv | Table of Contents
Preface
v
programming, everywhere. Instead, real-world examples and analogies are used
throughout the book to help you get a better understanding of each principle, as it is
presented.
Most of all, this book was written to help you, and to help bring sanity, order, and
simplicity into the field of software development. I hope that you enjoy reading it and
that it improves your life and your software in some way.
vi | Preface
creative professionals use Safari Books Online as their primary resource
for research, problem solving, learning, and certification training.
Safari Books Online offers a range of product mixes and pricing programs for organi-
zations, government agencies, and individuals. Subscribers have access to thousands
of books, training videos, and prepublication manuscripts in one fully searchable da-
tabase from publishers like O’Reilly Media, Prentice Hall Professional, Addison-Wesley
Professional, Microsoft Press, Sams, Que, Peachpit Press, Focal Press, Cisco Press, John
Wiley & Sons, Syngress, Morgan Kaufmann, IBM Redbooks, Packt, Adobe Press, FT
Press, Apress, Manning, New Riders, McGraw-Hill, Jones & Bartlett, Course Tech-
nology, and dozens more. For more information about Safari Books Online, please visit
us online.
How to Contact Us
The author maintains a website at http://www.codesimplicity.com where you can make
contributions and submit comments and corrections.
Please address comments and questions concerning this book to the publisher:
O’Reilly Media, Inc.
1005 Gravenstein Highway North
Sebastopol, CA 95472
800-998-9938 (in the United States or Canada)
707-829-0515 (international or local)
707-829-0104 (fax)
We have a web page for this book, where we list errata, examples, and any additional
information. You can access this page at:
http://www.oreilly.com/catalog/9781449313890
To comment or ask technical questions about this book, send email to:
[email protected]
For more information about our books, courses, conferences, and news, see our website
at http://www.oreilly.com.
Find us on Facebook: http://facebook.com/oreilly
Follow us on Twitter: http://twitter.com/oreillymedia
Watch us on YouTube: http://www.youtube.com/oreillymedia
Preface | vii
Other documents randomly have
different content
After several manœuvres on the part of each vessel, Captain
Nicholson discovered that his adversary had thirteen ports on each
side, and eight or ten on her quarter-deck and forecastle, and of
course mounted thirty-six guns. At twelve, the Trumbull, finding her
great superiority as to sailing, and having gotten to windward,
determined to avail herself of the advantage to commence the
engagement.
The stranger, observing the design of Captain Nicholson, fired three
shots, and hoisted British colors as a challenge. The Trumbull wore
after her, hoisting British colors, with an intention of getting
alongside. A private signal was made in turn by the British ship,
which not being answered she opened a broadside at a hundred
yards distance. The Trumbull, upon this, run up the continental
colors, and returned the fire.
Such was the commencement of an action of three hours'
continuance. There was bravery, determination, on both sides.
During the greater part of the action, the vessels were not fifty yards
apart, and at one time, they were nearly enlocked.
Twice was the Trumbull set on fire by means of wads from the other
vessel. Her masts and rigging were greatly injured. Observing, at
length, that her masts were in imminent danger of going by the
board, the first lieutenant informed Captain Nicholson of the danger,
and begged him to abandon further attempt to take the enemy's
ship, as without masts they should be at his mercy.
It was with great reluctance that Captain Nicholson adopted the
course suggested. He was confident that with one half-hour more,
he should have been able to have achieved the victory. But yielding
to stern necessity, and the dictates of humanity, he gave up the
contest. He lost his main and mizen-top-mast, when only musket-
shot distant from the other vessel. At length, only her fore-mast was
left, and that was badly wounded and sprung. She had eight men
killed, and twenty-one wounded, nine of whom died after the action.
Her crew consisted of one hundred and ninety-nine men. The
English ship proved to be the Watt, letter-of-marque. She had
upwards of ninety men killed and wounded. Not less than one
hundred balls struck her hull.
The Savage was a British sloop, carrying twenty guns and about one
hundred and fifty men. In September, 1781, while on a cruise along
the Southern coast of the United States, she entered the Potomac,
and plundered the estate of Washington, then in another quarter,
commanding the American army. It was an expedition unworthy a
high-minded and honorable officer, and a well-merited rebuke was
soon after meted out to him.
On leaving the Potomac, the Savage fell in with the American
privateer Congress, Captain Geddes, off Charleston. The vessels
were of the same force. On board the Congress, at the time, was
Major McLane, a distinguished American officer, who with a part of
his command had volunteered to serve as marines. As the crew of
the Savage were all seamen, she had decidedly the advantage, in
respect to the Congress, whose crew, in part, were landsmen,
unacquainted with marine warfare.
The vessels were now within cannon distance. The Congress
commenced by firing her bow-chasers. This was at half-past ten in
the morning. At eleven, they had approximated so near each other,
that the landsmen employed their musketry, and with effect. A sharp
and destructive cannonade followed on both sides.
At the commencement of the engagement, the advantage lay with
the Savage. Her position being on the Congress' bows, was favorable
for raking. But a closer engagement followed, and the tide turned in
favor of the privateer. So well did she manœuvre, so promptly, so
dextrously, that she soon disabled her enemy. At the expiration of an
hour, the braces and bowlines of the Savage were shot away. Not a
rope was left by which to trim the sails. The musketry of the
Americans had cleared her decks. In this situation, it was deemed
impossible that she could much longer continue the contest. Indeed,
she was already nearly a wreck—her sails, rigging, and yards were
so shattered as to forbid her changing her position, but with the
greatest difficulty. She would not, however, surrender, but
rëcommenced a vigorous cannonade. Again her quarter-deck and
forecastle were cleared by the fatal musketry of the American
landsmen. Three guns on her main deck were rendered useless. The
vessels were now so near each other, that the fire from the guns
scorched the men opposed to them in the other. At length, the
mizen-mast of the Savage was shot away. At this instant, the
boatswain of the Savage appeared forward, with his hat off, calling
for quarter. But it was half an hour before the crew of the Congress
could board her, by reason of the loss of their boats. But, on
reaching her, she was found to be scarcely more than a wreck. Her
decks were covered with blood, and killed and wounded men.
The Congress had thirty men killed and wounded. The Savage had
twenty-three killed and thirty-one wounded. Among the latter, was
her commander, Captain Sterling.
The marine service often furnished examples of great heroism and
most patriotic endurance. Such an instance occurred on board the
Congress. After the action terminated, Major McLane went forward
to ascertain what had become of his sergeant, Thomas. He found
the poor fellow lying on his back in the netting, near the foot of the
bowsprit, with his musket loaded, but both legs broken. "Poor
fellow!" thought the major, as he beheld him; "poor fellow!" But the
poor fellow began huzzaing lustily for the victory achieved; and
followed his exulting and even vociferous huzzas by a corresponding
exclamation addressed to his major: "Well, major, if they have
broken my legs, my hands and my heart are still whole."
Sergeant Thomas was terribly wounded, but the kind-hearted major
did not neglect him. The best care was taken of him; ultimately, he
recovered; and, nothing deterred by the painful experience he had
had of the sometimes ill-fortune of war, he entered on board the
Hyder Ali, commanded by Captain Barney.
It is ever delightful to record instances of high-minded and
magnanimous conduct on the part of victors towards the
vanquished. This engagement furnishes one most honorable to the
American character. The officers and crew of the Savage were
treated with the greatest kindness and attention. Major McLane even
accompanied Captain Sterling into Pennsylvania, to secure him from
insult, his treatment of American prisoners having rendered him
highly obnoxious to the patriots.
Such is a brief account of some of the exploits of the American
marine during the war of the Revolution. There were others perhaps
equally honorable to the skill and enterprise of our naval officers, but
which our limits forbid us to notice. On the breaking out of the war,
the country was poorly prepared to enter the lists with the mistress
of the ocean. Indeed, it was not until 1776, that the forbearing
policy of congress was abandoned, and the nautical enterprise of the
country was let loose upon British commerce. From that time,
however, American valor was exhibited in its true and persevering
spirit, and contributed, as far as it had scope, in inducing the
mother-country to acknowledge the independence of her wayward
child—which she did on the 20th of January, 1783.
Upon this most desirable event, orders of recall were issued to all
naval commanders; and the commissions of privateers and letters of
marque were annulled. On the 11th of April following, a
proclamation from the proper authorities announced the cessation of
hostilities. From this time, as the glad intelligence spread, the helms
of our warlike ships were turned towards our home ports, leaving
the merchantmen again to the peaceful possession of that element,
which for years they had traversed, if at all, at the greatest hazard.
XV. EMINENT FOREIGNERS,
CONNECTED WITH THE REVOLUTION.
GEORGE III.
George III. was born in 1738, and succeeded to the throne on the
death of his grandfather, George II., October 25, 1760, about the
time the troubles with America began. At this period, principally
through the lofty spirit and political sagacity of Pitt, afterwards Earl
of Chatham, who was, and for some time had been, at the head of
the administration, the affairs of the nation were in a most
prosperous state. The army and navy were highly efficient, and
flushed with recent conquests; the revenue flourished; commerce
was increasing; the people were loyal; and, perhaps, no prince had
ascended the throne of his ancestors with more flattering prospects
than George the Third.
Soon after ascending the throne, the king evinced a determination to
procure a general peace. In this measure he differed from his great
minister, Pitt, who, on that account, retired from office, October 5,
1761. Peace, however, contrary to the wishes and designs of the
king could not be obtained on a just basis, and the war proceeded.
In May, 1762, Lord Bute, a particular favorite of the king, who had
contrived to gain a remarkable ascendancy over him, succeeded the
Duke of Newcastle, as first lord of the treasury. Preliminaries of
peace between England, France, and Spain, were signed on the 3d
of November, and the definite treaty followed, February 10th, 1763.
The people, however, were by no means pacifically inclined, or
contented with the political ascendancy of Lord Bute, whose
administration was attacked with unsparing severity by several
popular writers, particularly by the celebrated John Wilkes, in his
periodical paper, called the North Briton. The arrest of Wilkes, and
the seizure of his papers under a general warrant, issued by the
secretary of state for the home department, increased the
indignation and clamors of the people; Lord Bute was execrated
throughout the country, and the king himself became exceedingly
unpopular. The removal of the favorite, and the appointment of
George Grenville to the head of the treasury, having failed to allay
the national irritation, Pitt, it is asserted, was at length summoned to
court, and requested to make arrangements for forming a new
ministry; but he presumed, it is added, to dictate such arrogant
terms, that, rather than submit to them, the king said he would
place the crown on Pitt's head, and submit his own neck to the axe.
In 1764, the king suggested to Grenville the taxation of America, as
a grand financial measure for relieving the mother-country from the
heavy war expenses, which, it was unjustly claimed, had chiefly
been incurred for the security of the colonies. The minister was
startled, and raised objections to the proposal, which, however, were
overruled by the king, who plainly told him that, if he were afraid to
adopt such a measure, others might easily be found who possessed
more political courage. At length, Grenville reluctantly brought the
subject before parliament; and, in spite of a violent opposition, the
stamp act, so important in its consequences, was passed in the
following year. The most alarming irritation prevailed among the
colonists of America.
The Rockingham party, which now came into power, procured the
repeal of the stamp act; but, notwithstanding this and some other
popular measures of the new cabinet, it was dissolved in the
summer of 1766. The Duke of Grafton succeeded Lord Rockingham,
as first lord of the treasury, and Pitt (then Earl of Chatham) took
office as lord privy seal. In the following year, Charles Townshend,
chancellor of the exchequer, proposed the taxation of certain articles
imported by the American colonists; and, early in 1768, Lord
Chatham retired in deep disgust from the administration, which,
during the preceding autumn, had been weakened by the succession
of Lord North to Charles Townshend, as chancellor of the exchequer.
Some other official changes took place; one of the most important of
which, perhaps, was the appointment of Lord Hillsborough to the
new colonial secretaryship.
The aspect of affairs in America grew more serious every hour: the
deputies of Massachusetts declared taxation by the British
parliament to be illegal; a scheme for a general congress of the
different states was proposed, and an open rupture with the mother-
country was evidently approaching. Blind to the consequences of
their fatal policy, the king and his ministers, however, persisted in
those measures, with regard to the trans-Atlantic colonies, which
eventually produced a dismemberment of the empire.
In January, 1770, the Duke of Grafton resigned all his employments;
but, unfortunately for America, he was succeeded by Lord North,
who increased rather than alleviated the national calamities, and
was decidedly with the king in his determination never to yield to the
demands of the colonists, but to coerce them to submission,
however unjustly, by the arm of power.
In 1782, Lord North was compelled to resign, and the Rockingham
party, friendly to the independence of America, came into office; but
the new administration soon afterwards broke up, on account of the
sudden death of the premier. Lord Shelburne was now placed at the
head of the treasury, and Pitt, son of the great Earl of Chatham,
became chancellor of the exchequer.
In 1783, a general peace was concluded, and the United States
procured a formal acknowledgment of their independence. When
Adams, the first American envoy, attended at the levee, the king, to
whom he was personally disagreeable, received him with dignified
composure, and said, "I was the last man in England to acknowledge
the independence of America, but having done so, I shall also be the
last to violate it." This was highly honorable to the king. America was
a jewel in the British crown which was increasing in lustre, to part
with which was truly painful to royal ambition. Nor did George III.
consent to any acts which tended to this relinquishment, only as he
was compelled to it by the ill success of his armies in America, and
the clamorous demands for peace by his subjects at home. But
having, at length, parted with this jewel, and having acknowledged
the independence of America, he nobly declared his intention to live
in peace with this newborn empire.
JOHN BURGOYNE.
The merits of Sir Henry Clinton, as a commander, have been variously estimated; and,
as is usually the case, the truth seems to be intermediate between the panegyric of his
friends and the censure of his enemies. That he was endowed with bravery, and
possessed a considerable share of military skill, cannot, in fairness, be denied; but he
was decidedly unequal to the great difficulties of his situation and unfit to contend
against so lofty a genius as Washington, supported by a people resolved on obtaining
their independence, and fighting on their native soil.
ISAAC BARRE.
Colonel Barre.
Colonel Barre was born in Ireland, about the year 1726. He served at Quebec, under
Wolfe, in the picture of whose death, by Benjamin West, his figure is conspicuous. The
Earl of Shelburne procured him a seat in parliament, where, acting in opposition to
government, he was not only deprived of his offices of adjutant-general and governor
of Stirling castle, which he had received as a reward for his services in America, but
dismissed from the service. During the Rockingham administration, he was
compensated for the loss which he had sustained, by being voted a pension of three
thousand two hundred pounds per annum; which he subsequently relinquished,
pursuant to an arrangement with Pitt, on obtaining a lucrative, but not distinguished
office. He usually took office when his party predominated; and was, in the course of
his career, a privy counsellor, vice treasurer of Ireland, paymaster of the forces, and
treasurer of the navy. His best speeches were delivered during North's administration,
on the American war, to which he appears to have been inflexibly opposed. His oratory
was powerful, but coarse; his manner, rugged; his countenance, stern; and his stature,
athletic. He was suspected, but apparently without reason, of having assisted in writing
the letters of Junius. For the last twenty years of his life, he was afflicted with
blindness, which, however, he is said to have borne with cheerful resignation. His death
took place on the 20th of July, 1792.
CHARLES TOWNSHEND.
Charles Townshend, son of Viscount Townshend, was born 1725. From his youth, he
was distinguished for great quickness of conception and extraordinary curiosity. In
1747, he went into parliament, and continued a member till he died. He held various
offices in the government. In 1765, he was paymaster general, and chancellor of the
exchequer; and a lord of the treasury in August, 1766, from which period he remained
in office until his decease, which took place on the 4th of September, 1767.
In person, Charles Townshend was tall and beautifully proportioned; his countenance
was manly, handsome, expressive, and prepossessing. He was much beloved in private
life, and enjoyed an unusual share of domestic happiness.
Burke, in his speech on American taxation, thus admirably depicted the general
character of Charles Townshend: "Before this splendid orb (alluding to the great Lord
Chatham) had entirely set, and while the western horizon was in a blaze with his
descending glory, on the opposite quarter of the heavens arose another luminary, and
for his hour he became lord of the ascendant. This light, too, is passed, and set for
ever! I speak of Charles Townshend, officially the rëproducer of this fatal scheme
(American taxation); whom I cannot even now remember, without some degree of
sensibility. In truth, he was the delight and ornament of this house, and the charm of
every private society which he honored with his presence. Perhaps there never arose in
this country, nor in any country, a man of more pointed and finished wit, and (where
his passions were not concerned) of a more refined, exquisite, and penetrating
judgment. If he had not so great a stock, as some have had who flourished formerly, of
knowledge long treasured up, he knew better by far, than any man I ever was
acquainted with, how to bring together, within a short time, all that was necessary to
establish, to illustrate, and to decorate that side of the question he supported. He
stated his matter skillfully and powerfully; he particularly excelled in a most luminous
explanation and display of his subject."
Lord Cornwallis, eldest son of the fifth lord, and first Earl Cornwallis, was born 1738. At
the age of twenty, he entered the army, and obtained a captaincy. In 1762, on the
death of his brother, he took his seat in the house of lords. In 1770, he and three other
young peers, having protested, with Lord Camden, against the taxation of America,
Mansfield, the chief justice, is said to have sneeringly observed, "Poor Camden could
only get four boys to join him!"
Although he had opposed the measures of the government with regard to the
disaffected colonies, yet when hostilities commenced, he did not scruple to accept of
active employment against the Americans. His history, during the war, will be found in
the preceding pages. He was a proud man, and most humiliating was it when he was
obliged to surrender to Washington at Yorktown.
But his failure in America did not impair his reputation. On his return to England, he
was made governor of the Tower. In 1786, he was sent to Calcutta, as governor-general
and commander-in-chief. Having terminated, successfully, a war in that country, he
returned to England. In 1799, he became lord-lieutenant of Ireland. Soon after the
expiration of his vice-regency, he was sent to France as plenipotentiary for Great
Britain, in which capacity he signed the treaty of Amiens. In 1804, he succeeded the
Marquis Wellesley, as governor-general of India. On his arrival at Calcutta, he
proceeded, by water, to take the command in the upper provinces. The confinement of
the boat, the want of exercise, and the heat of the weather, had a most serious effect
on his health. Feeling, soon after he had landed, that his dissolution was at hand, he
prepared some valuable instructions for his successor; and the last hours of his life
were passed in taking measures to lessen the difficulties which his decease would
produce. He expired at Ghazepoore, in Benares, on the 5th of October, 1805.
Lord Cornwallis was not endowed with any brilliancy of talent. He had to contend with
no difficulties, on his entrance into life: high birth procured him a military station, which
his connexions enabled him to retain, after he had committed an error, or, at least, met
with a mischance, that would have utterly ruined a less influential commander.
Although ambitious, he appears to have possessed but little ardor. He manifested no
extraordinary spirit of enterprise; he hazarded no untried manœuvres; and yet, few of
his contemporaries passed through life with more personal credit or public advantage.
He had the wisdom never to depute to others what he could perform himself. His
perseverance, alacrity, and caution, procured him success as a general, while his strong
common sense rendered him eminent as a governor. He always evinced a most anxious
desire to promote the welfare of those who were placed under his administration;
Ireland and Hindostan still venerate his memory. His honor was unimpeachable; his
manners, devoid of ostentation; and his private character, altogether amiable.
Napoleon Buonaparte, in his conversations with Barry O'Meara, declared that Lord
Cornwallis, by his integrity, fidelity, frankness, and the nobility of his sentiments, was
the first who had impressed upon him a favorable opinion of Englishmen. "I do not
believe," said the ex-emperor, "that he was a man of first-rate abilities; but he had
talent, great probity, sincerity, and never broke his word. Something having prevented
him from attending at the Hôtel de Dieu, to sign the treaty of Amiens, pursuant to
appointment, he sent word to the French ministers that they might consider it
completed, and that he would certainly execute it the next morning. During the night,
he received instructions to object to some of the articles; disregarding which, he signed
the treaty as it stood, observing that his government, if dissatisfied, might refuse to
ratify it, but that, having once pledged his word, he felt bound to abide by it. There was
a man of honor!" added Napoleon; "a true Englishman."
LORD CHATHAM.
William Pitt, Earl of Chatham, was born November 15, 1708. His father was Robert Pitt,
of Boconnock, in the county of Cornwall. He received his education at Trinity college,
Cambridge. He took a seat in parliament as early as 1735, as a member for Old Sarum.
His exalted talents, his lofty spirit, and commanding eloquence, soon rendered him
singularly conspicuous. Under George II., in 1757, he became premier of that
celebrated war administration, which raised England to a proud prëeminence over the
other nations of Europe. His energy was unbounded. "It must be done," was the reply
he often made, when told that his orders could not be executed. After which, no excuse
was admitted. Under his auspices, England triumphed in every quarter of the globe. In
America, the French lost Quebec; in Africa, their chief settlements fell; in the East
Indies, their power was abridged; in Europe, their armies suffered defeat; while their
navy was nearly annihilated, and their commerce almost reduced to ruin.
On the accession of George the Third, Pitt, who felt strongly impressed with the policy
of declaring war against Spain, was thwarted in his wishes by the influence of Lord
Bute; and, disdaining to be nominally at the head of a cabinet which he could not
direct, he resigned his office in October, 1761.
Lord Chatham.
But, despite of these most degrading and ruinous practices, Fox proved to be one of
the most accomplished and effective orators, and perhaps we may add, statesman of
his times. He was the rival of Pitt; and, though not so finished in his elocution, he not
unfrequently equalled him in the effect produced.
By what means he attained to such eminence, it scarcely appears; for the younger part
of his life seems to have been so exclusively devoted to his pleasures, as scarcely to
have time left for the cultivation of his intellect. His genius, however, was brilliant; and
from his earliest years he was in the society of men distinguished for their cultivated
intellect, and the eminent part they took in the government of the country. It is related
of Fox, that he would not unfrequently spend the entire night at his favorite
amusement, gambling, and thence proceed to the House of Commons, when he would
electrify the whole assembly with some cogent and brilliant speech.
Fox was a firm, steadfast friend to the Americans and their independence. At the time
the measures which led to the American war had come to a crisis, a formidable party
existed in England, opposed to the unjust and illiberal policy of the government. To this
party, Fox united himself; and, from his conspicuous talents, soon acquired the
authority of a leader. In 1773, he opposed the Boston port bill, and apologized for the
conduct of the colonies. In his speech on that occasion, he arraigned the measures of
the ministers in bold and energetic language, and explained the principles of the
constitution with masculine eloquence. The session of 1775, opened with a speech from
the king, declaring the necessity of coercion. On this occasion, Fox poured forth a
torrent of his powerful eloquence. In that plain, forcible language, which formed one of
the many excellencies of his speeches, he showed what ought to have been done, what
ministers had promised to do, and what they had not done. He affirmed that Lord
Chatham, the king of Prussia—nay, even Alexander the Great—never gained more in
one campaign than Lord North had lost.
When the news of the disastrous defeat of Burgoyne reached England, Fox loudly
insisted upon an inquiry into the causes of his failure. And in like manner, when the fate
of Cornwallis' army at Yorktown was made known, the oppositionists were loud in their
denunciations of the proceedings of ministers in regard to the war. Mr. Fox designed to
make a motion for an investigation into the conduct of Lord Sandwich, who was at the
head of the admiralty. But he was, for a time, too much indisposed to make the
attempt. It was on this occasion, that Burke is reported to have said, "that if Fox died,
it would be no bad use of his skin, if, like John Ziska's, it should be converted into a
drum, and used for the purpose of sounding an alarm to the people of England."
The death of Mr. Fox occurred 13th of August, 1806.
Walpole thus compares the two great orators of England: "Mr. Fox, as a speaker, might
be compared to the rough, but masterly specimen of the sculptor's art; Mr. Pitt, to the
exquisitely finished statue. The former would need a polish to render him perfect; the
latter possessed, in a transcendent degree, every requisite of an accomplished orator.
The force of Mr. Fox's reasoning flashed like lightning upon the mind of the hearer: the
thunder of Mr. Pitt's eloquence gave irresistible effect to his powerful and convincing
arguments."
The sympathy and support of such men as Fox, during our Revolutionary struggle,
served to sustain and animate our patriotic fathers. They felt that while they were in
the field, engaged in defeating the armies of England, they had friends in the House of
Commons, who were making every possible effort to defeat the impolitic and
oppressive measures of the king and his ministers.
JOHN STUART.
John Stuart, Marquis of Bute, was born in 1715. In the ninth year of his age, he
succeeded his father as Marquis of Bute. On the accession of George the Third, the
highest dignities in the state were supposed to be within the grasp of Lord Bute; but,
however he might have swayed the king's mind in private, he took no public part in the
direction of public affairs until 1761, when he accepted the secretaryship resigned in
that year by Lord Holderness. At length, he became prime minister; and, immediately
on coming into power, determined, if possible, to effect a peace, which had for some
time been negotiating. He accomplished his object, but his success rendered him
exceedingly unpopular. He was accused, by some weak-minded persons, of having been
bribed by the enemies of his country; and it was added, that the princess dowager had
shared with him in the price at which peace had been purchased by the French
government.
He quitted office in April, 1763, but continued to exert a powerful influence over the
mind of the king, especially in relation to America. Several measures, the object of
which was to humble the colonies, and continue them in subjection to the crown, are
said to have been suggested by this nobleman. He died in 1792.
GEORGE GRENVILLE.
Grenville.
George Grenville was born 1712. In 1741, he was returned to parliament for the town
of Buckingham, for which place he served during the remainder of his life. He held
several important offices. In April, 1763, he became first lord of the treasury and
chancellor of the exchequer. He resigned his office in July, 1765, and died in November,
1770. During his premiership, the project of imposing internal taxes in America was
carried into effect. The project was first named to him by the king, and urged upon
him. At first, the minister was opposed to the idea, but after having adopted it as a
measure of his administration, which he was compelled to do by royal authority, he
urged and supported it by all the means in his power.
DUKE OF GRAFTON.
Henry Augustus Fitzroy, Duke of Grafton, was born 1735. He was educated at
Cambridge, where he was notoriously profligate. In July, 1766, the Rockingham
administration was dissolved, and the Duke of Grafton was made first lord
commissioner of the treasury, which office he held until January, 1770. He has received
an unenviable notoriety from the strictures of Junius. His administration was composed
of men of different political principles and parties. Junius, in a letter addressed to the
duke, thus narrates, and severely animadverts upon, the circumstances of his grace's
appointment to the premiership: "The spirit of the favorite (Lord Bute) had some
apparent influence upon every administration; and every set of ministers preserved an
appearance of duration as long as they submitted to that influence; but there were
certain services to be performed for the favorite's security, or to gratify his resentments,
which your predecessors in office had the wisdom, or the virtue, not to undertake. A
submissive administration was, at last, gradually collected from the deserters of all
parties, interests, and connexions; and nothing remained but to find a leader for these
gallant, well-disciplined troops. Stand forth, my lord, for thou art the man! Lord Bute
found no resource of dependence or security in the proud, imposing superiority of Lord
Chatham's abilities; the shrewd, inflexible judgment of Mr. Grenville; nor in the mild,
but determined integrity of Lord Rockingham. His views and situation required a
creature void of all these properties; and he was forced to go through all his division,
resolution, composition, and refinement of political chemistry, before he happily arrived
at the caput mortuum of vitriol in your grace. Flat and insipid in your retired state, but
brought into action, you become vitriol again. Such are the extremes of alternate
indolence or fury, which have governed your whole administration!"
This nobleman, better known as Lord North, was the minister of George III., under
whose administration England lost her American colonies. He succeeded Charles
Townshend, as chancellor of the exchequer; and, in 1770, the Duke of Grafton, as first
lord of the treasury, and continued in that high, but laborious office, till the conclusion
of the war. As a public character, Lord North was a flowing and persuasive orator, well
skilled in argumentation, and master of great presence and coolness of mind; and, in
private life, he was very amiable, cheerful, and jocose in conversation, the friend of
learned men, and correct in conduct. In his policy towards America, he was stern and
uncompromising. On first coming into power, he was inclined to be conciliatory; but
soon he adopted restrictive and oppressive measures, more so than his predecessors,
and, at length, declared that he would omit no means but that he would bring America
in humility at his feet. The faithful warnings of Pitt, Burke, Fox, and others, had no
restraining influence, and the consequence was, that America was lost to the British
crown. Lord North, in the latter years of his life, was afflicted with blindness. He died
July, 1792, aged sixty.
BARRASTRE TARLETON.
Colonel Tarleton was born in Liverpool, on the 21st of August, 1754, and at first
commenced studying law, but, on the breaking out of war in America, he entered the
army, and, having arrived in that country, he was permitted to raise a body of troops
called the "British Legion," which he commanded in several successful excursions
against the enemy. Such was the daring intrepidity, energy, and skill, with which he
conducted his corps, that he may be said to have greatly accelerated, if not secured,
some of the most important victories under Lord Cornwallis. On his return to England,
he was made a colonel, and became so popular that, in 1790, he was returned, free of
expense, as a member for Liverpool, which he represented in three subsequent
parliaments.
In 1818, previously to which he had been raised to the rank of general, he was created
a baronet, and, on the coronation of George the Fourth, was made a K. C. B. He was
one of the bravest officers of his time, and is described as having been to the British, in
the American war, what Arnold, in his early career, was to the Americans.
Sir Peter Parker, son of Rear-admiral Christopher Parker, was born in 1723, and entered
the navy under the auspices of his father. Having served with great reputation on
several occasions, in 1775 he hoisted his broad pendant on board the Bristol, of fifty
guns, in which he proceeded, with a squadron under his command, to the American
station. On account of bad weather and other impediments, he did not reach Cape Fear
until May, 1776. In the following month, he made an unsuccessful attack on Charleston,
in South Carolina. Shortly afterwards, he joined Lord Howe, the commander-in-chief, at
New York, whence he was dispatched, with the Asia, Renown, and Preston, to distract
the attention of the enemy, while the army attacked the lines on Long Island. Towards
the close of the same year, he proceeded, in command of a small squadron, to make an
attempt on Rhode Island, of which he obtained possession without loss. He was now
advanced to the rank of rear-admiral of the blue; and, a few months after, appointed to
the chief command on the Jamaica station, where he served with signal success until
1782, in which year he returned with a convoy to England. Before his death, which
occurred in 1811, he became admiral of the blue and admiral of the white.
Sir William Meadows was born in 1738. In 1775, he repaired with his regiment to
America, where he distinguished himself, particularly at the battle of Brandywine,
during which he was wounded.
In 1792, he served under Cornwallis in India. On returning to England, he was
appointed governor of the Isle of Wight, and, afterwards, governor of Hull. He died at
Bath, 1813.
As a military man, he was highly distinguished. He was invariably cheerful, during an
engagement; and his troops, by whom he was much beloved, are said, on more than
one occasion, to have mounted the breach, laughing at their general's last joke. His
hilarity scarcely ever deserted him; one day, while on a reconnoitering party, he
observed a twenty-four-pound shot strike the ground, on his right, in such a direction
that, had he proceeded, it would, in all probability, have destroyed him; he, therefore,
stopped his horse, and, as the ball dashed across the road in front of him, gracefully
took off his hat, and said: "I beg, sir, that you will continue your promenade; I never
take the precedence of any gentleman of your family."
GENERAL GAGE.
General Thomas Gage, second son of Viscount Gage, was born about the year 1721,
and entered the army at an early age. Having served with considerable credit, he was
commissioned as lieutenant-general; soon after which, (April, 1774,) he was appointed
to succeed Mr. Hutchinson, as governor of Massachusetts Bay. In May, he sailed for
Boston with four regiments, where, contrary to his expectations, he was received with
great ceremony and outward respect.
About this time, serious troubles of the colonies with England began. General Gage
took strong and decided measures, and hastened, rather than retarded, an open
contest. By his order it was that the military stores at Concord were destroyed, which
led to the skirmish at Lexington, and which opened the war.
On the 10th of October, 1775, he resigned his command to Sir William Howe, and
departed for England. At the time of his death, which took place on the 2d of April,
1788, he was a general in the army. His talents for command are said to have been
respectable.
ebookbell.com