Home
Search results “Functional programming principles”
Functional programming design patterns by Scott Wlaschin
 
01:05:44
In object-oriented development, we are all familiar with design patterns such as the Strategy pattern and Decorator pattern, and design principles such as SOLID. The functional programming community has design patterns and principles as well. This talk will provide an overview of some of these, and present some demonstrations of FP design in practice.
Views: 130526 Ivan Plyusnin
Functional Programming Fundamentals
 
26:46
In the past few years, React and Redux have generated a surge of Functional and Declarative Programming which we often take for granted. However many of us never got a chance to learn the fundamentals. In this talk, we’ll discuss the fundamentals of Functional Programming and how they apply to modern JavaScript. We’ll cover immutability, separation of concerns, and composability. We’ll avoid unnecessary jargon like monads and functors and stick to concepts that will make our code better. Matthew is a software engineer at Dropbox. He has worked on everything across the stack from deploying containers and databases to shipping Javascript. In recent history, Matthew has been focused on frontend tooling and organizes an internal community at Dropbox called the JS Guild. When he's not writing code, Matthew enjoys Harry Potter, Green Day, and Broadway shows. EVENT: ReactNext 2018 SPEAKER: Matthew Gerstman PERMISSIONS: ReactNext Organizer provided Coding Tech with the permission to republish this video.
Views: 19890 Coding Tech
What Is Functional Programming?
 
09:32
Functional programming is a very expansive subject that is driven by one key principle. We explore what that principle is in this video, along with what the biggest consequence of that principle is.
Views: 53156 ABitOf OCaml
Plain Functional Programming by Martin Odersky
 
46:58
Subscribe to Devoxx on YouTube @ https://bit.ly/devoxx-youtube Like Devoxx on Facebook @ https://www.facebook.com/devoxxcom Follow Devoxx on Twitter @ https://twitter.com/devoxx In a short time, functional programming went from an obscure academic endeavor to the technology "du jour" of the software industry. On the one side, this is great, because functional programming holds real promise to simplify the construction of highly reliable software. On the other hand, it is also frightening because the current hype might lead to over-selling and sometimes too uncritical adoption of concepts that have not yet been sufficiently validated in practice. In particular I see with worry the trend to over-abstract, which often leads to cargo-cult technology. In this talk I give my opinion of what the core of functional programming is that we can and should use today, why that core matters, and where we currently face challenges. I argue for combining functional programming with the principle of least power, for eschewing fancy abstractions, and for being modest in what we can and should express in our programs. I also show how some of these approaches are reflected in our work on the next version of Scala. Martin Odersky is the inventor of the Scala language, a professor at EPFL in Lausanne, Switzerland, and a founder of Lightbend. His work concentrates on the fusion of functional and object-oriented programming. He believes the two paradigms are two sides of the same coin, to be unified as much as possible. To prove this, he has worked on a number of language designs, from Pizza to GJ to Functional Nets. He has also influenced the development of Java as a co-designer of Java generics and as the original author of the current javac reference compiler.
Views: 55431 Devoxx
Functional Programming Principles
 
01:10:05
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 1081 TechGig
Anjana Vakil — Functional Programming in JS: What? Why? How?
 
01:02:32
Ближайшая конференция: HolyJS 2019 Piter — 24-25 мая 2019, Санкт-Петербург Подробности и билеты: http://bit.ly/2P4jIYM Конференция HolyJS 2019 Piter состоится 24-25 мая в Санкт-Петербурге. Купить билеты можно на сайте: http://bit.ly/2P4jIYM Functional programming has become a hot topic in the JS community, leaving many JavaScripters wondering: What's all the hype about? What do functional programs look like, and why might I prefer them to imperative/object-oriented code? How do I get started writing code in a functional style? If you've been asking yourself these questions, you'll enjoy this gentle, practical intro to functional programming. We'll explore the advantages and basic principles of the paradigm, in which holy, pure functions deliver us from the evils of mutable state. We'll see how rejecting side-effects and mutability in our code can avoid a lot of common JS headaches. And we'll learn how to use core JS features as well as some popular FP libraries like Mori and Ramda to start writing our own functional programs.
Views: 47265 HolyJS
Narek Asadorian - Functional Programming: The Enterprise Edition - λC 2018
 
