• ClipSaver
  • dtub.ru
ClipSaver
Русские видео
  • Смешные видео
  • Приколы
  • Обзоры
  • Новости
  • Тесты
  • Спорт
  • Любовь
  • Музыка
  • Разное
Сейчас в тренде
  • Фейгин лайф
  • Три кота
  • Самвел адамян
  • А4 ютуб
  • скачать бит
  • гитара с нуля
Иностранные видео
  • Funny Babies
  • Funny Sports
  • Funny Animals
  • Funny Pranks
  • Funny Magic
  • Funny Vines
  • Funny Virals
  • Funny K-Pop

What are pure functions? скачать в хорошем качестве

What are pure functions? 5 лет назад

скачать видео

скачать mp3

скачать mp4

поделиться

телефон с камерой

телефон с видео

бесплатно

загрузить,

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
What are pure functions?
  • Поделиться ВК
  • Поделиться в ОК
  •  
  •  


Скачать видео с ютуб по ссылке или смотреть без блокировок на сайте: What are pure functions? в качестве 4k

У нас вы можете посмотреть бесплатно What are pure functions? или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:

  • Информация по загрузке:

Скачать mp3 с ютуба отдельным файлом. Бесплатный рингтон What are pure functions? в формате MP3:


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса ClipSaver.ru



What are pure functions?

They can speed up development and increase productivity, but at what cost? Smok gives you a #QuickAnswer. #programming #tech #softwaredevelopment #developer #sde Clean Code (R. Martin) - US: https://amzn.to/3jVUEDU | UK: https://amzn.to/2Iij4Jz Best Practices for Programmers - US: https://amzn.to/2SPRSEg | UK: https://amzn.to/2Fr2h6e What are pure functions? Let’s start by acknowledging there are pure functions and pure virtual functions. I want to clear that these are unrelated. Pure virtual function is used in C++ to name an abstract virtual function. However when a programmer says that a function is pure - they mean two things: 1. function doesn’t have any side effect, and 2. returns the same value for the same input. Let’s unpack this. Side effect of a function is a process that changes things in an outside context of the function. For example this could be: consuming input, modifying an outside object or variable, writing to a file, network or console, starting a process, and simply calling a non-pure function. We could possibly list many other examples of how a function can affect the outer scope of our program, but I think you get the idea: no side effects. Now why is that important? Masters of the craft like Robert Martin say that the ”ratio of time spent reading versus writing is well over 10 to 1. We are constantly reading old code as part of the effort to write new code”. You can take from it that we actually should care more about programs that are easier to read and understand. Pure functions reduce the overhead of thinking how everything else is affected by this function. Using pure functions enhances productivity and makes onboarding with the code easier. Pure function has to meet another condition: produce the same output for the same input, no matter how many times you call it. Seems simple enough - we know plenty of those: max, min, find, sum, average and so on. This makes our function predictable and cacheable. Caching can be important for some more costly functions, and it’s good to know that once computed value won’t change. There is an ongoing discussion if pure functions are idempotent. Which means almost exactly the same thing as producing the same output for the same input. However you need to know that we also use the term idempotent to label functions, or API endpoints. Such an endpoint will produce the same result for the same input, but there is no requirement that idempotent functions have no side effects. You see: a function that deletes a record by ID can be idempotent, as the deleted record stays deleted no matter how many times you call the function, but - as you surely notice it has the side effect. So you may hear that some people say: that pure functions have no side effects and are idempotent, but I prefer to avoid this term, as it is used in this other meaning. Pure functions can help you to avoid most of the bugs that can happen because of state modification, which is often the case with data races in parallel systems. Having that said - avoiding mutation of the state is not always possible, and is viewed as less performant, as you have to copy new state instead of changing data in place. All in all - use the pure functions where you can, and others where you need to, but try to clearly separate one from another. Subscribe, and I’ll see you in the next one, cheers!

