World Congress 2024 • Aug 20, 2024 • Session details

Algebraic Data Types + Pattern Matching = Elegant and readable Java code

Balkrishna Rawool

Data-oriented programming completely transforms Java maintainability. Combine algebraic data types and pattern matching to cleanly decouple domain structures from logic. Eliminate tedious manual type casting for good.

Pause
Mute Enter Fullscreen
#1 about 3 min

Solving numerical puzzles with crypto-arithmetic constraints

Analyzing variable boundaries to decrypt arithmetic equations using brute calculation sets.

#2 about 1 min

Designing a brute force solver architecture

Building an expression generator and evaluator workflow to test data combinations.

#3 about 1 min

Defining the grammar for mathematical expressions

Categorizing computational branches into constants, variables, addition nodes, and multiplication clusters.

#4 about 2 min

Devising a type and component definition plan

Mapping structural constraint rules and data sequence workflows to designated java abstractions.

#5 about 2 min

Understanding algebraic data types in java systems

Differentiating between product types encapsulating grouped variables and mutually exclusive sum types.

#6 about 3 min

Exploring pattern matching features and constructs in java

Streamlining object parsing using modern instanceof casting syntax and polymorphic switch rulesections.

#7 about 3 min

Building range variables and sealed expression interfaces

Constructing closed architectural scopes using java sealed declarations to reliably model syntactic grammars.

#8 about 4 min

Evaluating node structures using switch pattern matching

Executing recursive evaluation logic while bypassing default branches through exhausted compiler awareness.

#9 about 3 min

Wrapping generated combinations and defining system constraints

Applying secondary polymorphism layers to enforce mathematical subset requirements during execution.

#10 about 3 min

Structuring the core puzzle solver component

Assembling initialized node configurations and conditional statements into easily measurable test suites.

#11 about 4 min

Solving equation combinations with constraint loops

Deploying conditional switch handlers to systematically validate sequence permutations against nested limitations.

#12 about 5 min

Validating expression logic through complete unit tests

Automating calculation chains alongside formatted output rendering to confirm isolated data integrity.

#13 about 2 min

Applying data-oriented programming for concise java syntax

Fusing mathematical interfaces and matching engines separates concrete data structures from operational behaviors.

Matching moments

3:31 min

Implementing data-oriented programming architectures in Java

Ron Veen Ron Veen · World Congress 2023

2:26 min

Deconstructing syntax trees explicitly using unnamed Java patterns

Nicolai Parlog Nicolai Parlog · World Congress 2025

4:54 min

Learning Java features and design patterns interactively

Jakov Semenski · LIVE

2:52 min

Executing conditional logic gracefully via sealed pattern matching

Nicolai Parlog Nicolai Parlog · World Congress 2025

3:16 min

Significant performance and language features launching in Java 21

Jonathan Vila · LIVE

3:24 min

Pattern matching with Java switch preview features

Lothar Schulz · World Congress 2022

Upcoming sessions on this topic

Open session

Teaching AI Coding Agents to Build It Right the First Time

  • Sajeetharan Sinnathurai

    Microsoft

    Principal Product Manager

Open session

Java is Coming for Python’s Lunch: The Rise of JVM AI Agents

  • Frederik Pietzko

    Jetbrains

    Developer Advocate

Open session

Architecting Trusted AI: Coupling Multi-Agent Systems with dbt Semantic Store for Zero-Hallucination

  • Pushkar Mishra

    J.P. Morgan

    Senior Vice President

Open session

Prompt Debt: Why Your AI System Is Frozen in Time

  • Suriya Prakash B

    Red Hat

    Principal Software Engineer

Open session

Designing for Every Direction: Logical CSS for Global, Adaptive, and Effortlessly Reversible UIs

  • Vidhya Krishnamoorthy

    Morgan Stanley

    VP, Software Engineering Manager

Open session

Thinking in Graphs, Reasoning with Gemini!

  • Bhavesh Bhatt

    N/A

    Lead AI Engineer