If your application source code is overly verbose, it can be a nightmare to maintain. Write concise and expressive, type-safe code in an environment that lets you build for the JVM, browser, and more.Key Features• Exp...
详细信息
ISBN:
(数字)9781789534702
ISBN:
(纸本)9781789533835
If your application source code is overly verbose, it can be a nightmare to maintain. Write concise and expressive, type-safe code in an environment that lets you build for the JVM, browser, and more.
Key Features
• Expert guidance that shows you to efficiently use both object-oriented and functional programming techniques
• Understand functional programming libraries, such as Cats and Scalaz, and use them to augment your Scala development
• Perfectly balances theory and hands-on exercises, assessments, and activities
Book Description
This book teaches you how to build and contribute to Scala programs, recognizing common patterns and techniques used with the language. You’ll learn how to write concise, functional code with Scala. After an introduction to core concepts, syntax, and writing example applications with scalac, you’ll learn about the Scala Collections API and how the language handles type safety via static types out-of-the-box. You’ll then learn about advanced functional programming patterns, and how you can write your own Domain Specific Languages (DSLs). By the end of the book, you’ll be equipped with the skills you need to successfully build smart, efficient applications in Scala that can be compiled to the JVM.
What you will learn
• Understand the key language syntax and core concepts for application development
• Master the type system to create scalable type-safe applications while cutting down your time spent debugging
• Understand how you can work with advanced data structures via built-in features such as the Collections library
• Use classes, objects, and traits to transform a trivial chatbot program into a useful assistant
• Understand what are pure functions, immutability, and higher-order functions
• Recognize and implement popular functional programming design patterns
Who this book is for
This is an ideal book for developers who are looking to learn Scala, and is particularly well suited for Java developers looking to migrate across
In this paper, we propose an explicit, non-strict representation of search trees in constraint-logic object-orientedprogramming. Our search tree representation includes both the non-deterministic and deterministic be...
详细信息
While the object-orientation is the most used paradigm for developing general purpose software systems, the use of reactive systems has been growing lately. One of the differences between them is that while the first ...
详细信息
This paper presents the design and implementation Joule(R), a reversible object-oriented language in the style of Janus, that supports common object-orientedprogramming patterns such as factories, iterators, and the ...
详细信息
ISBN:
(纸本)9783319994987;9783319994970
This paper presents the design and implementation Joule(R), a reversible object-oriented language in the style of Janus, that supports common object-orientedprogramming patterns such as factories, iterators, and the definition of abstract datatypes. Memory management is performed using a simple notion of regions, enabling the full power of object-orientedprogramming to be used, while remaining completely garbage-free. The language is implemented by translation to Janus.
The object-orientedprogramming (OOP) paradigm is quite prominent in German secondary schools. To challenge and overcome possible diiculties in the learning process it is vital for educators to have knowledge about po...
详细信息
Structure of Arrays (SOA) is a well-studied data layout technique for SIMD architectures. Previous work has shown that it can speed up applications in high-performance computing by several factors compared to a tradit...
详细信息
The abstraction is a common mechanism that developers use when developing applications. It allows their code to be more robust and easier to maintain because it provides a loose coupling between application’s compone...
详细信息
In Computer Science jargon, an interpreter typically implies a computer program that prosecutes the instructions written in a particular programming language. A Computer programming language provides the necessary rud...
详细信息
In this paper the integration of the reactive programming means into the OOP environment is considered. The reactive fields, methods, classes, their inheritance are determined. Event programming is implemented through...
详细信息
The high dropout and repeating rate of students in Higher Education institutions has led to the search for new strategies that promote and motivate students to a more comprehensive learning, relying on new technologie...
详细信息
暂无评论