---
title: "Marcin Wosinek (@marcin-wosinek) | Hashnode"
description: "JavaScript developer. Read the latest articles by Marcin Wosinek on Hashnode."
url: "https://hashnode.com/@marcin-wosinek"
---

@marcin-wosinek

# Marcin Wosinek

@marcin-wosinek · Valencia, Spain · Joined July 2021

JavaScript developer

[Website](https://how-to.dev/)

## Comments

[Thanks a lot!](https://hashnode.com/posts/what-are-the-benefits-of-unit-testing/643fa9838ccde0991373eb2d/comment/6440390f0927b503e77f3c9a#reply-644065146cd35b07ceb3d5a8)

Reply · Article · Apr 19, 2023 · [What are the benefits of unit testing?](https://hashnode.com/posts/what-are-the-benefits-of-unit-testing/643fa9838ccde0991373eb2d)

[Thanks for your response! It's excellent food for thoughts for me on how to argue in favor or unit test. You are right, "API e2e" can be a perfect tool in numerous instances. My work in 95% on the frontend, and I tend to forget about more backend focused approaches. A few years ago, I was heavily investigating testing JS tools for testing API—as a frontend dev you are doing QA for the backend anyway, so a bit of automatization can help here. I think a big difference between our projects is that in my case I have in mind: that at some point I can be outnumbered by junior devs, and I want them to: do a bit of their own supervision themselves, communicate back the change propositions extremely clearly, so I can review MR efficiently, I want the project to stay stable, healthy and on a good trajectory even a few years after I will leave it. For me, those are the reasons to spend extra time writing tests now. That being said, I'm not sure about the cost of doing TDD. My off hat evaluation is that over the span of a few hours, writing tests slows me at max 25%; buy over a few days benefits compound, and I'm more efficient with unit tests than without them. One E2E covers a lot, but it makes the error messages less helpful—it tells you some part a long chain of operations is off, and you have to investigate which one it is. I'm slowly getting to the conclusion that unit test value for solo developers is in unblocking TDD; and the design impact I've talked about in : https://how-to.dev/how-to-keep-your-units-testable-in-javascript](https://hashnode.com/posts/does-my-web-application-need-end-to-end-and-unit-tests/63f6372ee5b8216c2342273f/comment/63fbb7cfa13f5e02f6798a2d#reply-63fe1a4d14fb322d0b6d8d95)

Reply · Article · Feb 28, 2023 · [Does My Web Application Need End-to-End and Unit Tests?](https://hashnode.com/posts/does-my-web-application-need-end-to-end-and-unit-tests/63f6372ee5b8216c2342273f)

[Thank you for your comment! The cherry-picking instead of doing rebase is a great technic—I use it myself as well. I learned it as a workaround for complicated rebases, and somehow it feels more advanced to me. So far, I didn't have a chance to try teaching it to someone who doesn't know rebase—it would be interesting for me to see which one is easier to grasp. My guess is that rebases can get ugly in the situations you mention, while cherry-pick requires more understand of Git. why rewrite history anyways? My main objective with it is to keep rebasing as main is updated. Very rarely are perfectly curated commit histories worth the time for a developer Yeah, there are always trade-offs. My starting point: I expect all my colleagues to be fluent with Git enough, that curating commit history is just a moment for them; letting history be messy saves their time, while sometimes costing my time (to figure out what's happening etc.) I got us to iterate on such a small change-sets that there is rarely a need to put more than 2 or 3 meaningful commits to the branch. There are strong arguments for very different policies when it comes to force pushes. I think often it's mostly a matter of esthetic preference of the team—or of the most senior person on the team.](https://hashnode.com/posts/rebases-in-git-and-why-you-shouldnt-be-afraid-of-them/6390740bba07de6d60c6b26d/comment/639fe37a6c6eff8c668493cb#reply-63a07916aafcb79c00aa963c)

Reply · Article · Dec 19, 2022 · [Rebases in Git and why you shouldn’t be afraid of them](https://hashnode.com/posts/rebases-in-git-and-why-you-shouldnt-be-afraid-of-them/6390740bba07de6d60c6b26d)

[Hey! Yes, this sounds like a problem that could be very annoying. I think, I managed to avoid this kind of situation with: CI that will definitively fail if anything is as wrong as broken YML files, Rebasing feature branches all the time There is no way to run the same projects that failed unless I touch some files (with empty spaces or enter or whatever change). This is ugly for me. Triggering jobs manually should do the trick. It's annoying, as you have to trigger them in the right order, but you can get everything build finally One idea came up, what if I always build all projects on main but when deploy the docker images that hasn’t changed won’t be deployed Yes, I would always run everything on the main branch. It's already merged, if it takes very long it doesn't matter, and it verifies all the code—even the parts that are hardly every touched.](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6/comment/6397b64632e52b31f1387bac#reply-63984df69c2b1a31cc3994cc)

Reply · Article · Dec 13, 2022 · [How to set up monorepo build in GitLab CI](https://hashnode.com/posts/how-to-set-up-monorepo-build-in-gitlab-ci/60fd1d7318fbbb77c94672d6)

[Gracias! Siendo honesto, el artículo me tradujeron por mi – lo escribí en inglés, y para versione española y polaca tenia un traductor. Como has encontrado el artículo? El blog en traducción siempre fue medio muerto, pero últimamente veo trafico en justo este artículo. No sabía si son lectores de verdad o algunos bots o que.](https://hashnode.com/posts/como-empezar-a-hablar-un-nuevo-idioma/6305db2047cfea48d095bac7/comment/6393d90d96f258092198e28e#reply-639425f996f258092198e6df)

Reply · Article · Dec 10, 2022 · [Cómo empezar a hablar un nuevo idioma](https://hashnode.com/posts/como-empezar-a-hablar-un-nuevo-idioma/6305db2047cfea48d095bac7)

[Thanks a lot!](https://hashnode.com/posts/the-detached-head-state-in-git-what-it-is-and-how-to-fix-it/636b73ce36615c1cee47a10a/comment/6371f5e16c456c3cf2391c2c#reply-63720160a49f113eedbc33f3)

Reply · Article · Nov 14, 2022 · [The "detached HEAD" state in Git: What it is and how to fix it](https://hashnode.com/posts/the-detached-head-state-in-git-what-it-is-and-how-to-fix-it/636b73ce36615c1cee47a10a)

[Thank you! The most up to date info is here: https://how-to.dev/free-mentoring](https://hashnode.com/posts/mentoring-for-junior-javascript-developers/615b4d51ad6beb6f6506f69f/comment/635aee9d18a12e218dec1598#reply-635ce7f579c5fd3f72f3ef6d)

Reply · Article · Oct 29, 2022 · [Mentoring for junior JavaScript developers](https://hashnode.com/posts/mentoring-for-junior-javascript-developers/615b4d51ad6beb6f6506f69f)

[Thank you so much for sharing all this information!](https://hashnode.com/posts/how-to-set-up-jest-for-es-module/61210c18a5d08237f40e09d6/comment/63445f466d64be07a724af21#reply-63456ade07f4e412d7b028af)

Reply · Article · Oct 11, 2022 · [How to set up jest for es module](https://hashnode.com/posts/how-to-set-up-jest-for-es-module/61210c18a5d08237f40e09d6)

[If you go to a dentist or car mechanic, do you want one that is: the fastest, the cheapest, the best ? The key is to orient your career towards the positions that are essential for companies. When you maintain a system that essential for a company's business, the most important thing is to keep production running—the speed of new development is secondary. I'll need to explore at some point on the blog things as: product company vs agencies, and why developers are better off in product companies; cost centers vs profit centers, maintanence vs green field project.](https://hashnode.com/posts/how-to-become-a-faster-programmer/6333fbc540cbfcdc6792f6bb/comment/633440cbe594fa4ba3b8a7c4#reply-6335400de594fa4ba3b8b9a3)

Reply · Article · Sep 29, 2022 · [How to Become a Faster Programmer](https://hashnode.com/posts/how-to-become-a-faster-programmer/6333fbc540cbfcdc6792f6bb)

[And if you like modules, in Angular & AngularJS you have angular modules that can be done in JS modules; so you can have modules in your modules!](https://hashnode.com/posts/how-to-implement-a-basic-javascript-application/630f146e56df9e8e5025848a/comment/6319cf695abe8613b3d31365#reply-6319d0ab6b34d71380dade3b)

Reply · Article · Sep 8, 2022 · [How to Implement a Basic JavaScript Application](https://hashnode.com/posts/how-to-implement-a-basic-javascript-application/630f146e56df9e8e5025848a)
