Functional One-Liners in Julia. Practical everyday tricks to improve your functional programming skills in Julia. Julia makes is really elegant to work with functions such as map, filter and reduce.
Incorporate these underrated functions in your daily workflow to make your Python code cleaner and more functional
Learn about functional programming, regardless of your language background
Make your code more functional using map(), filter() and reduce()
The other day, I was solving a leetcode question. I was using Python, but somehow, I can not pass the OA, although it ran pretty fine in “run code against your own input”. Long story short: I decided to use Go to write the solution. While trying to write a helper function (a nested recursive function), I found some interesting things about functions in Go, which I think are worth sharing. Function type, value, literal, closure and scope in Go
I’ve used this Table.FindText function as a fraud detection exercise, It came in very handy because my tables were huge and I was just looking for one single individual.
The negative of this is that we’ll end up with more functions, but the positive is that these smaller functions are easier to read and test. Another benefit is that the smaller functions are easier to reuse in other contexts.
In web development — and programming in general — we have a severe problem with echo-chambers, blind parroting of lies, and taking otherwise good ideas and blowing them completely out of proportion to the point of doing more harm than good.
How pipelines can improve readability of your code and where we stand on native pipeline support today
Today I’m going to talk about my two favorite Monads — Identity and Const. These are basic Unit Monads, holding just a value. They’re probably the simplest Monads to understand, but they have powerful implications and uses.
Monads are all-the-rage these days in the JS world. I’d be surprised if any serious JS developer hadn’t heard of Monads. But just in case you haven’t, I like to describe a monad as a fancy box
Approaching Pure Functional Programming in Android Apps. Is it possible to write pure functional android apps?
Collectors is a final class that extends Object class. It provides reduction operations, such as accumulating elements into collections, summarizing elements according to various criteria, etc. Java Collectors class provides various methods to deal with elements.
I’ve written a good amount about the Option Data Structure in my articles relating to Monads. For this article we will forego all of the Monad talk and just understand Option for what it is.
This article is part of a series about functional programming concepts demonstrated on well-known kata in TypeScript. See FizzBuzz Kata: An Exploration With Functors!