Scala Cookbook: Recipes for Object-Oriented and Functional Programming

"O'Reilly Media, Inc."
6
Free sample

Save time and trouble when using Scala to build object-oriented, functional, and concurrent applications. With more than 250 ready-to-use recipes and 700 code examples, this comprehensive cookbook covers the most common problems you’ll encounter when using the Scala language, libraries, and tools. It’s ideal not only for experienced Scala developers, but also for programmers learning to use this JVM language.

Author Alvin Alexander (creator of DevDaily.com) provides solutions based on his experience using Scala for highly scalable, component-based applications that support concurrency and distribution. Packed with real-world scenarios, this book provides recipes for:

  • Strings, numeric types, and control structures
  • Classes, methods, objects, traits, and packaging
  • Functional programming in a variety of situations
  • Collections covering Scala's wealth of classes and methods
  • Concurrency, using the Akka Actors library
  • Using the Scala REPL and the Simple Build Tool (SBT)
  • Web services on both the client and server sides
  • Interacting with SQL and NoSQL databases
  • Best practices in Scala development
Read more
Collapse

About the author

Alvin took the circuitous route to software development. He managed to get a degree in Aerospace Engineering from Texas A&M University, while all he was really trying to do was play baseball. Once he became a practicing engineer, he realized he liked software and programming more than engineering. So in approximate order he taught himself Fortran, C, Unix and network administration, sed, awk, Perl, Java, Python, Ruby, JRuby, Groovy, PHP, and Scala. During this process he started a software consulting firm, grew it to fifteen people, sold it, and moved to Alaska for a few years. After returning to the “Lower 48,” he self-published two books (“How I Sold My Business: A Personal Diary”, and “Zen and the Art of Consulting”). He also created devdaily.com, which receives millions of page views every year, and started a new software consulting business, Valley Programming.

Read more
Collapse
4.8
6 total
Loading...

Additional Information

Publisher
"O'Reilly Media, Inc."
Read more
Collapse
Published on
Aug 1, 2013
Read more
Collapse
Pages
722
Read more
Collapse
ISBN
9781449340322
Read more
Collapse
Read more
Collapse
Read more
Collapse
Language
English
Read more
Collapse
Genres
Computers / General
Computers / Programming / Object Oriented
Computers / Programming Languages / Java
Read more
Collapse
Content Protection
This content is DRM free.
Read more
Collapse
Read Aloud
Available on Android devices
Read more
Collapse
Eligible for Family Library

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
A Beginners guide to learn BlueJ


DESCRIPTION

This book will help students to get standard BlueJ problem and solution. They will not have to worry while learning BlueJ practically. Moreover, this book will help teachers to get different problems and try to do those in different ways. This will help both beginners and expert to get idea and support while learning BlueJ.

 

Some of the coding problems in the book have been taken from the real life projects, which will be highly beneficial for the students.

 

Blue Java is the basic programming language would be better to learn before learning vast Java. This enables the learner to think logically, this enables learner to see Java Virtual Machine (JVM) working process. So, many critical features of Java can be tested at an early stage using Blue Java.

These programs won’t make you topper anywhere; but practicing this programming problems will make you expert to solve any logical operation of any BlueJ program.


KEY FEATURES

Book contains 210 programming problems and solutions.

Book is devoted to those entire learners who face problem in learning BlueJ.

Each program is explained in simple way.

Book covers the program from basic level to master level.


WHAT WILL YOU LEARN

This book had different programming problems from beginner to master. This book contains many examples question, which is asked at different process of examinations. This book will help you to find the solution of any associated program.


WHO THIS BOOK IS FOR

This book is aimed for students who want to learn BlueJ programming practically, for students of school. This book will help to see the basic programming problems, learn lots of logic based skill same for every programming language, just may need to edit little for different languages.


Table of Contents

1. Introduction to BlueJ

2. What is BlueJ?

3. How to install BlueJ?

4.     Programming Problems Topic

5.     Programs & Solution

6.     Conclusion

Enhance your career options with this well-crafted object-oriented programming language that enjoys the support of an enormous ecosystem of tools and librariesKey FeaturesGet introduced to Java, its features, and its ecosystemUnderstand how Java uses object-oriented programmingBecome an expert Java exception handlerBook Description

Since its inception, Java has stormed the programming world. Its features and functionalities provide developers with the tools needed to write robust cross-platform applications. Java Fundamentals introduces you to these tools and functionalities that will enable you to create Java programs.

