Till KTH:s startsida Till KTH:s startsida

Ändringar mellan två versioner

Här visas ändringar i "Type system" mellan 2018-01-12 17:10 av Johan Montelius och 2018-01-14 18:40 av Johan Montelius.

Visa < föregående | nästa > ändring.

Maps and StructsType system

So far we have only used lists and tuples bit these data structures have some drawbacks when we want to handle more complex data or very large data sets. We will in this lecture look at keyword lists, maps and structs and how they can help us.¶
* will be added later
Erlang and Elixir are examples of dynamically typed languages. This has some advantages when it comes to do rapid prototyping but severe disadvantages when it comes to maintaining large code projects. We will discuss these problems and some solutions that will help the situation.

So far we have only used lists and tuples bit these data structures have some drawbacks when we want to handle more complex data or very large data sets. We will in this lecture look at key-value lists, Maps and Structs and how they can help us.¶


* types.pfd


Elixir concepts
* Elixir: Keywords and maps
* Elixir: Structs