Comments
  • How to code good arguments for your function? 5 лет назад
    How to code good arguments for your function?
    Опубликовано: 5 лет назад
  • Learn Pure Functions In 10 Minutes 6 лет назад
    Learn Pure Functions In 10 Minutes
    Опубликовано: 6 лет назад
  • Master the Design of Functional Types in C# 1 год назад
    Master the Design of Functional Types in C#
    Опубликовано: 1 год назад
  • Чистейший стиль кодирования, в котором ошибки практически невозможны 2 года назад
    Чистейший стиль кодирования, в котором ошибки практически невозможны
    Опубликовано: 2 года назад
  • Функции и классы: когда использовать какие и почему? 2 года назад
    Функции и классы: когда использовать какие и почему?
    Опубликовано: 2 года назад
  • Надоели файлы? Вот, пожалуйста, сокеты • C • Live coding 3 недели назад
    Надоели файлы? Вот, пожалуйста, сокеты • C • Live coding
    Опубликовано: 3 недели назад
  • 5 Sure Signs You're No Longer Junior Programmer 1 год назад
    5 Sure Signs You're No Longer Junior Programmer
    Опубликовано: 1 год назад
  • Pure Functions Javascript - A Way to Avoid Side Effects in Javascript 4 года назад
    Pure Functions Javascript - A Way to Avoid Side Effects in Javascript
    Опубликовано: 4 года назад
  • State of JavaScript: что ждёт разработчиков в 2026? 1 день назад
    State of JavaScript: что ждёт разработчиков в 2026?
    Опубликовано: 1 день назад
  • Functional Programming & Haskell - Computerphile 9 лет назад
    Functional Programming & Haskell - Computerphile
    Опубликовано: 9 лет назад
  • Избегайте наследования при разработке ООП-программного обеспечения? 5 лет назад
    Избегайте наследования при разработке ООП-программного обеспечения?
    Опубликовано: 5 лет назад
  • История C# и TypeScript с Андерсом Хейлсбергом | GitHub 1 месяц назад
    История C# и TypeScript с Андерсом Хейлсбергом | GitHub
    Опубликовано: 1 месяц назад
  • JavaScript Pure Functions - Tutorial for beginners 2 года назад
    JavaScript Pure Functions - Tutorial for beginners
    Опубликовано: 2 года назад
  • Что такое «чистые функции» и «побочные эффекты»? 5 лет назад
    Что такое «чистые функции» и «побочные эффекты»?
    Опубликовано: 5 лет назад
  • 3 года назад
    "O.O.P. Looks Like Functional Programming When Done Right!" | Michael Feathers On OOP vs FP
    Опубликовано: 3 года назад
  • Which comments in your code ARE GOOD? 5 лет назад
    Which comments in your code ARE GOOD?
    Опубликовано: 5 лет назад
  • ОБВАЛ Экономики ИИ! КРИЗИС ИНТЕЛЛЕКТА 2028! Катастрофа ВНУТРИ Индустрии! SaaS РАЗОРВАН В ХЛАМ! 1 день назад
    ОБВАЛ Экономики ИИ! КРИЗИС ИНТЕЛЛЕКТА 2028! Катастрофа ВНУТРИ Индустрии! SaaS РАЗОРВАН В ХЛАМ!
    Опубликовано: 1 день назад
  • Дороничев: ИИ — пузырь, который скоро ЛОПНЕТ. Какие перемены ждут мир? 2 дня назад
    Дороничев: ИИ — пузырь, который скоро ЛОПНЕТ. Какие перемены ждут мир?
    Опубликовано: 2 дня назад
  • Interfaces in C++ (Pure Virtual Functions) 8 лет назад
    Interfaces in C++ (Pure Virtual Functions)
    Опубликовано: 8 лет назад
  • Дорогие функциональные братья 2 года назад
    Дорогие функциональные братья
    Опубликовано: 2 года назад

Контактный email для правообладателей: u2beadvert@gmail.com © 2017 - 2026

Отказ от ответственности - Disclaimer Правообладателям - DMCA Условия использования сайта - TOS



Карта сайта 1 Карта сайта 2 Карта сайта 3 Карта сайта 4 Карта сайта 5