Functional JavaScript Tutorial - #1: Functions

preview_player
Показать описание
In programming, functions are units of computations. They take input and produce output. In order to use a function, we must to define it. This process consists of associating a name with a sequence of operations to perform when given function is invoked.

In JavaScript, there are many ways to define functions. There is a function declaration, a function expression (which can be named or anonymous) and finally an arrow function. In this tutorial, we will be using exclusively arrow functions as they are shorter, easier to write and their semantics are simpler in JavaScript

Functional programming is a programming paradigm in which you build programs by
composing functions. The computation is then the evaluation of those functions.
Functional programming focuses on the usage of pure functions and on avoiding
shared, mutable state. This programming paradigm is declarative. Functional code
is usually more concise and easier to test.

In this mini series, we will embark on an exciting journey to learn a bit about
functional programming by using JavaScript. Presented concepts will be mostly
universal and applicable to other programming languages. This series is created with beginners and non-programmers in mind; don't worry, we will take it slowly!

#functional #javascript #functions
Рекомендации по теме
Комментарии
Автор

So much information conveyed in such an elegant, layered and structured manner.

janduna
Автор

Man I love this series! Can’t believe I just found it! Also how’d you get your vim to look like that

kayseeday
Автор

i really like how your videos are structured. can't w8 for next one. gj man

wtkish
Автор

Absolutely brilliant. Especially at 19:17 when you show what is this in the context of a function. Excellent, show. Arrow functions are not objects, though, right? I loved your Flutter series, too.

miklosnemeth
Автор

thank you! I really enjoy the way you teach and how you grab those concepts

MrMarkgyuro
Автор

Hi, ~zaiste do you have these notes from the video that we can read it after and later on?

szymonrojek
Автор

Great video! What editor are you using?

dancoman
Автор

What tool do you use in vim to make it look that way?

IsraelJosue
Автор

Did you buy functional-javascript.org domain yet?

piecioshka
Автор

I'm glad ES6 was finally permitted to edit notable features. The joys of technology offshoots today.

MIcrosoft was quite hard-headed. Brendan Eich was charged with producing it in all of 10 days... can you imagine the mindset (Bill Gates) to insist a programmer not debug? So then how about error-corrections of a full programming language or compiler itself?? Seems politicized, not wanting to 'break' code, and during a beginning standardization process. Most of the idiosyncrasies as flaws appear: 1) divergences from other C or Java familiarities, being a different language, 2) any confusion to application of similarly marked or even otherwise perceived behaviors, 3) oversights at launch, aspects people harped about to target Netscape or even Mozilla. Douglas Crockford much dismisses Eich's role for times, and it seems the role itself was first and more largely dismissed by larger Microsoft interplays. Still, all the cool features finally unleashed, and programmers *very much* caution against using arrow functions as a purely syntactic update. Despite object-orientation providing depth to JS functional capabilities, you mention you (always) preference arrow functions. But you start off the category highlighting many are misusing or mistaking them, and by presentation end you are calling an object reference from one function into another, both plenty concise but neither involving arrow syntax... it feels like you've had more to say about arrow syntax.

LanguageSkillz
Автор

I was able to learn faster at 1.25x speed..Try it.

paedrufernando
Автор

voice from keyboard is very very very but very anoy

nr
welcome to shbcf.ru