Skip to content

Add Kotlin vs Scala API migration spike findings to README - #659

Open
conorheffron with Copilot wants to merge 4 commits into
mainfrom
copilot/research-scala-or-kotlin-options
Open

Add Kotlin vs Scala API migration spike findings to README#659
conorheffron with Copilot wants to merge 4 commits into
mainfrom
copilot/research-scala-or-kotlin-options

Conversation

Copilot AI commented May 16, 2026

Copy link
Copy Markdown
Contributor

This spike captures practical options for introducing Kotlin or Scala into the API codebase and makes the trade-offs explicit for near-term planning. It documents partial and broader adoption paths and provides a default direction for future implementation work.

  • What this PR adds

    • Introduces a new README.md section: “Spike: Kotlin / Scala options for API source”.
    • Adds a compact comparison of three paths:
      • Java-first with incremental Kotlin in selected API packages
      • Broad Kotlin migration over time
      • Scala migration for some/all API code
  • Decision framing included

    • Records pros/risks per option (interop, migration effort, ecosystem fit, onboarding cost).
    • States a working recommendation: Kotlin-first incremental adoption, while keeping existing Java modules stable unless touched by feature work.
  • Documentation-only scope

    • No production code, dependencies, or build configuration changes.
## Spike: Kotlin / Scala options for API source

| Option | Scope | Pros | Risks / Cost |
| --- | --- | --- | --- |
| Keep Java as primary, add Kotlin for selected API packages first | Some API source code | Lowest migration risk, full Spring + JVM interop | Mixed-language standards to maintain |
| Move most API code to Kotlin over time | Most API source code | Null-safety, concise syntax, strong Spring ecosystem support | Medium migration/testing effort |
| Move API to Scala | Some or all API source code | Powerful FP model and type system | Highest migration and onboarding cost |

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Agent-Logs-Url: https://github.com/conorheffron/ironoc/sessions/549a940f-35ff-4085-87f8-c6392395bd6c

Co-authored-by: conorheffron <8218626+conorheffron@users.noreply.github.com>
Copilot AI changed the title [WIP] Spike: Research options for using Scala or Kotlin for API Add Kotlin vs Scala API migration spike findings to README May 16, 2026
@conorheffron conorheffron added the question Further information is requested label May 24, 2026
@conorheffron
conorheffron marked this pull request as ready for review June 14, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

question Further information is requested

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

Spike: Research options for using scala or kotlin for some or all of the API source code

3 participants