Public code experiments 👋
Hi there! I decided to make my daily code experiments public. It can be either testing a new famework, a new JavaScript feature or just challenging myself with algorithms.
⚠️ Disclaimer: ⚠️
Code may not always be clean or readable. Some things may not even work!
But that’s what experimenting is all about right ? :)
What I want to do:
Create a simple web app (server-side rendered), or just an API, using multiple languages.
Languages I would like to be better at:
Languages I would like to discover:
Goals:
Learn new things. Explore new/old programming principles. Open my mind to something else than JavaScript 🙌
Question I want to solve:
Can Jest snapshot testing be applied to pure functions ? Can it speed up our tests ?
Goals:
Play around with Jest and pure functions
Question I want to solve:
I have two implementations of the same algorithm. How can I know which one is faster ? Also, how can I easily benchmark 1000 iterations of these two algorithms ?
Goals:
Improve node.js + benchmarking + tests skills
Question I want to solve:
How do Web Workers fit in a real-world app ? What problems can they solve ?
Goals:
Use and understand the Web Worker API. Also, benchmark performance with and without WWs.