Programming In Scala: A Comprehensive Step-By-Step Guide (häftad)
Format
Häftad (Paperback)
Språk
Engelska
Antal sidor
736
Utgivningsdatum
2008-11-17
Förlag
Artima Inc
Illustrationer
illustrations
Dimensioner
235 x 178 x 38 mm
Vikt
1211 g
Antal komponenter
1
ISBN
9780981531601

Programming In Scala: A Comprehensive Step-By-Step Guide

(1 röst)
Häftad,  Engelska, 2008-11-17

Slutsåld

Programming in Scala is the definitive book on Scala, the new language
for the Java Platform that blends object-oriented and functional
programming concepts into a unique and powerful tool for developers.

Coauthored by the designer of the Scala language, this authoritative
book will teach you, one step at a time, the Scala language and the
ideas behind it.

The book is carefully crafted to help you learn. The first few
chapters will give you enough of the basics that you can already start
using Scala for simple tasks. The entire book is organized so that
each new concept builds on concepts that came before - a series of
steps that promises to help you master the Scala language and the
important ideas about programming that Scala embodies.

A comprehensive tutorial and reference for Scala, this book covers the
entire language and important libraries.

Kundrecensioner

Har du läst boken? Sätt ditt betyg »

Innehållsförteckning

Contents ix

List of Figures xix

List of Tables xxi

List of Listings xxii

Foreword xxix

Acknowledgements xxxi

Introduction xxxiii

1. A Scalable Language 3

2. First Steps in Scala 23

3. Next Steps in Scala 37

4. Classes and Objects 59

5. Basic Types and Operations 73

6. Functional Objects 95

7. Built-in Control Structures 115

8. Functions and Closures 139

9. Control Abstraction 161

10. Composition and Inheritance 177

11. Scala's Hierarchy 205

12. Traits 213

13. Packages and Imports 233

14. Assertions and Unit Testing 249

15. Case Classes and Pattern Matching 263

16. Working with Lists 297

17. Collections 329

18. Stateful Objects 357

19. Type Parameterisation 381

20. Abstract Members 407

21. Implicit Conversions and Parameters 437

22. Implementing Lists 459

23. For Expressions Revisited 473

24. Extractors 489

25. Annotations 505

26. Working with XML 513

27. Modular Programming Using Objects 527

28. Object Equality 543

29. Combining Scala and Java 569

30. Actors and Concurrency 583

31. Combinator Parsing 619

32. GUI Programming 649

33. The SCells Spreadsheet 661

A. Scala scripts on Unix and Windows 687

Glossary 689

Bibliography 705

About the Authors 709

Index 711