Archive for the ‘immutability’ Category

Understanding ASTs by Building Your Own Babel Plugin

This article was peer reviewed by Tim Severien. Thanks to all of SitePoint's peer reviewers for making SitePoint content the best it can be! Every day, thousands of JavaScript developers use versions of the language that browser vendors haven't even im...

Functional Reactive Programming with Elm: An Introduction

Posted on: No Comments
Elm is a functional programming language that has been attracting quite a bit of interest lately. This article explores what it is and why should you care. Elm's current main focus is making front-end development simpler and more robust. Elm compiles t...

Bluff Your Way through React at the Dev Christmas Party

Posted on: No Comments
If you're thinking of using React but are overwhelmed by the number of resources, have given up resisting the noise, or just want to keep abreast of the state of things, read on. If you already use React, hate React, still want to resist React…read o...

Flyweight Design Pattern and Immutability: A Perfect Match

Posted on: No Comments
The flyweight pattern is a relatively unknown design pattern in PHP. The fundamental principle behind the flyweight pattern is that memory can be saved by remembering objects after they have been created. Then, if the same objects need to be used again...