Skip to content

dcamilleri/experiments

Repository files navigation

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 ? :)

Experiments

Ideas 💡

Learn new languages

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:

  • ➡️ Java
  • ➡️ Python
  • ➡️ Go
  • ➡️ PHP

Languages I would like to discover:

  • ➡️ Elm
  • ➡️ Elixir/Erlang
  • ➡️ OCaml

Goals: Learn new things. Explore new/old programming principles. Open my mind to something else than JavaScript 🙌

Implement snapshot testing for pure functions

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

Create a small tool to benchmark multiple functions together and analyze their performance

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

Experiment something with Proxies and Generators

Implement something with Web Workers

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.

About

Public code experiments 👋

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published