Michal Zalecki (@michalzalecki) 's Twitter Profile
Michal Zalecki

@michalzalecki

Strong opinions about software, weakly held. Principal Software Engineer, Tech Lead at @rhobusiness. Blog michalzalecki.com

ID: 1235450442

linkhttp://michalzalecki.com calendar_today02-03-2013 17:14:57

576 Tweet

595 Takipçi

391 Takip Edilen

Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

To conclude my legacy code #javascript workshops, I’ve written down all key points in a single post. Check it out for hands-on exercises repo. michalzalecki.com/fighting-legac… Don’t forget to follow Michael Feathers and Dylan Beattie has gone to BlueSky!

Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

Do ever consider how user-provided data can be confused for the part of the UI? A short and interesting video that shows the issue: youtube.com/watch?v=WWJTsK…

Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

With #git log -p -S you can look for changes in commits by string or by regex with the -G option. It's great to search for changes from a given author or in the deleted code.

With #git log -p -S you can look for changes in commits by string or by regex with the -G option. It's great to search for changes from a given author or in the deleted code.
Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

With Jest, you can easily mock only part of the JavaScript module using requireActual. It comes in handy to remove randomness or side effects from your tests.

With Jest, you can easily mock only part of the JavaScript module using requireActual. It comes in handy to remove randomness or side effects from your tests.
Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

I'm working on the next version of the ebook on testing JavaScript. I reminded myself how an interesting discussion this was. Between DHH, Martin Fowler, and Kent Beck 🌻 (2014) youtube.com/watch?v=z9quxZ…

Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

Do you remember the difference between unknown and any in #typescript? 🥇 You can assign anything to unknown and any. 🥈 You can't assign unknow to anything except of unknow and any. 🥉 You can't access unknow properties (unlike any).

Do you remember the difference between unknown and any in #typescript?

🥇 You can assign anything to unknown and any.
🥈 You can't assign unknow to anything except of unknow and any.
🥉 You can't access unknow properties (unlike any).
Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

I don’t think I’ve shared it already. Despite 1k ⭐️ this is one of the most undervalued resources on unit testing github.com/testdouble/con… (by Test Double)

Michal Zalecki (@michalzalecki) 's Twitter Profile Photo

You can run Docker (any app, really) from the command line on macOS with open -a Docker Great for automation when you use tools like iTermocil