/supermarket-delivery

A task for akardoo devcamp, plus learning how to use the streams api and in general the functional programming design pattern. 🧁

Primary LanguageJava

supermarket-delivery

Codacy Badge

What does this project consist of

In this project I have tried to implement the design pattern, functional programming, and some other similar functions in addition to some of my general knowledge.

Example of what I mean by functional programming

int setPrice = prices.stream().mapToInt(integer -> integer).sum();

How is it used

Well, as it is a simple project there is no way to save the data permanently, but still, it will be temporarily saved in a list while the program is running, so you can go to the menu and your product list will still be valid.

Suppose you are the salesperson of a supermarket, and you want to get a receipt with all the purchases, and their corresponding information such as: time, transaction id, the salesperson, which product it was, how many products were purchased and/or the total value of your purchases.

In addition, we have tried to use the functions previously learned in the old devcamp classes such as code optimization or object creation.

Update 21/07/2021

I am currently working on a recoding of this project, because I am learning swing, also now I can program better so I think I can improve the code

Badges

languages lombok visitors stars

Project created by vCamilo ✨ | 2021 Akardoo DevCamp