Hello Vasavi developers,
We are very excited to introduce you to the concepts of Functional Programming and learn a new language called Clojure.
Functional Programming(FP) is a programming paradigm like Object oriented Programming(OOP). In OOP, you think about programs in the form of classes and objects, whereas in FP, everything you write is a function.
In the seminar, we would introducing you to the concepts of Functional Programming using Clojure. Clojure is purely functional programming language used by companies such as Apple to build the iTunes software, Netflix, Spotify and Facebook. In fact, the chat application Whatsapp is written in another functional language called Erlang.
let us say you wanted to create an array of first 10 numbers and then filter out the even numbers. The way you do in Clojure is by simply saying
(->> (range 10)(filter even?) ) => (0 2 4 6 8)
Interesting, right ?
Now, let us say we want to insert the number 5 between every two elements in the array, you can just simply do by calling
(->> (range 10)(filter even?)(interpose 5) ) => (0 5 2 5 4 5 6 5 8)
Pretty clean!!! Good luck doing this in C++ with all the array shift, new array allocation etc.
- Firstly a demo to get you all excited
- What is Functional Programming ?
- Core concepts of Functional Programming
- OOP vs FP
- Functional languages and who uses them
- Cool Demos
- Resources to learn more
The seminar will be up on 28 March,2018 on Youtube. So stay tuned!
If you have any suggestions or questions you would like to ask, comment down below. I encourage silly questions :P. It need not be even related to Clojure.