Introducci贸n a la programaci贸n Funcional

1

驴Qu茅 es la Programaci贸n Funcional?

Entendiendo las partes de la programaci贸n funcional

2

驴Qu茅 es una funci贸n en Java?

3

Funciones como ciudadanos de primera clase

4

Funciones puras

5

Entendiendo los efectos secundarios

6

Funciones de orden mayor

7

Funciones lambda

8

Inmutabilidad

Functional Programming en Java

9

Repositorio del curso

10

Configuraci贸n del entorno de trabajo

11

Revisando el paquete java.util.function: Function

12

Revisando el paquete java.util.function: Predicate

13

Revisando el paquete java.util.function: Consumer y Supplier

14

Revisando el paquete java.util.function: Operators y BiFunction

15

Entendiendo dos jugadores clave: SAM y FunctionalInterface

16

Operador de Referencia

17

Analizando la inferencia de tipos

18

Comprendiendo la sintaxis de las funciones lambda

19

Usando metodos default en nuestras interfaces

20

D谩ndole nombre a un viejo amigo: Chaining

21

Entendiendo la composici贸n de funciones

Optional y Streams: Datos mas interesantes

22

La clase Optional

23

Entendiendo los Streams

24

驴Qu茅 son los Stream listeners?

25

Operaciones y Collectors

26

Streams de tipo espec铆fico y Paralelismo

27

Operaciones Terminales

28

Operaciones Intermedias

29

Collectors

Todo junto: Proyecto Job-search

30

job-search: Un proyecto para encontrar trabajo

31

Vista r谩pida a un proyecto de Gradle

32

Revisando las opciones para nuestro CLI

33

Librer铆as adicionales para nuestro proyecto

34

Entendiendo la API de jobs

35

Dise帽ando las Funciones Constructoras de nuestro Proyecto

36

Agregando validaciones de datos

37

Dise帽ando las funciones de transformacion de datos

38

Creando flujos extras de transformaci贸n de Datos

Conclusiones

39

Un repaso a lo aprendido

You don't have access to this class

Keep learning! Join and start boosting your career

Aprovecha el precio especial y haz tu profesi贸n a prueba de IA

Antes: $249

Currency
$209
Suscr铆bete

Termina en:

0 D铆as
9 Hrs
16 Min
45 Seg

Configuraci贸n del entorno de trabajo

10/39
Resources

How to set up your functional programming environment in Java?

While you are already familiar with the theoretical concepts of functional programming, now it is time to get down to work and see how it is applied in Java. Below, I'll walk you through the necessary steps to set up your development environment and start experimenting with practical examples.

Where to find the functional programming examples?

To facilitate your learning, there is a repository on GitHub ready with all the examples you will need. Here's how to find and use this resource:

  1. Visit the repository on GitHub: Search for the repository mentioned in the course. Make sure you have a GitHub account, although you can also download the files without one.
  2. Select the correct branch: Important to consider that there is a specific branch to choose, usually named for easy identification. You can download it directly as a ZIP file.
  3. Download and unzip: Once downloaded, unzip the file and save it in a folder of your choice on your computer.

How to open the project in IntelliJ IDEA?

IntelliJ IDEA is a highly recommended environment for working in Java. Here is how to open your project:

  1. Open IntelliJ IDEA: If you don't have it installed, check previous modules of the course where the installation process is explained by a colleague.
  2. Load the project: Once in IntelliJ, select "Open" and navigate to the location of the unzipped project folder. Click "OK".
  3. Automatic configuration: IntelliJ IDEA will recognize the project and configure the environment for you, without the need to install additional components.

How to start functional programming?

With the project ready, you can start exploring and programming with the provided examples. Here are some basic steps to get you started:

  1. Search and open classes: Within the project, explore the different classes and code examples.
  2. Create functions: Try creating your functions within existing classes. IntelliJ will quickly recognize these edits.
  3. Execute code: Use the small execute icon in IntelliJ to run your methods and observe the results.

Final tips to improve the experience

To make the code more readable and easy to follow, you can use specific display modes in IntelliJ. Remember, even if the mode affects the presentation, the project and examples remain unaltered. These small adjustments will make your learning experience more efficient.

With these steps, rest assured that you will be ready to enter the world of Java functional programming in a practical and effective way. Good luck and keep learning with enthusiasm!

Contributions 14

Questions 7

Sort by:

Want to see more contributions, questions and answers from the community?

git clone uriRepositorio --> descargar repositorio
git branch -a --> lista las ramas existentes
git checkout nombreRama --> posisionarse en una rama

ok entonces la programaci贸n funcional seria el paradigma que utiliza react, flutter para sus componentes y widgets respectivamente y dar un renderizado r谩pido .

Recomendacion: descarguen en zip.
Intente descargar en github para practirar mi git, pero no me figura el menu

Mal, muy mal este curso. El curso basico y avanzado de JAVA -SE esta bajo esta misma linea de aprendizaje y estan basados en eclipse. Ahora vengo a este curso y me remiten a un video que no he visto, y no me funciona intelli tal cual como al tutor le funciona. Muy mal!

Me funciono en Eclipse, muchas gracias.

![](https://static.platzi.com/media/user_upload/image-f4fd073f-44a4-46a3-9a90-2cd0e2f58245.jpg) creame me costo pero me salio .... mil veces hice los pasos y no me salia... ami me salio asi -> tengo mi repositorio con login y con el key SSH ->git origin clone aquiURL ->luego ingresen a la carpeta con cd JavaSE-Functional-platzi -> git branch -a ==> le saldran todos los branch -> git checkout job-search ->asi se clona lo del branch job-search

Espectacular!!!

Genial 馃槂

Genial, gracias por la explicacion.

Explicaci贸n y sencilla, gracias por mostrarnos como montar el ambiente para este repositorio instructor Sinuh茅.

Excelente info, gracias

Vamos con toda en estos ejercicios 馃槂 !!!

Para los que apenas conocen a Intellij IDEA, les regalo mi config: https://github.com/kdav5758/IntelliJIDEA-Delightful

Para los que no salen, o no deja que se ejecute el m茅todo main; haga los siguientes pasos:

-Selecione la carpeta jobs-search-reporter y main
-Luego haga clic en Mark directory as: Sources directory