filmov
tv
Learn Functional Programming! #coding #programming #computerscience

Показать описание
You NEED to try a functional programming language.
If you’ve only ever written object oriented code, you should definitely try out a functional language like Haskell or OCaml.
Different programming paradigms lead to different ways of thinking, and it’s good to be exposed to different ways to approach problems.
Functional programming cares a lot about immutability, and the use of, you guessed it, functions.
This results in code that is usually more concise and readable than the equivalent in an OOP codebase.
Plus, when you treat functions as the real heroes of your code, there are a lot of cool things that arise from it, and you can come up with some really cool abstractions. Also, the strong type systems that come with many functional languages are a big bonus and save you a lot of time when you’re debugging.
Even if you’re never going to use a functional language in a production environment, you’ll see a lot of features from functional languages within the nonfunctional languages like the classic map filter reduce combo, and most importantly you’ll have picked up a new way of thinking.
Functional purists may get mad at me for including OCaml, but deal with it; it’s awesome.
Current Sub Count: 15,708
Music In This Video:
(I do get benefits from the above link)
WHO AM I?
If you’ve only ever written object oriented code, you should definitely try out a functional language like Haskell or OCaml.
Different programming paradigms lead to different ways of thinking, and it’s good to be exposed to different ways to approach problems.
Functional programming cares a lot about immutability, and the use of, you guessed it, functions.
This results in code that is usually more concise and readable than the equivalent in an OOP codebase.
Plus, when you treat functions as the real heroes of your code, there are a lot of cool things that arise from it, and you can come up with some really cool abstractions. Also, the strong type systems that come with many functional languages are a big bonus and save you a lot of time when you’re debugging.
Even if you’re never going to use a functional language in a production environment, you’ll see a lot of features from functional languages within the nonfunctional languages like the classic map filter reduce combo, and most importantly you’ll have picked up a new way of thinking.
Functional purists may get mad at me for including OCaml, but deal with it; it’s awesome.
Current Sub Count: 15,708
Music In This Video:
(I do get benefits from the above link)
WHO AM I?
Комментарии