Marek Szkudelski
szkudelski.dev
Marek Szkudelski
@szkudelski.dev
Frontend Software Engineer @ Allegro 🍊

blog.szkudelski.dev 🇵🇱

#it #programming #softwareEngineering #frontend
Reposted by Marek Szkudelski
Last month I've rewritten some tests in one component. Here is result:

before:
290 tests in cypress (time 06:01)
177 tests in jest (time 23.762s)
= 6:25
after:
154 tests in cypress (time 03:47)
249 tests in jest (time 32.685 s)
= 4:20

#it #programming #softwareEngineering #software #javascript
November 26, 2024 at 12:42 PM
React v19 is finally out with some interesting new hooks.
December 5, 2024 at 7:54 PM
Reposted by Marek Szkudelski
Balancing Don't Repeat Yourself (DRY) and Single Responsibility Principle (SRP) can be tricky.

Should you merge similar code for DRY or keep it separate for SRP?

Discover insights from my Allegro experience in this blog post:

#it #programming #code #softwareEngineering
Do repeat yourself! What is responsibility in code?
Did you know that in October this year, DRY principle will celebrate its 25th anniversary? It was proposed by Andrew Hunt and David Thomas in The Pragmatic Programmer book in 1999. 25th birthday is qu...
blog.allegro.tech
November 25, 2024 at 6:39 PM
Reposted by Marek Szkudelski
Ho Ho Ho 🎅🛷🎄

Domain Driven Design for Frontend Devs - Advent Calendar

Starting 1st Dec,
Each day,
Around 10am CET

a portion of distilled knowledge on practicing #DDDesign

Let your frontend teammates know
Spread the word - thank you 😘

#DDD #aDDDvent
November 29, 2024 at 10:17 PM
A function that does something shouldn’t return anything. No true or false, no error codes. If something goes wrong – throw an exception.

#CleanCode #Programming #SoftwareEngineering #Code
November 29, 2024 at 12:31 PM
Reposted by Marek Szkudelski
Terminal aliases have been a cornerstone of my productivity for years, especially for tasks like Git or npm commands.

Let me share some insights and tips! 🧵

For example, instead of typing:
git commit -m, I use gc.
git checkout -b becomes gcb.

(link for config instruction below)
#programming #it
November 27, 2024 at 8:01 AM
Reposted by Marek Szkudelski
The flavor of code syntax you personally prefer to use doesn't matter. What matters is having a single, consistent approach across all devs working on a project.
November 27, 2024 at 8:55 PM
Terminal aliases have been a cornerstone of my productivity for years, especially for tasks like Git or npm commands.

Let me share some insights and tips! 🧵

For example, instead of typing:
git commit -m, I use gc.
git checkout -b becomes gcb.

(link for config instruction below)
#programming #it
November 27, 2024 at 8:01 AM
Last month I've rewritten some tests in one component. Here is result:

before:
290 tests in cypress (time 06:01)
177 tests in jest (time 23.762s)
= 6:25
after:
154 tests in cypress (time 03:47)
249 tests in jest (time 32.685 s)
= 4:20

#it #programming #softwareEngineering #software #javascript
November 26, 2024 at 12:42 PM
Balancing Don't Repeat Yourself (DRY) and Single Responsibility Principle (SRP) can be tricky.

Should you merge similar code for DRY or keep it separate for SRP?

Discover insights from my Allegro experience in this blog post:

#it #programming #code #softwareEngineering
Do repeat yourself! What is responsibility in code?
Did you know that in October this year, DRY principle will celebrate its 25th anniversary? It was proposed by Andrew Hunt and David Thomas in The Pragmatic Programmer book in 1999. 25th birthday is qu...
blog.allegro.tech
November 25, 2024 at 6:39 PM