Seven Languages in Seven Weeks

Similar documents
The Passionate Programmer

Developing Android on Android

Complex Network Analysis in Python

Clean Code.

Wonderware Guide to InTouch HMI Documentation

Guide to InTouch HMI Documentation Invensys Systems, Inc.

ESSAY WRITING KIT ONE CLASS, ONE TEACHER LICENSE. By: STEVAN KRAJNJAN THIS BOOK BELONGS TO:

Amber, Resinite, and Fossil Resins

_FM 7/22/09 10:10 AM Page 1 COLLABORATING. with SharePoint. Carey Cole

Polaris PowerPAC Children s Edition Guide

Bio-logic AuDX PRO quick start Quick start guide

Medical Meanings: A Glossary Of Word Origins, Second Edition By William S. Haubrich READ ONLINE

Radiology for Undergraduate Finals and Foundation Years

Epoxy Resin Chemistry II

1.1 Digital Signal Processing Hands-on Lab Courses

Join the p2p.wrox.com. Wrox Programmer to Programmer. Beginning. Python. Using Python 2.6 and Python 3.1. James Payne

Artist's Journal Workshop: Creating Your Life In Words And Pictures By Cathy Johnson

See for options on how to legitimately share published articles.

Ableton Live 8 and Suite 8

Marxism and Education. Series Editor Anthony Green Institute of Education University of London London, United Kingdom

The Discourse of Peer Review

User s manual. Digitales TV module for NAVIGON English (United Kingdom)

Extreme MINDSTORMS TM : An Advanced Guide to LEGO MINDSTORMS TM

DANA NO ZIPS, NO BUTTONS. JUST SEW IT UP AND IT'S A WRAP. 8. Fold over and tuck in. 1. Check your pattern has been printed to scale by

The New Middle Ages. Series Editor Bonnie Wheeler English & Medieval Studies Southern Methodist University Dallas, Texas, USA

FOOD PROCESSING TECHNOLOGY

Re-Reading Harry Potter

Jeff Duntemann. Assembly Language. Programming with Linux. Step by Step THIRD EDITION

Flue Gas Desulfurization

Environmental Impact of Fertilizer on Soil and Water

The Piano Curriculum Series LLC PCS001

Kamai Hybrid TV Media Player

Strange Tales From A Chinese Studio (Penguin Classics) By Pu Songling, John Minford

University of Calgary Press

Rock Music in Performance

When submitting your manuscript, it is important that you provide a printed version in

CrystalView DVI Micro-DL Extender

Calculating the Human

Manual No: Revision: D. IQ Box. Software Upgrade Instructions

Jane Dowson. Carol Ann Duffy. Poet for Our Times

The Elegies of Ted Hughes

HDMI Over CAT5 Receiver at 50 Meters

Novel Units Single-Classroom User Agreement for Non-Reproducible Material

USO RESTRITO. WSS Decoder. Option W Version: 2.0 March 20, 2015

MACMILLAN CHILDREN S BOOKS

Installation Instructions

Idiom. of the. Week. Cover Art by Alireza, age 7, Tehran, Iran River of Words. Editors: Stephanie Kruse and Ann Roper Design: Candace Wesen

Human Rights Violation in Turkey

AMERICA S CASTLES. 5. Be sure all four margins are set to 1 (Step 1 in the MLA Document).

Urbanization and the Migrant in British Cinema

Learning to Write. Narrative Paragraphs. Frances Purslow

Emerging Technologies in Hazardous Waste Management III

Flower Drum Songs: The Story Of Two Musicals By David H. Lewis

Photo Credits: All images Harcourt.

Myths about doing business in China

Move & Store Cart CONTENTS. Assembly Instructions

Hauntings: Psychoanalysis and Ghostly Transmissions

Racial Profiling and the NYPD

Prentice Hall Reference Guide (8th Edition) By Jennifer L. Kunka, Muriel Harris

Luminescence Applications

Defining Literary Criticism

What s New in Visual FoxPro 7.0

The Sorcerer s Apprentice

Big Movie & TV Songs: Piano/Vocal/Chords READ ONLINE

Sustainable Energy without the hot air

Otter Bay Books A GUIDE FOR AUTHORS OTTER BAY S PROMISES. A Quality Book COMMENTS FROM OUR AUTHORS

The Films of Martin Scorsese,

ISO INTERNATIONAL STANDARD. Bibliographic references and source identifiers for terminology work

Listening to Popular Music. Or, How I Learned to Stop Worrying and Love Led Zeppelin

InstaQShare for iphone User Manual

George Eliot: The Novels

5V +10V. Figure 1. DC2622A Connection Diagram

Instruction Manual AP-536 HDMI Audio Extractor

REMARKABLE PEOPLE. Angelina Jolie by Erinn Banting

Latinos of Boulder County, Colorado,

by Samantha Rabe HOUGHTON MIFFLIN

DCT-11S SRS TruVolume TM SCART Volume Leveler

Cat s Eye edta-164 HDTV Tuner Card

TELLING STORIES A SHORT PATH TO WRITING BETTER SOFTWARE REQUIREMENTS

Dickens the Journalist

ML_PD. President s Day. Mini-Lapbook Designed for K 12 th Grade. Includes Study Guide. Written & Designed by Kim Smith

