5 ms·
I had similar problem, but then I started to look at it from the other way around, and now I am just carrying around a few concepts in my head that I really lik
by a-saleh 11y ago
I had similar problem, but then I started to look at it from the other way around, and now I am just carrying around a few concepts in my head that I really like, and every time I need to learn new language, I am first looking at how these concepts map:
* data definitions for lists and key/value pairs, and how to nest them, change them, access them
* function and anonymous function definitions
* map, filter, reduce/fold over lists and key/value pairs
* api to communicate with world that uses tasks/promises
This way, my code looks familiar and similar regardless if I write it in C#, Javascript, Java, or Clojure.
Main drawback is, that this limits my comfort zone to languages that have at least lambdas and closures.