-
Commit
chore: configuring vscode-
create an repository on the git.
-
create file
.gitignore:node_modules
-
A aplicação é uma simulação de um robô de brinquedo movendo-se em um tampo de mesa quadrado, com dimensões de 5 unidades x 5 unidades. Não há outras obstruções na superfície da mesa. O robô pode se mover livremente pela superfície da mesa. Qualquer movimento que resultaria na queda do robô da mesa é prevenido, no entanto, comandos de movimento válidos adicionais ainda são permitidos. A aplicação lê um arquivo usando um nome passado na linha de comando, os seguintes comandos são válidos:
PLACE X,Y,F
MOVE
LEFT
RIGHT
REPORT
| version: "3" | |
| services: | |
| # configuration manager for NiFi | |
| zookeeper: | |
| hostname: myzookeeper | |
| container_name: zookeeper_container_persistent | |
| image: 'bitnami/zookeeper:3.7.0' # latest image as of 2021-11-09. | |
| restart: on-failure | |
| environment: | |
| - ALLOW_ANONYMOUS_LOGIN=yes |
There are many tutorials and articles available online which explain functional programming. Examples show small functions, which are composed into others which again get composed. It is hard to imagine how it would all work, then come the analogies and then the math. While the math is necessary to understand it can be difficult to grasp initially. The analogies on the other hand, (at least for me) are not relatable. Some articles assume the reader knows the different terminologies of FP. Over all I felt it is not inviting to learn.
This introduction is for those who have had a tough time understanding those analogies, taken the plunge to functional programming but still have not been able to swim. This is yet another tutorial on functional programming
Functions are first class means they are just like anyone else, or rather they are not special, they behave the same as say primitives or strings or objects.