Skip to content

Hands-on Session #2

Hands-on Session #2

Details

Hi everyone,

Thanks to all the people who joined the first hands-on session on Saturday. Second one is coming pretty soon too :-). See you all there.

Event Overview

In this two hour online session, we will tackle a small technical problem and solving it by writing the related tests and code for it. So please dust off your IDE/editor, put your right mechanical keyboard forward and get ready :-)

===============
Exercise

We want to pull a data from a file into a structure to make the parsing of the data much simpler. So, we want to have a program, that reads JSON/CSV (make decision in your team) that does the following

  • Takes product names as input and retrieves the current price and quantity of the product.

Example for the JSON:
{
"products" : [
{"name": "Tesla", "price": 80000, "quantity": 10 },
....

]
}
Additional if your team has more time:

  1. Able to add/delete items existing items (only quantity value will change as a result).
  2. If the product is not found, ask if the product should be added to the list.
    ===================================================================

Have a nice day and stay safe,
Seyed

P.S. Zoom link will be given before the event. Thanks.

P.S.S. You can reach out to me (https://www.linkedin.com/in/shghotbi/
) if you want to propose a talk regarding anything Scala, thanks.

Photo of Singapore Solution Architect group
Singapore Solution Architect
See more events