Haught Codeworks
Blog

Exploring topics dear our hearts including prototyping, project rescues, growing teams,
working remote, current trends in software, and more!

POST DIRECTORY
 

This is Part 2 of a three-part guide on refactoring JavaScript from imperative and/or object-oriented patterns to declarative functional ones. For a background on the concepts used in this tutorial, refer to Part 1. Refer to Part 3 for automated function composition.

As a reminder, the point of this series is to demonstrate how to solve a common...

 

This is Part 1 of a three-part guide on refactoring JavaScript from imperative and/or object-oriented patterns to declarative functional ones. This first part is a conceptual overview. In Part 2 we apply the concepts of currying, partial application and pointfree style and Part 3 discusses automated function composition.

As developers, it is in...

 

DRY is excellent coding advice: “Don’t Repeat Yourself.” Repetition in code means if something needs to change, all that repetition may need to change with it. This advice often comes with warnings, though, that you don’t want your code to become too DRY.

Somewhere along the way, we understood that a one-liner in our code is a liability if it’s...

 

Earlier this year, I was discussing features for a project with the team. I casually mentioned YAGNI in response to one aspect of a feature that seemed unnecessary. It had been a while since I’d brought up this term and a couple newer developers on the team were puzzled. I paused and realized this wasn’t something they were familiar with. So...

 

Self-referential Tables In SQL Are Tricky

One of the applications I work on exposes flattened reporting data as a SQL view. The systems that consume this data only support fetching it via direct database access, so I had to implement it as a read only view. The view itself is fairly complex, combining relational and summary data from 15 different...

Page 5 of 13

Newer posts

Older posts