Useful tips for everyday
What are the benefits of strategy pattern? Advantages of the Strategy Pattern It’s easy to switch between different algorithms (strategies) in runtime because you’re using…
Why wait notify are in object class? We wait on an object if we are waiting for some condition to change – some resource to…
How non-member functions improve encapsulation? Conventional wisdom notwithstanding, use of non-friend non-member functions improves a class’s encapsulation, and a preference for such functions over member…
What are the limitations of Expo? Limitations Not all iOS and Android APIs are available. The SDK doesn’t support all types of background code execution.…
Is log in a use case? At the requirement eliciting, logging in is not a use case, but at the system design level it might…
What are the benefits of using the BEM convention in HTML and CSS? Advantages of BEM Reusability: Composing independent blocks in different ways and reusing…
Is it 6 or 7 degrees of separation? Six degrees of separation is the idea that all people on average are six, or fewer, social…
What is session affinity in a load balancer? Session affinity is a feature available on load balancers that allows all subsequent traffic and requests from…
What is complexity in sorting? Time Complexity: Time Complexity is defined as the number of times a particular instruction set is executed rather than the…
Can a class extend another class? Extending a Class. A class can inherit another class and define additional members. We can now say that the…