Welcome dear reader!
I open this blog to share my experience of programming on CoffeeScript with NodeJS and doing other things.
Well, because I have very specific project that I work on now. I want to implement the transactional key-value store based on event-driven architecture. EDA is nice when you, well, want not to stop work while waiting for server response. However, when you want to write lots of data in one file you are in a trouble, because data in NodeJS is written asynchronously and the order of writing is not quarantined. Generally speaking, when you start working with EDA it firstly breaks your brain and then, if you are still alive, causes lots of problems and additional lines in your code.
The one more funny thing in my project is that I have complete database written on Java and need to repeat interfaces as much as possible. This causes even more problems. How to make function overload in the language where OOP is based on prototypes? How to make several constructors for one class? Why changing data in one class instance can affect other instances?
I will try to answer these questions and many others. I will not explain the very basics (you can easily find them yourself) except, maybe, the things that were kind of problem for me. And I hope to see your comments!