#kotlin
The latest AI and developer news about #kotlin, with the original source and a short summary.
The latest AI and developer news about #kotlin, with the original source and a short summary.
The Apache 2.0 licensed tool allows teams to define durable multi-step processes as Java or Kotlin classes without a separate orchestration cluster.
This article outlines methods to maximize bulk data read and write performance using Querydsl-based cursor pagination and batch processing.
This guide introduces strategies to resolve the N+1 problem of @DBRef using $lookup and to boost bulk update performance by 24x using bulkOps in Spring Data MongoDB.
Kakao Bank rebuilt its notification sender by applying Service/Core Layer separation and Age-Based Work-Stealing to achieve 10,000 TPS and low latency.
Woowa Brothers has published a backend technology book based on their real-world development and operations experience.
Airbnb has unveiled Viaduct 1.0, turning an internal tool into a community project.
Introducing a Composite PK became the trigger for migrating to Spring Boot 4 and Spring Batch 6.
Good code should be easier to read than to write, and should be designed so that it's hard to use incorrectly.
Mobile engineers from Tokyo and HCMC strengthened collaboration through joint reviews and design exercises at FIXIT.
Injecting excessive logic for the sake of testing can make tests complex and risks missing verification of actual interactions.
Error representations should be unified into one rather than scattered across many, so that the call site stays simple.
Validation should be completed at the time of object creation or update, not at the time of use.
Replaced paper labels across 1,300 stores with an event-driven ESL pipeline.
Considering the characteristics of Collections and appropriately using Set and Map instead of List can improve code clarity and stability.
Kotlin primary constructors should be kept simple to match the class's properties, with complex logic separated into secondary constructors or factory functions.
Including collection index information in a data model causes data inconsistency during filtering, so such data should only be generated when needed, such as at the UI layer.
This proposes ensuring idempotency in functions to reduce the hassle of state checks and increase code predictability.
Complex logic like loan screening was broken down into Job-based pipelines to improve maintainability and testability.
This analyzes the concurrency issues that occur when function state is managed as an object's property, and presents two design approaches to resolve them.
By turning code-managed user behavior logs into a UI-based platform, Karrot improved consistency and automation.
Be wary of over-applying the SLAP principle, as it can harm the readability of the main logic.
Rather than excessively separating a class's responsibilities, it's important to keep the interface simple from the caller's perspective.
Implicit dependency relationships within code should be isolated at the function or class level to prevent runtime errors.
During code review, you should examine the caller and callee code together to prevent duplication or omission of conditional filters.