Example of Functional Programming in Three Web Languages

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby feather

Functional programming is all the rage in the Javascript community this year, and I’ve been doing a lot of it lately because I’ve been using Redux on my latest project at work. It occurred to me that web developers have had some of the building blocks of functional programming for over two decades. Here are examples of a functional approach, mapping an array to a new array, in just three languages popular in web development, ones that I’m familiar with.

Continue reading Example of Functional Programming in Three Web Languages

The 12 Days of Git, Day 12: Fixing Mistakes with Git

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby feather

On the twelfth day of Christmas, my true love gave to me… twelve ways to fix mistakes.

In the previous lesson, we learned about stashing changes with Git until you need them so that we could save work in progress while we handled something more pressing. Today, we’re going to learn some ways to fix mistakes with Git. Continue reading The 12 Days of Git, Day 12: Fixing Mistakes with Git

The 12 Days of Git, Day 11: Stashing Changes with Git until You Need Them

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby feather

On the eleventh day of Christmas, my true love gave to me… eleven rapid changes.

In the previous lesson, we learned about merging different versions with Git in order to resolve conflicting sets of changes. Today, we’re going to learn about stashing any changes you are working on, in case something more pressing comes up. You can deal with the more pressing issue, and then go back to the changes you were working on before. Continue reading The 12 Days of Git, Day 11: Stashing Changes with Git until You Need Them

The 12 Days of Git, Day 10: Merging Different Versions with Git

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby feather

On the tenth day of Christmas, my true love gave to me… ten easy merges.

In the previous lesson, we learned about using remote branches with Git to share branches on remote repos, which makes collaborating with other very easy. Today, we’re going to to learn about merging different versions with Git, so that we can fix conflicts when more than one person changes the same part of a remote branch. Continue reading The 12 Days of Git, Day 10: Merging Different Versions with Git

The 12 Days of Git, Day 9: Using Remote Branches with Git

FacebooktwitterlinkedinmailFacebooktwitterlinkedinmailby feather

On the ninth day of Christmas my true love gave to me… nine versions a-keeping.

In the previous lesson, we learned about using Git to experiment safely by creating new branches and adding commits to a specific branch. Today, we’re going to use the new branch we created in that last lesson to learn about using remote branches with Git. Continue reading The 12 Days of Git, Day 9: Using Remote Branches with Git