34:28
Despite its increasing popularity, functional programming is still stuck in the back seat when it comes to the enterprise. This talk aims to address common pitfalls in enterprise software engineering which can be avoided through the application of functional programming principles, as well as to introduce the clarity and maintainability inherent to functional code. In this talk, we will cover common computational effects including failure handling, IO and partiality using various functors and monads (with neither mentioned up front). We will also explore the "softer" side of things: teaching and advocating for FP at work, and strategies for coaching teammates off of imperative and side-effect ridden coding practices. The material in the talk will focus on Scala specifically, but the principles should apply to any programming language supporting types. While enterprise software is implied in the title, the learnings and examples in the talk can be implemented in any commercial software development environment. The content presented is intended to have multiple levels of approachability: beginners will be exposed to FP concepts from a relatable and novel angle, while advanced programmers will learn new ways to approach and teach these concepts. Engineering managers will also gain an understanding of how functional code scales and remains maintainable.
Views: 86 LambdaConf
Functional Programming in Scala
 
37:45
After 10 years of Object Orientated Java, 2 years of Functional Programming in Scala was enough to convince me that I could never switch back. But why? The answer is simple: Functional Scala lets you think less. It reduces the number of moving parts you need to hold in your head, lets you stay focussed and saves your mental stack from overflowing. In this talk I'll show you how to stop treating Scala as a better Java and start exploring the world of Functional Programming. I'll use code examples to demonstrate a four step path that'll let you ease yourself into the world of Functional Programming while continuing to deliver production quality code. With each step we'll learn a new technique, and understand how it leaves you with less to think about: Hopefully this talk will convince you that Functional Scala leads to code that's easier to hold in your head, and leave you excited about learning a new paradigm. Original talk title: Thinking Less with Scala Talk by Daniel Sebban at Scalapeño. Check out his Medium page: https://medium.com/@daniel.sebban -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://medium.freecodecamp.org And subscribe for new videos on technology every day: https://youtube.com/subscription_center?add_user=freecodecamp
Views: 6478 freeCodeCamp.org
Intro to Functional Programming | DelftX on edX | Course About Video
 
02:02
Introduction to Functional Programming The aim of this course is to teach the foundations of functional programming and how to apply them in the real world. Register for Introduction to Functional Programming from DelftX at https://www.edx.org/course/delftx/delftx-fp101x-introduction-functional-2126 About this Course Broadly speaking, functional programming is a style of programming in which the primary method of computation is the application of functions to arguments. Among other features, functional languages offer a compact notation for writing programs, powerful abstraction methods for structuring programs, and a simple mathematical basis that supports reasoning about programs. Functional languages represent the leading edge of programming language design, and the primary setting in which new programming concepts are introduced and studied. All contemporary programming languages such as Hack/PHP, C#, Visual Basic, F#, C++, JavaScript, Python, Ruby, Java, Scala, Clojure, Groovy, Racket, … support higher-order programming via the concept of closures or lambda expressions. This course will use Haskell as the medium for understanding the basic principles of functional programming. While the specific language isn't all that important, Haskell is a pure functional language so it is entirely appropriate for learning the essential ingredients of programming using mathematical functions. It is also a relatively small language, and hence it should be easy for you to get up to speed with Haskell. Once you understand the Why, What and How that underlies pure functional programming and learned to “think like a fundamentalist”, we will apply the concepts of functional programming to “code like a hacker” in mainstream programming languages, using Facebook’s novel Hack language as our main example. This course assumes no prior knowledge of functional programming, but assumes you have at least one year of programming experience in a regular programming language such as Java, .NET, Javascript or PHP. LICENSE The course materials of this course are Copyright Delft University of Technology and are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Netherlands License.
Views: 20024 edX
Functional Programming Fundamentals - Matthew Gerstman @ ReactNYC
 