The book begins with an introduction to the language, its philosophy, and evolution over time, until the latest release. You'll learn how the javac/java tools work and what Java packages are - the way a Java program is usually organized. Once you are comfortable with this, you'll be introduced to advanced concepts of the language, such as control flow keywords. You'll explore object-oriented programming and the part it plays in making Java what it is. In the concluding chapters, you'll get to grips with classes, typecasting, and interfaces, and understand the use of data structures, arrays, strings, handling exceptions, and creating generics.

By the end of this book, you will have learned to write programs, automate tasks, and follow advanced courses on algorithms and data structures or explore more advanced Java courses.

What you will learnCreate and run Java programsUse data types, data structures, and control flow in your codeImplement best practices while creating objectsWork with constructors and inheritanceUnderstand advanced data structures to organize and store dataEmploy generics for stronger check-types during compilationLearn to handle exceptions in your codeWho this book is for

Java Fundamentals is designed for tech enthusiasts who are familiar with some programming languages and want a quick introduction to the most important principles of Java.

Write modern, scalable, and reactive applications with the power of ScalaAbout This BookDelves into the intricacies of functional reactive programming with ScalaExplores frameworks like Akka, Play and Slick used to develop efficient applicationsA step by step guide with plenty of examples showing practical implementation of essential conceptsWho This Book Is For

If you are a Java or JVM developer who wants to use Scala to build reactive functional applications for the JVM platform, then this book is for you. Prior knowledge of Java or functional programing would help. No Scala knowledge is required.

What You Will LearnUse Akka to create a chat service for your appEquip yourself with the techniques and tools to build reports and build database persistence with Scala and SlickDevelop a customer-facing Rest API that makes use of Scala and SprayMake use of the Scala web development principles and scale up the architecture of your applicationGet familiar with the core principles and concepts of Functional ProgrammingUse the Play framework to create models, controllers, and viewsDevelop reactive backing frameworks by writing code with RxScalaDiscover what proper testing entails with Scala using behavior-driven developmentIn Detail

Scala is known for incorporating both object-oriented and functional programming into a concise and extremely powerful package. However, creating an app in Scala can get a little tricky because of the complexity the language has. This book will help you dive straight into app development by creating a real, reactive, and functional application. We will provide you with practical examples and instructions using a hands-on approach that will give you a firm grounding in reactive functional principles.

The book will take you through all the fundamentals of app development within Scala as you build an application piece by piece. We've made sure to incorporate everything you need from setting up to building reports and scaling architecture. This book also covers the most useful tools available in the Scala ecosystem, such as Slick, Play, and Akka, and a whole lot more. It will help you unlock the secrets of building your own up-to-date Scala application while maximizing performance and scalability.

Style and approach

This book takes a step-by-step approach to app development with Scala. It will place special emphasis on functional language. It will teach you the core benefits of Scala and the fundamentals of functional programming by developing a robust application.

Scala is a modern programming language for the Java Virtual Machine (JVM) that combines the best features of object-oriented and functional programming languages. Using Scala, you can write programs more concisely than in Java, as well as leverage the full power of concurrency. Since Scala runs on the JVM, it can access any Java library and is interoperable with Java frameworks.

Scala for the Impatient concisely shows developers what Scala can do and how to do it. In this book, Cay Horstmann, the principal author of the international best-selling Core Java™, offers a rapid, code-based introduction that’s completely practical. Horstmann introduces Scala concepts and techniques in “blog-sized” chunks that you can quickly master and apply. Hands-on activities guide you through well-defined stages of competency, from basic to expert. Coverage includes

Getting started quickly with Scala’s interpreter, syntax, tools, and unique idioms Mastering core language features: functions, arrays, maps, tuples, packages, imports, exception handling, and more Becoming familiar with object-oriented programming in Scala: classes, inheritance, and traits Using Scala for real-world programming tasks: working with files, regular expressions, and XML Working with higher-order functions and the powerful Scala collections library Leveraging Scala’s powerful pattern matching and case classes Creating concurrent programs with Scala actors Implementing domain-specific languages Understanding the Scala type system Applying advanced “power tools” such as annotations, implicits, and delimited continuations

Scala is rapidly reaching a tipping point that will reshape the experience of programming. This book will help object-oriented programmers build on their existing skills, allowing them to immediately construct useful applications as they gradually master advanced programming techniques.

©2019 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google|Location: United StatesLanguage: English (United States)
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.