12k
Federico Kereki AUTHOR

Federico Kereki

Federico Kereki is a Uruguayan systems engineer, with a master's degree in education, and over 30 years' experience as a consultant, system developer, university professor, and writer. He is currently a subject matter expert at Globant, and he has taught CS courses at Universidad de la República, Universidad ORT Uruguay, and Universidad de la Empresa. He has written for the Linux Journal and the LinuxPro Magazine in the USA, Linux+ and Mundo Linux in Europe, and websites such as Linux [dot] com and IBM DeveloperWorks. He has also written booklets on computer security, and two books—Essential GWT, and Mastering JavaScript Functional Programming.

45 articles by Federico Kereki

Better Error Handling with Monads (Part 2)

See a whole family of monads you can use for simpler error handling

Sep 1, 2024 · 7 min read

Better Error Handling with Monads (Part 1)

Deal more easily with errors by using monads

Aug 31, 2024 · 5 min read

Workers and Promises

How to use worker threads with promises

Jul 29, 2024 · 4 min read

Of maps and pipes, chains and nests, and more

An introduction to pipelining, composition, chaining, and more

May 30, 2024 · 4 min read

Can AI do that?

Is there a limit to AI?

Apr 29, 2024 · 4 min read

D.I.Y. Booleans?

How to make your own boolean values and operators

Feb 29, 2024 · 6 min read

Optimizing JavaScript... Which Way?

A study in optimization

Jan 29, 2024 · 7 min read

Maximize JavaScript's Performance WITHOUT Transducers

Other ways of improving operations on arrays

Dec 18, 2023 · 4 min read

Complex Typing in TypeScript, Part 2

Explore how to add typing to currying functions

Nov 21, 2023 · 4 min read

Maximize JavaScript's performance with transducers

Speed up array methods by using transducers

Oct 12, 2023 · 4 min read

Random Unit Testing

How can you go about testing functions that produce random results?

Sep 22, 2023 · 10 min read

Algorithms, Computer Science, and Cards

Examine several CS algorithms using a deck of playing cards

Aug 22, 2023 · 6 min read

Poker and TypeScript

Implement a hand ranking function with TypeScript

Jul 7, 2023 · 5 min read

Complex Typing in TypeScript

Add data types to partial application

Jun 21, 2023 · 4 min read

Simpler code through Partial Application

Add partial application to your coding tools to simplify your work

May 28, 2023 · 3 min read

Powers, through the Power of Recursion!

Use recursion to implement algorithms for math calculations

Apr 26, 2023 · 6 min read

Decorators - new style higher order functions

A look at decorators, an upcoming JavaScript feature

Apr 10, 2023 · 5 min read

Three ways of Polling

Three different functions to do API polling

Mar 22, 2023 · 6 min read

The hidden state of Promises

How to get the state of a Promise? Not an easy question to answer!

Feb 10, 2023 · 3 min read

Waiting for some promises?

Adding a missing method for working with promises

Jan 25, 2023 · 4 min read

Higher-order functions with TypeScript

Solve complex data typing problems that appear with some functional programming techniques

Nov 19, 2022 · 5 min read

Solving puzzles with recursion and JavaScript

How to apply recursive techniques to find solutions to several kinds of puzzles

Oct 11, 2022 · 5 min read

A Treasury of Tips, Tricks and Techniques for JavaScript

A varied list of code examples you can use for your own projects

Aug 30, 2022 · 3 min read

Array and String Sorting recipes for JavaScript

Learn different ways to sort your arrays and your strings with this detailed, hands-on tutorial

Aug 8, 2022 · 6 min read

Debouncing and throttling for performance

Two functional programming techniques to achieve better performance

Jul 11, 2022 · 7 min read

Working with functions... but partially!

A follow-up to the article on currying, showing another potent way of working with functions

Jun 27, 2022 · 5 min read

Many flavors of currying

An explanation of currying: an important concept that provides benefits to JS developers

Jun 18, 2022 · 6 min read

A pick of recent React articles

A selection of our best and most recent React articles

May 20, 2022 · 2 min read

Structuring a React project functionally

Structure a React project to take advantage of Functional Programming patterns

May 18, 2022 · 7 min read

React 18 week is here

The upcoming week has plenty of new React 18 material for everybody!

May 15, 2022 · 1 min read

Coming up... React 18!

A week full of React 18 articles is on its way!

May 12, 2022 · 1 min read

From methods to functions, and back

Learn several techniques to change methods into functions and vice versa

Apr 14, 2022 · 4 min read

Shuffling an Array, Not as Trivial as It Sounds

There are many ways to shuffle an array, but not all of them are good

Mar 9, 2022 · 7 min read

Generating better, functional Ranges for loops

Improve your functional game through this in-depth coverage of the loops in JavaScript

Feb 6, 2022 · 4 min read

Dependency Injection and Higher Order Routing in Node.js

Learn about Dependency Injection from a functional programming perspective with this guide

Jan 18, 2022 · 4 min read

The mighty reduce, part 2

Second part to understanding how to get the most out of this powerful method

Nov 17, 2021 · 4 min read

The mighty reduce

Tap into the power of the reduce method following this tutorial

Oct 14, 2021 · 4 min read

Immutable objects for safer state

Learn how immutability can be applied to create a safer state in your applications

Oct 14, 2021 · 4 min read

Higher Order Functions -- Functions to rule functions

Using functions to alter the way other functions work, take a closer look at the power of Higher Order Functions in JavaScript

Sep 13, 2021 · 6 min read

Waiting with Promises

Learn how to use promises to handle waiting for certain conditions to happen

Aug 22, 2021 · 5 min read

Injecting for Purity

Pure functions are the cornerstone of Functional Programming, but we must also learn how to deal with impurity in our code

Aug 10, 2021 · 6 min read

Pointfree Style Programming

Pointfree style programming is a way of calling functions without having to worry about parameters. Learn all about it here.

Jul 11, 2021 · 4 min read

Chaining Calls for Fluent Interfaces

Learn how to create APIs that other developers love to use through a technique called Fluent Interface

Jun 25, 2021 · 4 min read

Memoizing Promises

Memoizing Promises stops repeated API calls by caching results on the front end, letting you apply the technique selectively to GET requests.

Jun 8, 2021 · 6 min read

Memoizing Functions for Performance

Learn what memoization is and how you can leverage it on your own code with this detailed article.

May 16, 2021 · 7 min read

We use cookies to improve your experience. By using our site, you accept cookies.