24:21
In the past few years, React and Redux have generated a surge of Functional and Declarative Programming which we often take for granted. However many of us never got a chance to learn the fundamentals. In this talk, we’ll discuss the fundamentals of Functional Programming and how they apply to modern JavaScript. We’ll cover immutability, separation of concerns, and composability. We’ll avoid unnecessary jargon like monads and functors and stick to concepts that will make our code better. CONTENTS 0:05 - XKCD Intro 0:29 - Who am I? 0:53 - What are we gonna talk about today? 1:31 - What are we not gonna talk about today? 1:49 - Why FP gets a bad rep. 2:23 - Optimizing for Happiness 2:45 - What's the point? 3:00 - When is FP most useful? 4:00 - What is Functional Programming? 4:13 - What is a pure function? 4:30 - Examples of Side Effects 4:52 - Mutation 5:14 - Shared State 5:38 - Asynchronous Code 6:00 - Example of impure functions 7:21 - Declarative and Imperative 8:40 - Examples of Declarative and Imperative Code 10:38 - Taylor Swift's Album Red 10:58 - Functional Concepts 11:10 - Separation + Composition 11:37 - Example(Separation + Composition) 13:32 - Immutability + Memoization 14:13 - Example (Immutability + Memoization) 16:08 - Ron Weasley 16:39 - Higher Order Functions 17:02 - Callbacks 17:18 - Closure 17:47 - Wrapper Functions 18:34 - Currying 18:58 - Example (Currying) 19:33 - Partial Application 19:56 - Example (Partial Application) 21:26 - Optimizing for Happiness 21:45 - Other Resources 22:39 - Questions RESOURCES Slides https://paper.dropbox.com/doc/Functional-Programming-Fundamentals-RiMX4MLgA1GzJLAcvQRub Lodash.js https://lodash.com/ Undescore.js http://underscorejs.org/
Views: 1145 React NYC
Functional Programming Principles
 
38:15
ACM FIU Workshop on Functional Programming! Slides at https://drive.google.com/file/d/0BzW6zUEv_wl9THVBcGNkT3hkMm8/view?usp=sharing.
Views: 130 ACM FIU
Narek Asadorian - Functional Programming: The Enterprise Edition
 
48:29
Despite its increasing popularity, functional programming is still stuck in the back seat when it comes to the enterprise. This talk aims to address common pitfalls in enterprise software engineering which can be avoided through the application of functional programming principles, as well as to introduce the clarity and maintainability inherent to functional code. In this talk, we will cover computational effects including failure handling, IO and partiality using various functors and monads. We will also explore the "softer" side of teaching and advocating for FP at work, including strategies for coaching teammates off of imperative and side-effect ridden coding practices.
Views: 373 ScalaIO FR
GOTO 2012 • Functional Programming from First Principles • Erik Meijer
 
51:28
This presentation was recorded at Chicago's GOTO Night 2012. #gotocon #gotochgo http://gotocon.com Erik Meijer - University of Delft Download slides here: https://gotocon.com/dl/goto-chicago-2013/gotonightslides/FPfromFP.pdf https://twitter.com/gotocon https://www.facebook.com/GOTOConference http://gotocon.com #FunctionalProgramming #FunctionalPrinciples
Views: 34401 GOTO Conferences
Functional Programming is Terrible
 
34:32
Rúnar Bjarnason loves functional programming, but here he plays devil's advocate and addresses some of its shortcomings. (Don't worry, there's a happy ending). ** Scala training from NewCircle: https://newcircle.com/category/scala http://nescala.org/
Views: 223767 InfoQ
Functional Design Patterns - Scott Wlaschin
 
