awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
amitshekhariitbhu avatar

amitshekhariitbhu/from-java-to-kotlin

0
View on GitHub↗
6,324 stars·780 forks·Java·Apache-2.0·24 viewsoutcomeschool.com↗

From Java To Kotlin

From Java To Kotlin - Your Cheat Sheet For Java To Kotlin

Features

  • Java-to-Kotlin Syntax Comparisons - Provides side-by-side comparisons of Java and Kotlin syntax for every major language construct.
  • Java and Kotlin Boilerplates - Pairs each Java language feature with its idiomatic Kotlin counterpart for migration.
  • Collection Filtering - Applies lambda-based filter and forEach directly on collections, replacing Java streams.
  • Data Class Generators - Demonstrates Kotlin data class syntax that auto-generates equals, hashCode, toString, and copy methods.
  • Kotlin Data Class Declarations - Shows Kotlin data class declarations that auto-generate equals, hashCode, toString, and copy.
  • Safe Casting - Shows Kotlin's safe-cast operator combining type checking and smart casting.
  • Safe Navigation Operators - Demonstrates Kotlin's safe-call operator and let block for chaining nullable operations.
  • Data Class Copy Functions - Demonstrates Kotlin's data class copy() function for cloning with property overrides.
  • Multi-Line - Shows Kotlin's triple-quoted raw strings for multi-line literals with margin trimming.
  • Cheat Sheets - Offers a compact reference for expressing common Java patterns in Kotlin.
  • Side-by-Side Comparisons - Presents Java and Kotlin code in parallel columns for direct syntax comparison.
  • Single-Expression Function Bodies - Demonstrates Kotlin's single-expression function syntax with inferred return types.
  • Destructuring Assignments - Shows Kotlin destructuring declarations for unpacking collections and data classes into variables.
  • Instance Initialization - Compares Java instance initializers with Kotlin's init blocks for class construction logic.
  • Default Parameter Assignments - Compares Java overloaded methods with Kotlin's default parameter values in function signatures.
  • Kotlin Extension Functions - Shows Kotlin extension functions that add methods to existing classes without inheritance.
  • Collection Pipeline Lambdas - Shows Kotlin's lambda-based collection pipelines as a replacement for Java stream chains.
  • Kotlin Resources - Teaches Kotlin by presenting familiar Java code alongside its Kotlin translation.
  • Range Expression Conditions - Shows Kotlin's in operator and range expressions for concise conditional checks.
  • String Interpolation - Compares Java string concatenation with Kotlin's dollar-sign string interpolation.
  • Range-Based Loop Iteration - Compares Java for-loops with Kotlin's range expressions, downTo, until, and step modifiers.
  • When Expression Pattern Matching - Demonstrates Kotlin's when expression for pattern matching with ranges and conditions.
  • Enum Property Definitions - Demonstrates Kotlin enums with constructor parameters and properties, replacing Java field-based enums.
  • Safe-Call Null Operators - Demonstrates Kotlin's safe-call operator and let block for concise nullable value handling.
  • Mutable and Immutable Declarations - Shows Kotlin's var and val keywords for mutable and immutable variable declarations.
  • Ternary Expression Evaluators - Provides side-by-side comparisons of Java ternary operators and Kotlin if-else expressions.
  • Collection Creation Utilities - Use listOf, mapOf, and the to infix function to build lists and maps without explicit constructors.
  • Collection Sorting Utilities - Uses sortedWith and lambda-based comparators to sort lists, replacing Java's Collections.sort.
  • Anonymous Object Expressions - Shows Kotlin's object expression for creating anonymous class instances.
  • Named Bitwise Functions - Demonstrates Kotlin's named functions for bitwise operations as an alternative to symbolic operators.

Star history

Star history chart for amitshekhariitbhu/from-java-to-kotlinStar history chart for amitshekhariitbhu/from-java-to-kotlin

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to From Java To Kotlin

Similar open-source projects, ranked by how many features they share with From Java To Kotlin.
  • bevacqua/es6bevacqua avatar

    bevacqua/es6

    4,295View on GitHub↗

    This project is an ECMAScript 2015 reference guide and JavaScript language cheat sheet. It provides a concise summary of the language specifications, syntax updates, and new features introduced in the 2015 standard. The guide serves as a technical overview of modern language patterns used to manage modular code structures and asynchronous operations. It functions as a reference for implementing current coding standards and studying core updates to the language. The content covers a wide range of capabilities, including asynchronous programming, object modeling, and module management. It deta

    deep-divees6javascript
    View on GitHub↗4,295
  • crazyguitar/pysheeetcrazyguitar avatar

    crazyguitar/pysheeet

    8,150View on GitHub↗

    pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns for advanced Python development, system integration, and high-performance computing. It serves as a comprehensive guide for implementing low-level network programming, native C extensions, and asynchronous and concurrent programming. The project provides specialized frameworks for the development and deployment of large language models, including tools for distributed GPU inference and high-performance serving. It also includes detailed patterns for high-performance computing

    Python
    View on GitHub↗8,150
  • rse/es6-featuresrse avatar

    rse/es6-features

    6,163View on GitHub↗

    This project is a reference catalogue of the new syntax and behavioral changes introduced in the ECMAScript 6 (ES6) specification for JavaScript. It serves as a curated overview and comparison table of the language features defined by the standard, documenting additions such as block scoping with let and const, arrow function syntax, default parameter handling, and rest parameter collection. The reference is structured as a side-by-side comparison chart that maps old and new JavaScript syntax patterns, providing a focused guide for each capability. It covers the core language fundamentals

    HTML
    View on GitHub↗6,163
  • microsoft/typespecmicrosoft avatar

    microsoft/typespec

    5,781View on GitHub↗

    TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas

    Javajson-schemaopenapi3protobuf
    View on GitHub↗5,781
See all 30 alternatives to From Java To Kotlin→

Frequently asked questions

What does amitshekhariitbhu/from-java-to-kotlin do?

From Java To Kotlin - Your Cheat Sheet For Java To Kotlin

What are the main features of amitshekhariitbhu/from-java-to-kotlin?

The main features of amitshekhariitbhu/from-java-to-kotlin are: Java-to-Kotlin Syntax Comparisons, Java and Kotlin Boilerplates, Collection Filtering, Data Class Generators, Kotlin Data Class Declarations, Safe Casting, Safe Navigation Operators, Data Class Copy Functions.

What are some open-source alternatives to amitshekhariitbhu/from-java-to-kotlin?

Open-source alternatives to amitshekhariitbhu/from-java-to-kotlin include: bevacqua/es6 — This project is an ECMAScript 2015 reference guide and JavaScript language cheat sheet. It provides a concise summary… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… rse/es6-features — This project is a reference catalogue of the new syntax and behavioral changes introduced in the ECMAScript 6 (ES6)… microsoft/typespec — TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from… crystal-lang/crystal — Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It… janet-lang/janet — Janet is a Lisp-based dynamic programming language featuring a register-based bytecode virtual machine and an…