Zeeshan Ali
22 posts

Zeeshan Ali
@zesnai
https://t.co/M3dndKtAkp https://t.co/egyRydxpZ1
Lahore, Pakistan Katılım Ekim 2022
90 Takip Edilen9 Takipçiler

@catalinmpit Let's build together, connect with me and hit a dm https/linkedIn.com/in/zeeshan-ali-gcu
English
Zeeshan Ali retweetledi

This is a design decision that drives me nuts every time I have to make it:
I have a class with several methods, including a few private methods. I want to write unit tests for some of those methods.
Testing those private methods through the class's public interface is cumbersome because the code is unclear and significantly slower than testing them directly.
So now I have a decision to make:
1. Make those private methods public so I can test them directly. This makes testing easy, but it messes up the public interface of the class.
2. Take those private methods out of the class completely and put them in a separate module. This keeps the public interface of the class intact, but now we have a few external functions that will only be used by the class.
3. Test the class only through its public interface. This also keeps the public interface of the class nice and tidy, but tests are indirect and slow.
Is there a right answer here?
English
Zeeshan Ali retweetledi

It is the concept of creating software that feels good about , it is connected with intuition, great deliberation and the understanding of the user. The best software is not written, it is felt.
#SoftwareDevelopment #UXDesign #BuildWithCare #ProductDesign #TechCraftsmanship
English

I've explored and tried multiple automation tools. Each has there on merits. Here are what I like the most.
1. N8n
2. Prefect - python based
3. Zapier
#automation #n8n
English

🚀 Exploring gRPC?
It's a high-performance, open-source RPC framework that uses HTTP/2, protobufs, and supports bi-directional streaming. Perfect for microservices that need speed, structure, and scalability!
⚡️ #gRPC #Microservices #DevTools #API
English

Just implemented Factory Pattern🎉
Design patterns are the backbone of scalable, maintainable software. Instead of hard-coding object instantiations, a "factory" handles the object creation.
(thanks, SOLID principles!).
#NestJS #factorypattern #factorydesignpattern #fyp #backend

English

Honest and great leader Imran Khan ❤️
#DGISPR
Generals
#کپتان_ہم_آرہے_ہیں
Salman Iqbal
Dirty Harry
Well Done Khan Sahab 💪

English