01:05:50
In object-oriented development, we are all familiar with design patterns such as the Strategy pattern and Decorator pattern, and design principles such as SOLID. The functional programming community has design patterns and principles as well. This talk provides an overview of some common FP patterns, from the basics of partial application and currying all the way to monads and monoids. NDC Conferences https://ndcsydney.com https://ndcconferences.com
Views: 21338 NDC Conferences
Functional Programming Principles in Elixir  - Elixir Louisville
 
01:24:11
Watch as we discuss core functional programming principles, focusing on Elixir's usage/implementation of them, and comparing these principles against an object-oriented programming language. We cover first-class functions, pure vs. impure functions, iteration, type systems (briefly), and the many uses of lists along the way. Near Louisville and want to join in on the fun? Join us on Meetup.com! We also hang out on the Louisville.io Slack team's #elixir channel and the Elixir Slack team's #louisville channel. Links: - Elixir Louisville Meetup Group: http://www.meetup.com/Elixir-Louisville/ - Louisville.io: http://louisville.io - Louisville.io Slack: http://slackin.louisville.io Note: I mention this in the video at some point, but I am by no mean an expert. I do not have the best explanations of these principles at all times, so if you see something that needs correcting or could be improved, speak out!
Views: 7062 Shane Logsdon
DataMass 2017 Maciej Godek - The Principles of Functional Programming
 
35:03
Functional programming is a technique for both increasing software’s scalability and decreasing the number of bugs. Recently it has been receiving more attention due to the fact that it is a reliable way of utilizing the power of multicore processors. As the cost of this increased attention is a large number of confusions and misconceptions, the talk will be devoted to explaining this paradigm from the first principles.
Views: 427 datamass io
Functional Concepts with JavaScript: Part I
 
55:21
Understanding some basic principles of functional style programming in JavaScript. Created for internal training.
Views: 14622 Jared Anderson
Basics of functional Programming by Siddharth Kulkarni
 
43:26
You must have heard people talk about Functional programming whilst you nod apprehensively, and how cool people do functional programming. You must have heard people talk about functional purity and imperative blasphemy. But what exactly does functional programming entail? Why is it making a comeback? This talk is aimed at providing an objective and practical view of what FP can and cannot do, and how it's nothing to be scared of, what languages support functional style and how it can help alleviate some common programming problems.
Views: 31359 GeekNight Thoughtworks
Functional Programming Patterns with Java8 by Victor Rentea
 
49:57
Subscribe to Devoxx on YouTube @ https://bit.ly/devoxx-youtube Like Devoxx on Facebook @ https://www.facebook.com/devoxxcom Follow Devoxx on Twitter @ https://twitter.com/devoxx After leading 2 projects making heavy use of Lambdas and Streams, counseling many others at IBM, and teaching hundreds of developers at University and as an Independent Trainer, Victor will prove several best practices, patterns and anti-patterns he distilled over the years. All via a series of live coding exercises, like you've probably never saw in your life! You will hear about: Bloated Lambdas, A Happy Predicate, Stream Wrecks, How to Kill The Biggest Bug, Monads, Passing-a-block, The Loan Pattern, and 5 Ways to Implement Type-Specific Logic. Of course, as a Clean Code Maniac, Victor will always strive for maintainable, readable, elegant code. So you'll see a lot of refactoring. PS: You know, some Joe will maintain your Java8 code at some point. So let's just hope Joe would be a nice safe guy... Victor Rentea From Independent Trainer Victor is one of the top Independent Technical Trainers of his country (victorrentea.ro) - he mentored, trained and coached almost 1000 developers of top companies. At IBM, even though they call him a Lead Architect, he loves to write code each day: he's maniac about Clean Code, so prepare for some hard-core refactoring. Victor is Associate Professor of Politehnica University of Bucharest and an active Java community member: organized the largest 3 JUG meetups in Romania. He's a regular conference speaker. His live-coding sessions are insane, lightning-fast but well crafted, full of enthusiasm, insights and take-away tips. Things that he learned the hard way during his 14 years of experience. You'll love his sessions!
Views: 15883 Devoxx
Applying Functional Programming Principles to Large Scale Data Processing by Kishore Nallan
 
