3 karma · joined Mar 19, 2022 (4y ago) · 5 submissions
comment 3y ago · link · parent
Remote: Yes
Willing to relocate: Yes, but depends on location
Technologies: React, Vue, Svelte, JavaScript, TypeScript, Elixir, Next.js, Astro, Node.js, MySQL, DevOps. Mentorship, leadership, hiring.
Résumé/CV: https://domnantas.lt/resume
Email: hello@domnantas.lt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I am a senior web developer with 6 years of experience under my belt. For the past couple of years, I've been leading a team of engineers, helping them grow and improving our hiring process along the way. I'm not afraid to step outside my known technologies/roles, I'm able to learn and adapt quickly. I know when it's best to cut corners and when to take things slow. What matters to me most is delivering value to users rather than obsessing over the technology.
comment 4y ago · link · parent
We maintain a service which is making heavy use of Ramda. It seemed like the right tool for the job, because the service is mostly doing data transformation, and the code ends up "clean" and terse. However, we found that onboarding people who are not familiar with FP is time consuming and often people outright refused to learn it. We decided to ditch Ramda, rewrite the service in vanilla JS, prefering immutability where possible. We're about halfway done and it was definitely the right decision. Sure, `R.mapObjIndexed(doSomething, someObject)` is simpler compared to `Object.fromEntries(Object.entries(someObject).map(doSomething))` and now there's a ton of multi-level object spreads, but at least it's simple enough to understand for anyone familiar with JS.
We also came up with a `pipe` function that handles Promises. It makes chaining (async) functions very convenient:
const pipe = (...functions) => (input) => functions.reduce((chain, currentFunction) => chain.then(currentFunction), Promise.resolve(input));