Kotlin 2.0 Crash Course

Kotlin 2.0 Crash Course

Elara Drevyn

65,82 €
IVA incluido
Disponible
Editorial:
GitforGits
Año de edición:
2025
ISBN:
9789349174597
65,82 €
IVA incluido
Disponible

Selecciona una librería:

  • Librería Samer Atenea
  • Librería Aciertas (Toledo)
  • Kálamo Books
  • Librería Perelló (Valencia)
  • Librería Elías (Asturias)
  • Donde los libros
  • Librería Kolima (Madrid)
  • Librería Proteo (Málaga)

If you’re looking to write responsive Android and web applications using Kotlin 2.0, this book’s got you covered with some great examples. In the early chapters, you’ll dive into the basics of variables, data types, and control structures like if-else, when, while, and do-while.There’s a chapter on functions that’ll teach you to write reusable code, use higher-order functions, and adopt lambda expressions to streamline operations in the project. As you move into object-oriented constructs, you’ll learn to define classes, primary and secondary constructors, inheritance, interfaces, and encapsulation practices that keep internal task details safe and modular. Then, we’ll dive into collection handling, where we’ll use lists, arrays, sets, and maps along with some handy code that’ll filter, transform, and iterate through tasks. In the state management section, you’ll see how immutable snapshots and mutable services work together using observers to sync components in real time. The chapters on functional programming will walk you through chaining, mapping, and flattening data pipelines. The error handling and type casting chapters will show you how to catch and log exceptions, apply safe casts, and recover from unexpected conditions without crashing.If one wants to get really into JSON serialization, it’s possible to learn how to parse JSON into Kotlin objects, serialize tasks back into JSON, and use libraries like kotlinx.serialization or Moshi for nested structures. Finally, Ktor integration teaches you to initialize a coroutine-based server, define routes, install middleware, secure endpoints with authentication, and test your components thoroughly. This book won’t turn you into a Kotlin master overnight, but it’ll give you the confidence and hands-on experience you need to build real-world Android and web apps with Kotlin 2.0 right from the start.Key LearningsBuild strong foundation in Kotlin 2.0 syntax to write clear, concise code.Absorb strong designing principles including classes, constructors, inheritance, and encapsulation for robust design.Gain practical mastery in using lists, arrays, sets, and maps to store, filter, and transform the data efficiently.Strong hold on coroutine-based state management and observer patterns for responsive, synchronized application behavior.Develop fluency in functional programming alongwith lambdas to process data pipelines succinctly.Perform JSON parsing and serialization using kotlinx.serialization, Moshi, and Jackson.Practical implementation of Ktor’s routing, plugins, middleware, and testing for web server development.Streamlined testing and debugging workflow, combining in-memory tests, logging, and profiling to catch issues.Table of ContentUp and Running with Kotlin 2.0Variables, Data Types, and Basic OperationsControl Structures and Program FlowFunctions and Modular Programming TechniquesObject-Oriented Constructs and Class DesignCollection Handling and Iteration PatternsManaging Application State and BehaviorFunctional Programming with LambdasError Handling and Type CastingHandling JSON and Data SerializationDesigning RESTful APIBuilding Web Server with Ktor

Artículos relacionados

  • Poetry Is Our Ministry to Touch the Heart
    Anelda Lukesia Ballard / Jean Anelda Scott
    Poetry is Our Ministry to Touch the Heart, was birthed when Anelda L. Ballard became ill. God spoke to her in a dream and said 'pick up a pen and write' by being obedient this book was written through the Holy Spirit. Anelda and her mother Jean A. Scott believes that God’s wants to heal a hurting heart. This book will inspire you and encourage you to never give up hope. Jesu...
    Disponible

    11,12 €

  • I soldati lunghi
    Pierluigi Romeo di Colloredo Mels
    Il 24 maggio 1915 il Regno d’Italia entrò nella Grande Guerra, che si sarebbe dimostrata il momento più alto e tragico della sua storia, a poco più di cinquant’anni dalla sua unificazione.In quella lotta tremenda durata quattro anni, la Brigata Granatieri di Sardegna , con i suoi due valorosi Reggimenti, i più antichi del Regio Esercito scrisse, nel grande quadro della guerra d...
    Disponible

    32,59 €

  • Five Beneath Philly
    Susan Bandy / Tom Richmond
    Allen Williams plans to make something of his life and escape South Philly and the work at Cross Brothers’ Meat Packing Plant. He prepares himself with excellent grades and an upcoming full-ride scholarship to climb out of South Philly forever. Then fate changes his whole world. An only son in a family of six, Allen suddenly finds himself responsible for his mother, grandmother...
    Disponible

    18,28 €

  • Forms
    Sharon Welch
    I am an award-winning artist and my works hang in private residences, community hospitals, businesses, and restaurants across the US and also abroad.  I live in Pierre, South Dakota. Since 2008 I have owned Sharon Welch Gallery and Studio where I paint and teach classes.  My theory is have fun, remove the fear of failure, experiment and let the child inside of you play.Very oft...
  • Ricordi di una ausiliaria
    Andrea Lombardi / Raffaella Duelli
    Le memorie di Raffaella Duelli, Volontaria nel Battaglione Barbarigo della Decima Flottiglia Mas iniziano con la partenza del Barbarigo da Roma, narrando la lunga marcia del reparto verso il nord, sotto il mitragliamento degli aerei Alleati. Quindi, è descritta vividamente l'ultima battaglia del Barbarigo sul Fronte Sud, dal Senio a Comacchio: gli appunti di Raffaella, giov...
    Disponible

    28,08 €

  • Why Didn’t You Ask?
    Panya Dixon
    From an early occurrence in her childhood to a perilous thirteen-year relationship, Panya Dixon too often suffered from various forms of physical, emotional, and sexual abuse. Conflicted between love and the pain her loved ones brought on her, she consistently had to fight for her life and her will to move on. Why Didn’t You Ask? is an expression of Panya’s truth—her trials, pa...
    Disponible

    20,35 €

Otros libros del autor

  • Java 17 Backend Development
    Elara Drevyn
    This book offers beginners and backend developers with practical guidance on developing robust server-side applications with Java 17. Each chapter is structured around hands-on examples, real-world challenges, and step-by-step solutions tailored to Java professionals aiming to elevate their expertise in backend systems. It seamlessly transitions through essential development ph...
    Disponible

    61,26 €