The Art of Functional Programming - Anjana Vakil | JSHeroes 2022

  Рет қаралды 3,651

JSHeroes

JSHeroes

Жыл бұрын

Functional Programming (FP), a paradigm in which programs are made up of pure, stateless functions, is adored by many programmers for how easy it makes it to predict, test, and debug the behavior of the code we write. Although FP has an unfortunate reputation as an ivory-tower domain full of obscure jargon comprehensible only to those with PhDs in category theory, the core concepts are straightforward ideas all of us can understand, and even have fun learning!
In this talk, we’ll create generative art as a way to explore fundamental FP concepts such as recursion and function composition, and tackle the practical challenges of FP in the real world, such as dealing with the tricky parts like side effects and randomness which don’t fit into the safe, sterile world of pure functions. By the end of the talk we’ll not only have the key concepts & techniques we need to start writing our own functional programs, we’ll have some nice SVG art to look at too!

Пікірлер: 11
@paladin80lvl
@paladin80lvl Ай бұрын
yet another JavaScript teacher
@ehza
@ehza 11 ай бұрын
This is very intuitive.
@giovannilampis
@giovannilampis Жыл бұрын
Many thanks Anjana, would you suggest studying functional programming to a beginner javascript student, who is normally taught object oriented programming?
@parth46767
@parth46767 Жыл бұрын
Hi there, though I am not very experienced with functional programming I have however dabbled a little in Haskell and Scala. I would reccomend you at least try to learn the basics of Functional Programming "because" it is different from object-oriented programming. It will be non-intuitive at first and it will force you to think in a very different mind frame than what you use for OOP. Thinking of a problem from a functional perspective can often help you write better OOP in turn.
@giovannilampis
@giovannilampis Жыл бұрын
@@parth46767 Hi Parth, many thanks for your advice, I will do that for sure 👍
@user-mv4oh8yp1y
@user-mv4oh8yp1y 2 ай бұрын
@@giovannilampis Did you :D Just curious about the experience because I'm in your foot now. (trying to learn it from the ground up)
@paulholsters7932
@paulholsters7932 9 ай бұрын
FP or OOP that is the question. Anyway to me they seem equivalent. So it's obvious one isn't better than the other. Which is why OOP will never by replaced by FP since it conquered the market first.
@banatibor83
@banatibor83 8 ай бұрын
In a Dave Farley interview it was said, OOP look like FP if done right.
@mishafiullah
@mishafiullah Жыл бұрын
good
@shehab976
@shehab976 5 ай бұрын
OOP is more versatile cz u have functions that is named of methods,and u may have constructor or just the inheritance and so much more u can imagine,function is just an element of OOP
@coder_one
@coder_one 5 ай бұрын
A classic example of a genius who doesn't have a clue about the subject, but speaks up. I suspect you write even worse OOP than you comment on the FP topic....
Would you like a delicious big mooncake? #shorts#Mooncake #China #Chinesefood
00:30
I Built a Shelter House For myself and Сat🐱📦🏠
00:35
TooTool
Рет қаралды 29 МЛН
Китайка и Пчелка 4 серия😂😆
00:19
KITAYKA
Рет қаралды 3,6 МЛН
You are an AI engineer - Tejas Kumar | JSHeroes 2024
31:19
Self Taught Coders Don't Exist | Anjana Vakil | The Secret Sauce
32:47
Functional Programming in 40 Minutes • Russ Olsen • GOTO 2018
41:35
GOTO Conferences
Рет қаралды 804 М.
The Art of Code - Dylan Beattie
1:00:49
NDC Conferences
Рет қаралды 4,7 МЛН
Object Oriented Programming is not what I thought - Talk by Anjana Vakil
38:51
rust runs on EVERYTHING (no operating system, just Rust)
18:10
Low Level Learning
Рет қаралды 345 М.
cool watercooled mobile phone radiator #tech #cooler #ytfeed
0:14
Stark Edition
Рет қаралды 9 МЛН
Bluetooth Desert Eagle
0:27
ts blur
Рет қаралды 4,8 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 20 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 594 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Непробиваемый телевизор 🤯
0:23
FATA MORGANA
Рет қаралды 73 М.