HANDBOOK OF RECORDING ENGINEERING

Cyber Ireland. Text, Image, Culture. Claire Lynch. Brunel University London, UK

Blake and Modern Literature

Beware of Cutting So Far That You Make the Text Ambiguous

Quick Start Guide. For Bachmann Large Scale Thomas & Friends Sound-Equipped Locomotives. DCC Sound Technology by SoundTraxx

ANI-5.1CH HDMI 2CH/5.1CH Audio Extractor

ML-USS. United States Symbols Mini-Lapbook. (K-5 th Grades) Designed by Cyndi Kinney of Knowledge Box Central. (C)2009 Copyright Knowledge Box Central

M.A. Thesis Guidelines

THE LITTLE BOOK. bees

American National Standard

The Paralegal: Second Edition By Daniel Easterling READ ONLINE

Adapted by Moses Goldberg

Early Power and Transport

The Digital Fundraising Book

My Camino Journal By Tom Alyea

Collection Mapping in the LMC

Macbeth (Easy Reading Old World Literature: Level 4) By William Shakespeare READ ONLINE

Book Repair: A How-To-Do-It Manual. Second Edition Revised. Kenneth Lavender. Revised by Artemis BonaDea HOW-TO-DO-IT MANUALS NUMBER 178

Econami Digital Sound Decoder Steam Quick Start Guide Software Release 1.3

Transcription:

Extracted from: Seven Languages in Seven Weeks A Pragmatic Guide to Learning Programming Languages This PDF file contains pages extracted from Seven Languages in Seven Weeks, published by the Pragmatic Bookshelf. For more information or to purchase a paperback or PDF copy, please visit http://www.pragprog.com. Note: This extract contains some colored text (particularly in code listing). This is available only in online versions of the books. The printed versions are black and white. Pagination might vary between the online and printer versions; the content is otherwise identical. Copyright 2010 The Pragmatic Programmers, LLC. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. The Pragmatic Bookshelf Dallas, Texas Raleigh, North Carolina

Seven Languages in Seven Weeks A Pragmatic Guide to Learning Programming Languages Bruce A. Tate The Pragmatic Bookshelf Dallas, Texas Raleigh, North Carolina

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 The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf, PragProg and the linking g device are trademarks of The Pragmatic Programmers, LLC. Every precaution was taken in the preparation of this book. However, the publisher assumes no responsibility for errors or omissions, or for damages that may result from the use of information (including program listings) contained herein. Our Pragmatic courses, workshops, and other products can help you and your team create better software and have more fun. For more information, as well as the latest Pragmatic titles, please visit us at http: /pragprog.com. The team that produced this book includes: Jackie Carter (editor) Potomac Indexing, LLC (indexer) Kim Wimpsett (copyeditor) Steve Peter (typesetter) Janet Furlow (producer) Juliet Benda (rights) Ellie Callahan (support) Copyright 2010 Pragmatic Programmers, LLC. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. Printed in the United States of America. ISBN-13: 978-1-934356-59-3 Printed on acid-free paper. Book version: P5.0 March 2012

Contents Dedication.............? Acknowledgments...........? Foreword.............? 1. Introduction............? 1.1 Method to the Madness? 1.2 The Languages? 1.3 Buy This Book? 1.4 Don t Buy This Book? 1.5 A Final Charge? 2. Ruby..............? 2.1 Quick History? 2.2 Day 1: Finding a Nanny? 2.3 Day 2: Floating Down from the Sky? 2.4 Day 3: Serious Change? 2.5 Wrapping Up Ruby? 3. Io...............? 3.1 Introducing Io? 3.2 Day 1: Skipping School, Hanging Out? 3.3 Day 2: The Sausage King? 3.4 Day 3: The Parade and Other Strange Places? 3.5 Wrapping Up Io? 4. Prolog..............? 4.1 About Prolog? 4.2 Day 1: An Excellent Driver? 4.3 Day 2: Fifteen Minutes to Wapner?

v Contents 4.4 Day 3: Blowing Up Vegas? 4.5 Wrapping Up Prolog? 5. Scala..............? 5.1 About Scala? 5.2 Day 1: The Castle on the Hill? 5.3 Day 2: Clipping Bushes and Other New Tricks? 5.4 Day 3: Cutting Through the Fluff? 5.5 Wrapping Up Scala? 6. Erlang..............? 6.1 Introducing Erlang? 6.2 Day 1: Appearing Human? 6.3 Day 2: Changing Forms? 6.4 Day 3: The Red Pill? 6.5 Wrapping Up Erlang? 7. Clojure..............? 7.1 Introducing Clojure? 7.2 Day 1: Training Luke? 7.3 Day 2: Yoda and the Force? 7.4 Day 3: An Eye for Evil? 7.5 Wrapping Up Clojure? 8. Haskell..............? 8.1 Introducing Haskell? 8.2 Day 1: Logical? 8.3 Day 2: Spock s Great Strength? 8.4 Day 3: The Mind Meld? 8.5 Wrapping Up Haskell? 9. Wrap-Up.............? 9.1 Programming Models? 9.2 Concurrency? 9.3 Programming Constructs? 9.4 Finding Your Voice? A1. Bibliography............? Index..............?