![]() ![]() Get the book through my Shopify online store, or use one of the buy buttons below. ![]() And write expressive, elegant code you can be proud of. You can learn to defend your code intelligently and diplomatically. ![]() Write functional JavaScript with confidence. Use functional techniques to apply performance optimisations with guaranteed safety. Learn how to adjust your code to suit the team’s level of familiarity. Level up your code and bring your team on the journey with A Skeptic’s Guide to Functional Programming with JavaScript. ![]() Especially when the team seems dead-set against it. Trying to introduce functional concepts can feel like navigating a minefield. There has to be a way to at least talk about this without starting some kind of blood feud. You can’t go back to the old way of doing things. You know functional programming produces better code-even in JavaScript. But, again, which ones? And how can you have an intelligent, reasonable conversation about it? But which ones? Some of their comments are based on nothing but myth and personal bias. How do you even begin to respond to all this? Some of the team’s objections are reasonable. Frozen like a deer in the twin beams of an oncoming semitrailer. Trying to do immutable data in JS is just painful.I’ve never seen a single situation where currying improves the code.Recursion in JavaScript performs like absolute garbage.This code is so elegant it’s impossible to read.It starts slowly, but soon they’re flying in like a hailstorm of bullets: So you throw up a PR and wait for the comments to come in eager to hear what they think.Īnd those comments come in all right. You can’t wait to share it with the team. And it’s glorious! Your JavaScript is cleaner more concise elegant. So you learned some functional programming. What if the team hates my functional code? ![]()
0 Comments
Leave a Reply. |