Browsed by
Month: June 2022

I Never Had to Reverse a String in My Career! Why do these questions still come up in Interviews?

I Never Had to Reverse a String in My Career! Why do these questions still come up in Interviews?

Are such questions relevant? Many such questions that might not have any real use-case are often asked during the hiring process. And you might feel — “Why should I know that? I never had to do this in my career and probably will never do.” Let’s go back a bit in time. When you study Computer Science, you might have a feeling that many subjects are not worth learning. Why do they teach these subjects? Automata theory, Compiler design, and…

Read More Read More

Top Mistakes Developers Make While Redesigning

Top Mistakes Developers Make While Redesigning

Change is constant in Software Design as well! Most developers at least the naive ones directly jump to write code when they are presented with a problem. The love of writing code or the eagerness to solve the problem takes over. A good design is something a developer should worry about. Design is the solution that the developer codes. “First, solve the problem. Then, write the code” — John Johnson Redesigning the software is an integral part of developers’ work….

Read More Read More

Use Database Transaction Logs To Implement Observer Pattern

Use Database Transaction Logs To Implement Observer Pattern

Having an observer in the application is not good “To understand is to perceive patterns” — Isaiah Berlin Design patterns help you solve common problems and keep your code maintainable, and extensible. The observer pattern is one such pattern. A set of observers keep watching a change in an object. On any change in the object, the observers are notified of the change. This pattern is used when a change in an object should trigger changes in the observing objects. In the…

Read More Read More