SKU/Artículo: AMZ-B0FQVDTGPT

Kotlin Functional Programming: Harnessing Immutability and Higher-Order Functions with Inline Lambdas and Sequence Pipelines for Declarative, Scalable Kotlin Applications

Format:

Paperback

Hardcover

Kindle

Paperback

Detalles del producto
Disponibilidad:
En stock
Peso con empaque:
0.29 kg
Devolución:
Condición
Nuevo
Producto de:
Amazon
Viaja desde
USA

Sobre este producto
  • If you’re a Kotlin developer determined to craft rock-solid, memory-efficient, and highly concurrent applications from cloud services and serverless functions to mobile clients and edge deployments, this book is your hands-on gateway. You’ll go far beyond “hello world,” embracing zero-cost abstractions and pure-function pipelines that guarantee predictable behavior, provable performance, and seamless scalability. Inside, You’ll Build and Master: • Pure-function domains that enforce immutability by design, isolating side-effects into small, composable command or event ADTs. • Type-safe DSLs for configuration, HTTP routing, and UI construction leveraging receiver lambdas, @DslMarker, and inline builders to deliver IDE-guided code without runtime overhead. • High-performance collection transformations with Sequence and Flow pipelines, wielding operators like map, filter, flatMap, zip, and takeWhile to process millions of items with minimal allocations. • Inline-lambda optimization strategies, understanding inline, noinline, and crossinline so you eliminate closure allocations in hot paths while preserving flexibility where you need it. • Functional error-handling patterns using Option, Either, and Arrow’s Validated to accumulate domain errors, replace brittle exceptions, and deliver comprehensive feedback in a single pass. • End-to-end reactive architectures with Kotlin Coroutines and Flow: declarative pipelines combined with controlled concurrency, back-pressure via buffer/conflate, and robust error recovery using retryWhen, catch, and onCompletion. • Real-world streaming examples: parsing multi-gigabyte log files with useLines, building back-pressured HTTP clients in Ktor, and orchestrating serverless pipelines on AWS Lambda and OpenFaaS with Kotlin’s suspending functions. • Benchmarking and profiling techniques for FP-heavy code including JMH microbenchmarks, async-profiler flame graphs, and allocation tracking to quantify the true cost of higher-order functions and guide your optimizations. • Incremental migration roadmaps that integrate functional idioms into legacy codebases: from micro-refactor tickets and Detekt rules to team-wide coding standards and training workshops. • Deep-dive case studies showcasing dramatic wins: slashing memory use by 70% through Sequence pipelines, speeding up server startup by 3× with inline builders, and achieving sub-10 ms mobile rendering via coroutine-driven flows. Why Choose This Guide? • Production-grade patterns you can drop into your projects instantly—no contrived examples, only battle-tested code. • Comprehensive coverage of Kotlin’s advanced type system: inline/value classes, context receivers, generic constraints, and null-safe APIs. • A performance-first mindset: zero-cost abstractions, precise control over allocations, and best practices for JVM, JavaScript, and Native targets. • Proven scaling strategies: unbounded concurrency with flatMapMerge, back-pressure in Flow, coroutine supervisors, and adaptive resource tuning. Ready to elevate your Kotlin craft into the realm of functional, high-performance architecture? Grab your copy today and start building systems that are safe by default, infinitely composable, and blisteringly fast no matter where they run.
AR$64.144
49% OFF
AR$32.894

IMPORT EASILY

By purchasing this product you can deduct VAT with your RUT number

AR$64.144
49% OFF
AR$32.894

Pagá fácil y rápido con Mercado Pago o MODO

Llega en 8 a 12 días hábiles
con envío
Tienes garantía de entrega
Este producto viaja de USA a tus manos en