35:39
At Indix, we deal with a stream of unstructured and constantly changing data. This data is processed through a series of systems before being fed as structured input to our analytics system. In this talk, I will walk through our experience of building a large scale data processing system using Hadoop that's focused on immutability, composition and other functional programming principles. Conference: http://functionalconf.com Details: http://confengine.com/functional-conf-2014/proposal/354/applying-functional-programming-principles-to-large-scale-data-processing
Views: 286 ConfEngine
Object-oriented Programming in 7 minutes | Mosh
 
07:34
Get the COMPLETE COURSE: http://bit.ly/2keDCna 4 pillars of object-oriented programming: encapsulation, abstraction, inheritance and polymorphism. Subscribe for more videos: https://www.youtube.com/channel/UCWv7vMbMWH4-V0ZXdmDpPBA?sub_confirmation=1 Want to learn more from me? Check out my blog and courses: http://programmingwithmosh.com https://www.facebook.com/programmingwithmosh/ https://twitter.com/moshhamedani
Views: 453602 Programming with Mosh
Scala Tutorial - Elements of Functional Programming - Part-1
 
25:48
This tutorial covers various elements of functional programming. It uses Scala programming languages to give examples and explain the functional programming concepts. This video includes following items in detail. 1. Pure functions. 2. Side effects 3. Referential Transparency 4. First Class Functions 5. Higher Order Functions 6. Anonymous Functions or Lambda This video also answers following questions. 1. Why pure functions or the benefits of pure functions? 2. What is the advantage of Higher-order functions? 3. Why anonymous functions or when to use them? By the end of the tutorial, you should have a clear concept of several functional programming jargons and their meaning. You will also be able to understand the overall benefit of functional programming. Links used in the tutorial. http://amturing.acm.org/award_winners/backus_0703524.cfm
Views: 29183 Learning Journal
Jessica Kerr "Functional Principles for Object Oriented Development"
 
51:14
How is an expert OO developer to improve on his craft? By learning from other paradigms! These six principles of the functional style can apply to OO. Some of these principles are part of good practice already; some express patterns both old and new; all give us different ways of thinking about problems. For developers without expertise in functional programming, examples in Java provide new techniques for writing clear, quality code.
Views: 23516 JDD Conference
GOTO 2014 • Functional Principles for Object-Oriented Development • Jessica Kerr
 
49:36
This presentation was recorded at GOTO Chicago 2014. #gotocon #gotochgo http://gotochgo.com Jessica Kerr - Scala Developer ABSTRACT How is an expert OO developer to improve on their craft? By learning from other paradigms! These six principles of the functional style also apply to OO. Some are part of good practice already; some express patterns both old and new; all give us different ways of thinking about problems. For developers without expertise in functional programming, examples in Java and C# provide new techniques for writing clear, quality code. Please see slides here: http://www.slideshare.net/jessitron/functional-principles-for-oo-developers https://twitter.com/gotochgo https://www.facebook.com/GOTOConference http://gotocon.com #FunctionalPrinciples #ObjectOrientedDevelopment
Views: 38389 GOTO Conferences
Daniel Kirsch - Functional Programming in Python
 
