Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stackbuilders/functional-programming-patterns

Code snippets used during the presentation
https://github.com/stackbuilders/functional-programming-patterns

functional-programming java

Last synced: 29 days ago
JSON representation

Code snippets used during the presentation

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/stackbuilders/functional-programming-patterns.svg?branch=master)](https://travis-ci.org/stackbuilders/functional-programming-patterns)

# Functional Programming Patterns

## Tutorial

- [Step 1][step-1]: Initial version
- [Step 2][step-2]: Extract user filtering
- [Step 3][step-3]: Avoid variable mutation
- [Step 4][step-4]: Bulk insert rows
- [Step 5][step-5]: Refactor user filtering with filter
- [Step 6][step-6]: Refactor rows creation with map
- [Step 7][step-7]: Combine user filtering and rows creation
- [Step 8][step-8]: Handle firstName and lastName null values

## Requirements

- Install JDK 8+
- Install [Maven 3.6.1+](https://maven.apache.org/install.html)

## Getting Started

Compile the source code:

```
mvn compile
```

Run the main class:

```
mvn exec:java
```

## License

MIT, see the [license](LICENSE) file

[step-1]: https://github.com/stackbuilders/functional-programming-patterns/blob/step_1/src/main/java/com/stackbuilders/App.java
[step-2]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_1...step_2
[step-3]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_2...step_3
[step-4]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_3...step_4
[step-5]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_4...step_5
[step-6]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_5...step_6
[step-7]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_6...step_7
[step-8]: https://github.com/stackbuilders/functional-programming-patterns/compare/step_7...step_8