# Functional Programming made easy in Java & C\#

Workshop created with [Alexandre Grison](https://twitter.com/algrison)

## Objectives

* Demystify together what is Functional Programming (FP)
* Deep dive into FP paradigms like monads, pure functions, high order functions, and much more.
* Understand why and how apply those principles in Object Oriented languages like java (with vavr) & C# (with language-ext).

In this workshop we will demonstrate how to write Functional code that is:

* More robust
* Easier to read
* Easier to maintain

## Support

{% hint style="success" %}
The coding part consists of ***fixing failing tests***. Exercises are explained in the comment of the tests. Our solution in both languages are in the "solution" branches.
{% endhint %}

* For Java : <https://github.com/ythirion/vavr-kata>
* For C# : <https://github.com/ythirion/language-ext-kata>
  * There is a third branch called "solution-async" that demonstrates the us of language-ext in an async

{% embed url="<https://speakerdeck.com/thirion/functional-programming-made-easy-in-java-and-c-number>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://yoan-thirion.gitbook.io/knowledge-base/software-craftsmanship/code-katas/functional-programming-made-easy-in-java-and-c.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
