Cosas de hackers (pero nada de hackers)

Cosas de hackers (pero nada de hackers)

OCP: Open-Closed Principle, optimizing JavaScript code

Jun 7, 20212 min read

Hi all!In my previous post, I described how to put in place a multi language feature in a static website. But, in the toggle lang function, I was not convinced at all, so I decided to optimize the code. The code part that I was not convinced is to ...

OCP: Open-Closed Principle, optimizing JavaScript code
Multi language feature in a Website
Example with branches in Git & GitHub