---
title: "Discussion on \"Modernizing JavaScript Code: The Comparator Function\" | Hashnode"
description: "Discussion on \"Modernizing JavaScript Code: The Comparator Function\". After three posts on the subject, I decided to officially make this a new series called Modernizing JavaScript Code.. This one will be short and sweet but still helpful as we continue down the path of learning about functional programming.\nComparator..."
url: "https://hashnode.com/posts/modernizing-javascript-code-the-comparator-function/61b3830a3e16b66b1b1e554a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Modernizing JavaScript Code: The Comparator Function](https://non-traditional.dev/modernizing-javascript-code-the-comparator-function?utm_source=hashnode&utm_medium=feed)

After three posts on the subject, I decided to officially make this a new series called Modernizing JavaScript Code.. This one will be short and sweet but still helpful as we continue down the path of learning about functional programming. Comparator...

Dec 10, 2021 · 4 min read · non-traditional.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Travis Waith-Mair](https://hashnode.com/@nontraditionaldev)

@nontraditionaldev · Houston, Texas

  
[View profile](https://hashnode.com/@nontraditionaldev)

Spread the joy

Travis Waith-Mair is a software engineer with a focus on front-end development. He is the author of the course "Composing Layouts in React" on Newline.co, where he teaches developers how to create flexible and modular layout systems using the React JavaScript library. In addition to his work as a course author, Travis is also the creator of the Bedrock Layout Primitives Library, a set of open-source tools for building robust and highly customizable layout systems. Travis's passion for front-end development is driven by his belief that a well-designed layout is the foundation of any great user experience.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
