In this session, we would like to show you a different view of collections in Scala. Generally, collections are considered to be storing objects but here we will discuss a functional view for collections.
2. Lack of etiquette and manners is a huge turn off.
KnolX Etiquettes
Punctuality
Respect Knolx session timings, you
are requested not to join sessions
after a 5 minutes threshold post
the session start time.
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Silent Mode
Keep yourself muted until and
unless you have any query.
3. Our Agenda
1. Data structures and objects
2. Collections
3. Collection hierarchy in Scala
4. Functional look at collections
5. Demo
6. Short quiz
4. Data structures and objects
● Data structures is how we represent the data in memory.
● Data structures expose their data and have no meaningful functions.
● Object hides their data behind abstractions.
● It exposes functions that operates on its data.
Vs
5. Collections
What exactly collections are?
Myth : From the poll that we did today, got to know that ~30% of us think that
collection hold elements.
Reality : Collections hold a lot of complex properties rather than holding just
elements.