Tag: computer science
All the articles with the tag "computer science".
Understanding Interface Segregation Principle
A client should never be forced to implement an interface that it doesn't use
Understanding Open-Close Principle
Software entities (classes, modules, functions, etc.) should be open for extension but closed for modification.
Understanding Dependency Inversion Principle
High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend on details. Details should depend on abstractions.
Understanding Liskov Substitution Principle
Objects of a superclass should be replaceable with objects of its subclasses without affecting the correctness of the program.
Threads vs Processes
Threads and Processes are two fundamental concepts in operating systems and computer science. They are used to execute multiple tasks concurrently. In this post, I will describe the difference between Threads and Processes.