A Beginner's Guide to Scala, Object Orientation and Functional Programming
Scala is a new programming language developed by Martin Odersky and his team at the EPFL. The name Scala is derived from Sca(lable) La(nguage). Scala is a multi-paradigm language, incorporating object oriented approaches with functional programming. Altho
- PDF / 35,393,501 Bytes
- 493 Pages / 439.37 x 666.142 pts Page_size
- 22 Downloads / 283 Views
A Beginner's Guide to Scala, Object Orientation and Functional Programming
A Beginner’s Guide to Scala, Object Orientation and Functional Programming
John Hunt
A Beginner’s Guide to Scala, Object Orientation and Functional Programming
1 3
John Hunt Midmarsh Technology Ltd Bath, Wiltshire UK
ISBN 978-3-319-06775-9 ISBN 978-3-319-06776-6 (eBook) DOI 10.1007/978-3-319-06776-6 Springer Cham Heidelberg New York Dordrecht London Library of Congress Control Number: 2014942167 © Springer International Publishing Switzerland 2014 This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed. Exempted from this legal reservation are brief excerpts in connection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’s location, in its current version, and permission for use must always be obtained from Springer. Permissions for use may be obtained through RightsLink at the Copyright Clearance Center. Violations are liable to prosecution under the respective Copyright Law. The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply , even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein. Printed on acid-free paper Springer is part of Springer Science+Business Media (www.springer.com)
This book is dedicated to my son Adam.
Contents
1 Introduction������������������������������������������������������������������������������������������������ 1 1.1 Introduction����������������������������������������������������������������������������������������� 1 1.2 What is Scala?������������������������������������������������������������������������������������� 1 1.3 Why Scala?����������������������������������������������������������������������������������������� 2 1.4 Java to Scala Quick Comparison�������������������������������������������������������� 3 1.5 Is This Book for You?�������������������������������������������������������������������