Название: Scala for the Impatient, 3rd Edition Автор: Cay S. Horstmann Издательство: Addison-Wesley Professional/Pearson Год: 2022 Страниц: 400 Язык: английский Формат: epub, mobi Размер: 10.3 MB
Scala 3.x - A Clear, Concise Guide.
Scala 3 is concise, consistent, flexible, robust, and efficient, but there's a lot to learn and navigating features and improvements can be challenging. Scala for the Impatient, Third Edition, is a complete yet concise guide that reflects the major enhancements of Scala 3, from improved syntax and revamped type system to powerful contextual abstractions.
This indispensable tutorial offers a faster, easier pathway for learning today's Scala. Horstmann--author of the programming classic, Core Java--covers everything working developers need to know, focusing on hands-on solutions, not academic theory. Given the size and scope of Scala 3, there's plenty to cover but it’s presented in small chunks organized for quick access and easy understanding, with plenty of practical insights and focused sample code.
The evolution of traditional languages has slowed down considerably, and programmers who are eager to use more modern language features are looking elsewhere. Scala is an attractive choice; in fact, I think it is by far the most attractive choice for programmers who want to improve their productivity. Scala has a concise syntax that is refreshing after the Java boilerplate. It runs on the Java virtual machine (JVM), providing access to a huge set of libraries and tools. And Scala doesn’t just target the JVM. The ScalaJS project emits jаvascript code, enabling you to write both the server-side and client-side parts of a web application in a language that isn’t jаvascript. Scala embraces the functional programming style without abandoning object orientation, giving you an incremental learning path to a new paradigm. The Scala REPL lets you run quick experiments, which makes learning Scala very enjoyable. Last but not least, Scala is statically typed, enabling the compiler to find errors, so that you don’t waste time finding them—or not—later in the running program. The compiler also helps you write error-free code, inferring types whenever possible so that you don’t have to write (or read) them.
Get started quickly with Scala 3 interpreter, syntax, tools, and current usage Master core language features: functions, arrays, maps, tuples, packages, imports, exception handling, and more Design and build better object-oriented code with Scala 3 Use Scala for real-world programming tasks: working with files, regular expressions, and processes Work with higher-order functions and the powerful Scala collections library Create concurrent programs with Scala futures Understand the Scala type system, including revamped enums, intersection and union types, and enhanced type inference Use contextual abstractions to easily extend class hierarchies, enrich existing classes, perform automatic conversions, and elegantly hide tedious details Apply advanced "power tools" such as annotations and given values Discover how to "program with types," analyzing and generating types at compile time Get a taste of what's now possible with Scala macros
If you're a Java, Python, C++, or C# programmer who's new to Scala or functional programming--or even if you've already used earlier versions of Scala--this guide will help you write code that's more robust, more efficient, and more secure.
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.