Isn’t it annoying when the window is stuck halfway outside the screen and you can’t move it back? There’s a simple solution to that in Windows 10. Probably works on many older versions too. Shift + Right click on the icon in the task bar. Select “Move”. Then use the arrow keys on the keyboard to move the window.
This article is about how you verify only the behaviour of the function you are writing and not include all the other code that the function calls. To isolate the behaviour from the rest of the application, focusing on doing that right. Keeping it simple, clear and understandable. But how do you avoid executing the code that is called from your function? To explain that I have to show you another thing first:Dependency Injection. Have you ever heard of SOLID code? Principles that helps you write good code. It is an acronym that stands for: Single responsibility principle Open-closed principle Liskov substitution principle Interface segregation principle Dependency inversion principle I…