39:27
PyData Berlin 2016 There should be one-- and preferably only one --obvious way to do it. And that is functional - at least in my opinion. I'm working with Python for a living since two years after coming from a background in Ruby, Haskell, Clojure, and some more languages. Since then I have tried to marry ideomatic Python to the functional style I learned to love. It's time to share my experience. I will talk about - higher order functions - partial function application and currying - function composition - functional collection transformations (and why they are relevant for PySpark) - (fake) lazy evaluation and how it all relates to Python (and what's missing). Slides: https://github.com/kirel/functional-python
Views: 10980 PyData
4 Programming Paradigms In 40 Minutes
 
41:28
One of the most important lessons I've learned is that programming languages are tools and not all tools are good for all jobs. Some tasks are easier to solve functionally. Some are clearly suited for OO. Others get simpler when you use constraint solving or pattern matching. Let's go on a whirlwind tour of 4 different programming languages emphasizing different programming techniques: OO, functional, logical, and procedural. You'll leave this talk with a better understanding of which languages are best suited to which types of jobs and a list of resources for learning more. EVENT: RubyConf 2017 SPEAKER: Aja Hammerly PERMISSIONS: The original video was published with the Creative Commons Attribution license (reuse allowed). CREDITS: Original video source: https://www.youtube.com/watch?v=3TBq__oKUzk
Views: 152631 Coding Tech
Java 8 # 4  Functional Programming and Object oriented programming approach. How they are different
 
08:07
Functional programming and Object oriented programming are different approaches and any developer who is familiar with OOPs need to think in different perspective to have a better understanding on fundamentals. Object oriented programming languages are good at representing the real world. It is easy to model domains. Functional programming which is inspired from mathematics are good at IO. In this video i have explained how functional programming is different from Object oriented programming. The most important differences are explained and where we can apply functional programming has been explained. Connect with me on: twitter: @java9s facebook: https://www.facebook.com/java9s youtube: http://youtube.com/java9s Other Java9s tutorials: Complete Generics Tutorials playlist https://www.youtube.com/playlist?list=PLkiVxfkxAYd2TAn--1BH1ERvYbHxh11Qs Complete Java Beginners Tutorials: https://www.youtube.com/playlist?list=PLkiVxfkxAYd1Typb8x-2nbzgsxdMQesKg Multithreading in Java tutorial: https://www.youtube.com/playlist?list=PLkiVxfkxAYd1i9eX9X74eoTjKZXzvITMX Spring 3 MVC Framework tutorials: https://www.youtube.com/playlist?list=PLA3AD4211EBE70E86 Spring Framework Tutorials: https://www.youtube.com/playlist?list=PL2882729612B70122 Design Patterns in Java: https://www.youtube.com/playlist?list=PLkiVxfkxAYd1xWYj9aOWoTevqok0VoYe7
Views: 12117 java9s
Robert C  Martin -  Functional Programming; What? Why? When?
 
58:27
Functional Programming
Views: 234906 gnbitcom
JavaScript and Node.js: Functional Programming
 
42:12
Using functional programming principles, you can write expressive and single-purpose code that can be easy to comprehend, test, and maintain. Michael will walk you through principles and practices that allow you to write functional JavaScript code with Node.js, arrays, and ES6.
Views: 6271 Accusoft
Functional programming, chapter 2: The functional approach to collections in Scala
 
03:08:40
Functional programming in the mathematical spirit. Long and difficult, yet boring explanations given in excruciating detail. Start by reading the slides, go through the worked examples and exercises. Watch the video when you cannot fully understand something in the slides. Chapter 2. Tuples and pattern matching Using tuples with Map[] and Seq[] collections (zip, map, flatMap, etc.) Writing functions with type parameters Implementing mathematical induction with recursion Tail recursion and the accumulator trick Using fold, foldLeft, scan, iterate instead of writing recursion by hand Worked examples and exercises Slides: https://github.com/winitzki/talks/blob/master/ftt-fp/02-functional-collections.pdf Code examples: https://github.com/winitzki/scala-examples/tree/master/chapter02/src
Views: 569 Sergei Winitzki
Why Functional Programming Matters by John Hughes at Functional Conf 2016
 
56:10
25 years ago I published "Why Functional Programming Matters", a manifesto for FP--but the subject is much older than that! As software becomes more and more complex, it is more and more important to structure it well. Well-structured software is easy to write, easy to debug, and provides a collection of modules that can be re-used to reduce future programming costs. Conventional languages place conceptual limits on the way problems can be modularised. Functional languages push those limits back. In this paper we show that two features of functional languages in particular, higher-order functions and lazy evaluation, can contribute greatly to modularity. As examples, we manipulate lists and trees, program several numerical algorithms, and implement the alpha-beta heuristic (an algorithm from Artificial Intelligence used in game-playing programs). Since modularity is the key to successful programming, functional languages are vitally important to the real world. In this talk we'll take a deep dive into history to revisit our personal selection of highlights. More details: https://confengine.com/functional-conf-2016/proposal/2965/why-functional-programming-matters Conference details: http://functionalconf.com/
Views: 31747 ConfEngine
Copy of Functional Programming Principles
 
08:27
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 105 TechGig
Let’s Code Real World App Using Purely Functional Techniques (in Scala)
 
49:16
We will create a small, real-world data transformation program that demonstrates how functional techniques address issues such as control flow, type construction, data validation, etc. Through demonstrate-by-example, we'll explore the railway pattern, monadic chaining, disjunctions, applicatives, and currying. EVENT: OKC FP 2017 SPEAKER: Jordan Parmer PERMISSIONS: Techlahoma Events Organizer provided Coding Tech with the permission to republish this video. CREDITS: Techlahoma YouTube channel: https://www.youtube.com/channel/UCnLf0pfqIpSfKuPZ0e9iiNQ
Views: 26013 Coding Tech
Java 8 #2 Functional Programming Principle - Avoid Mutable states
 
05:15
http://java9s.com/core-java/java8/functional-programming/mutable-states-functional-programming Function are at the center of functional programming. Functions are similar to methods in Java. But they differ in certain properties. Functions avoid mutable states Functions are stateless Mutable States: Most of the methods in Object oriented programming modify the state of the objects. They might assign or update states of the objects. It is very normal and object oriented programming is based on this concept of state updates of objects. But functional programming states that functions should avoid mutable states. That means they should not assign or update any state of an object. Functions are independent in their executions and ensure that there are no side-effects during their execution. The primary reason behind this is that having mutable states lead to concurrency issues and it is hard to leverage the parallel processing capability of multiple cores.
Views: 8804 java9s
2.2 Higher Order Functions
 
10:19
Follow the MOOC at https://www.coursera.org/learn/progfun1
Karl Bielefeldt - Principles of Clean Functional Programming - λC 2017
 
46:37
Description: This session will introduce some basic principles to help developers write cleaner, more maintainable functional code, with examples illustrated in Scala but applicable to most functional languages. Slides: https://hub.docker.com/r/kbielefe/clean-fp/ To Run execute the following: docker run --rm --tip 80:8000 kbielefe/clean-fp Then open browser to http://localhost
Views: 501 LambdaConf
Programming Basics: Statements & Functions: Crash Course Computer Science #12
 
11:57
Today, Carrie Anne is going to start our overview of the fundamental building blocks of programming languages. We’ll start by creating small programs for our very own video game to show how statements and functions work. We aren’t going to code in a specific language, but we’ll show you how conditional statements like IF and ELSE statements, WHILE loops, and FOR loops control the flow of programs in nearly all languages, and then we’ll finish by packaging up these instructions into functions that can be called by our game to perform more and more complex actions. Produced in collaboration with PBS Digital Studios: http://youtube.com/pbsdigitalstudios Want to know more about Carrie Anne? https://about.me/carrieannephilbin The Latest from PBS Digital Studios: https://www.youtube.com/playlist?list=PL1mtdjDVOoOqJzeaJAV15Tq0tZ1vKj7ZV Want to find Crash Course elsewhere on the internet? Facebook - https://www.facebook.com/YouTubeCrash... Twitter - http://www.twitter.com/TheCrashCourse Tumblr - http://thecrashcourse.tumblr.com Support Crash Course on Patreon: http://patreon.com/crashcourse CC Kids: http://www.youtube.com/crashcoursekids
Views: 311240 CrashCourse
Joel Grus: Learning Data Science Using Functional Python
 
44:32
PyData Seattle 2015 Everyone has an opinion on the best way to learn data science. Some people start with statistics or machine learning theory, some use R, and some use libraries like scikit-learn. I'll use several examples to contrast these with a simpler approach using functional programming techniques in Python. In addition, I'll show how even advanced data scientists can benefit from thinking more functionally. Materials available here: Github: https://github.com/joelgrus/stupid-itertools-tricks-pydata Slides: https://docs.google.com/presentation/d/1eI60SL3UxtWfr9ktrv48-pcIkk4S7JiDmeXGCyyGhCs/edit#slide=id.p
Views: 28906 PyData
Functional Programming in Python: Parallel Processing with "multiprocessing"
 
16:45
https://dbader.org/python-tricks ► Write better & cleaner code using Python's advanced features In this tutorial you'll learn how to do parallel programming in Python using functional programming principles and the "multiprocessing" module. We'll take the example data set based on an immutable data structure that we previously transformed using the built-in "map" function. But this time we'll process the data it in parallel, across multiple CPU cores using the Python "multiprocessing" module available in the standard library. You'll see step by step how to parallelize an existing piece of Python code so that it can execute much faster and leverage all of your available CPU cores. You'll learn how to use the "multiprocessing.Pool" class and it's parallel "map" implementation that makes parallelizing most Python code that's written in a functional style a breeze. As part of this video we'll build a little testbed program first that we can use to measure the execution time with the "time.time()" function, so that we can compare the single-threaded and multithreaded implementations of the same algorithm. Stay tuned for the next video in the series where you'll learn how to make your Python programs multithreaded using the "concurrent.futures" module as an alternative way to implement concurrency. FREE COURSE – "5 Thoughts on Mastering Python" https://dbader.org/python-mastery SUBSCRIBE TO THIS CHANNEL: https://dbader.org/youtube * * * ► Python Developer MUGS, T-SHIRTS & MORE: https://nerdlettering.com ► PythonistaCafe – A peer-to-peer learning community for Python developers: https://www.pythonistacafe.com FREE Python Coding Tutorials & News: » Python Tutorials: https://dbader.org » Python News on Twitter: https://twitter.com/@dbader_org » Weekly Tips for Pythonistas: https://dbader.org/newsletter » Subscribe to this channel: https://dbader.org/youtube
Views: 21424 Real Python
Copy of Functional Programming Principles
 
02:49
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 156 TechGig
Copy of Functional Programming Principles
 
02:58
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 118 TechGig
Copy of Functional Programming Principles
 
06:02
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 133 TechGig
Copy of Functional Programming Principles
 
04:58
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 112 TechGig
Copy of Functional Programming Principles
 
04:58
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 133 TechGig
Copy of Functional Programming Principles
 
16:38
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 118 TechGig
Copy of Functional Programming Principles
 
04:18
http://www.techgig.com/expert-speak/Functional-Programming-Principles-452 This will be an introduction to 'functional programming' paradigm, its relevance in today's world and why is it gaining momentum. How implementation of these concepts are influencing the next wave of languages like Scala.
Views: 109 TechGig
Object Orient Programming (OOP) and functional programming
 
15:08
These are video recordings of my online sessions. These videos will help you to learn object oriented programming (OOP) principles in depth with real time examples. These video would explain functional programming issues and how the object oriented programming addressed those functional programming issues (re-usability, extensibility, simplicity and maintainability). Object oriented principles are abstraction, encapsulation, polymorphism and inheritance. All the examples are developed using c#.Net
Views: 451 purna k
Programming Languages: Lambda Calculus - 1
 
26:17
First lecture on Lambda Calculus
Views: 64826 RU Computer Science

Free mega menu download
Boat sales columbus ohio
Regis salon tampa
Caramel llekdonor download free
Stock trailers for sale in arkansas